Skip to content

Automated Blocking of Comment Spammers

I wrote a quick shell script to collect the IP addresses of the comment spammers. And then I’m adding them to a DENY blocklist in apache. Should I use iptables via killroute? Time to do some learning.

The rate of oncoming spam attempts has slowed a bit, 233 attempts blocked by the renamed comment script; 123 blocked via the blocklist. So it’s helping.

(Comments re-enabled after tweaking my theme)