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."
Stopping Spambots II - The Admin Strikes Back continues the epic saga that pits Spambot vs. Administrator."
The article suggests restarting Apache for every spam address detected. That could make DOSing your web server real easy. Spoof a bunch of IPs and request the honeypot dir. Watch as the webserver restarts over and over.
Also, this approach would easily block legitimate dialup users, and more problemaically - proxies. If the spambot is behind a proxy, you would block the entire user base of that proxy.
Maybe an X-Forwarded-For based approach? However, that is easily bypassed.
Make even shorter URLs - 8LN.org
here's one of the best tactics i've found: http://www.phpconsulting.com/php/hide-email.php
I use this little rxml widget on all of the email addresses on my web site.
If the client is detected as a robot, or the detection fails, the address is displayed as a randomly named graphic.
If the client is not detected to be a robot, then just a light entity encoding (which I change from time to time) is applied to the address, which is displayed as a mailto link.
On my web page I convert email addresses to .gif *images* of email addresses. A real person will be able to see the address, but will have to type it in.
I wrote an apache module in perl to do a very similar thing. No restarting your webserver.
Couldn't you just set a cookie, with a site-wide password in it? Then just require the cookie/password protect every page. Or do spam crawlers know what to do with cookies these days?
The Right Reverend K. Reid Wightman,