comment spam: punish the victim?
Lately, I spend more time fighting comment spammers than doing productive work, specifically comment spammers that target movable type, which tends to bog down the server when attacked.
I have a lot of ideas about spam detection, some of it implemented in code. I hope to announce some open source software in the very near future.
My basic approach so far has been to:
- periodically kill all instances of mt-comments and mt-tb.cgi for the attacked site when the attack is in progress
- attempt to determine the ip address(es) of the attack, and block those addresses either at the firewall or apache level. [This isn't always as easy as it sounds, for various reasons, and is still a manual process]
And sometimes:
- temporarily turn off the victim *.cgi file (by running "chmod o-x" on it) until the spammers are blocked
With that last approach, I've always been careful to turn it back on later... But that just means that the next attack, from somewhere else will do the same thing.
Tonight for the first time, I turned off a script and left it off. I emailed the site owner, and of course I suspect it might make the site owner mad. But on the other hand, it helps keep everyone else on the server happy, and could motivate the site owner to take an interest in solving the problem.
I need feedback on this. I'm uneasy just declaring martial law. :)
What do you think? Is it good to shut down a part of one site to protect the community? What if it's YOUR site next?