Help - Search - Members - Calendar
Full Version: How do I get rid of a bot?
The Planet Forums > System Administration > Web Hosting
jweiss
First off, all the sites on my server belong either to one of my clients or to me. I don't currently host any sites that I don't maintain as well. One of my clients, who usually uses less than 10 MB a month in bandwidth, used over 1 GB yesterday. I checked the server and it appears, as best as I can tell, that a bot hit the site looking for forms to submit and got trapped in the calendar on this client's site. And now for over 24 hours, has been continually following the 'next month' links in search of a form. On one hand I think it's funny and I'm curious what millennium it has made it to by now. On the other hand I'd like to make it leave, as it is wasting quite of bit of bandwidth.

Now, short of just suspending the account for a little while and then turning it back on, what can I do?

Thanks,
Jeremy
Tomy Durden
QUOTE (jweiss @ Oct 24 2008, 08:56 AM) *
First off, all the sites on my server belong either to one of my clients or to me. I don't currently host any sites that I don't maintain as well. One of my clients, who usually uses less than 10 MB a month in bandwidth, used over 1 GB yesterday. I checked the server and it appears, as best as I can tell, that a bot hit the site looking for forms to submit and got trapped in the calendar on this client's site. And now for over 24 hours, has been continually following the 'next month' links in search of a form. On one hand I think it's funny and I'm curious what millennium it has made it to by now. On the other hand I'd like to make it leave, as it is wasting quite of bit of bandwidth.

Now, short of just suspending the account for a little while and then turning it back on, what can I do?

Thanks,
Jeremy

Wow, that's pretty funny...

If it's a malicious bot, then you'll want to block the IP with a firewall and send the logs to the authoritative organization over the IP it's coming from.

If it's a good bot(google, yahoo, etc), I'd block it temporarily so it'll move on and then remove the block after a little while. You'll then want to add an .htaccess to keep it from hitting the calendar.
thedude
Haha...thats pretty funny.

A bot stuck in running through the endless boundaries of time.
Catalyst
If it's a crawler bot, then add the URI ('/forum/calendar.php' as an example) to the robots.txt file in the site root, then block the IP address it's coming from 24 hours in your firewall.

If it's malicious --- just block the IP. No big deal.
Gorrdy
That would be hilarious to find out what point in time it has gotten to in the calendar. unsure.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.