Thursday, December 28 2006

Comment spam? Here?

It’s been a while since someone was stupid enough to go to the trouble of coming up with a script for spamming my comments. Stupid not just because I’m small-fry who can’t significantly affect his client’s page-rank, but also because my comment pages are not indexed by any search engine.

So, a quick delete from comments where author is like “%phenter%” or author is like “%roulet%” combined with a quick pfctl -t badlife -T add 58.142.103.165 68.184.254.247 68.184.254.247 213.115.205.82 202.78.170.3 209.212.20.250, and the problem goes away again.

If I get another attack in the next week, I’ll change the comment URL and add the current one to the insta-ban trap in robots.txt. That’s the most I’ve ever had to do to maintain several months of trouble-free open commenting.

[Update: sigh, add “%viag%” and “%ltram%” to the expression list, and 62.3.244.166 to the banned IP list. Time for a new disguise, I suppose; I’d hate to go off to Vegas and let some moron think he’s accomplished something clever.]