Slashdot Mirror


Stopping SpamBots With Apache Part II

primetyme writes: "To address some of the concerns brought up in the first article about stopping email harvesting spambots with Apache, I've written a follow-up article that details even more methods to keep email-sucking bots off your Apache based site.
Stopping Spambots II - The Admin Strikes Back continues the epic saga that pits Spambot vs. Administrator."

2 of 15 comments (clear)

  1. Re:Restarting the server? by primetyme · · Score: 3, Insightful

    Valid point epsalon.. but to clarify, Apache only gets restarted for every *new* IP address detected.. As for the spoofing, it would take a lot of IP's to DOS the server, and anyone willing to go through that much trouble just to take down a webserver probably has better ways to do it. Point taken though :)

  2. Re:Restarting the server? by beebware · · Score: 2, Insightful

    Why not just us a .htaccess file in your top-level htdocs directory?
    Order by deny,allow
    deny from spammers.ip.address.here, another.spammers.ip.address
    allow from all

    will _probably_ do it (ie this is an untested example!)