Spammers can get lost

A lot of comment spam has been coming from IP addresses in the following netblocks:

Fortunately, I know how to use IPtables :)

# iptables -A INPUT -s -p tcp -m tcp -j DROP
# iptables -A INPUT -s -p tcp -m tcp -j DROP
# iptables -A INPUT -s -p tcp -m tcp -j DROP

Blocking a /16 is a bit of a Nuclear Option, but I’m sick of it. No doubt this is going to block a few legitimate users too ….. my recommendation is to switch ISPs, because you are doing yourself no favours associating with an ISP who are friendly to spammers.

(If I get any comment spam in response to this post, I will approve it — after blocking their IP addresses — but with links disabled.)

3 Responses to “Spammers can get lost”

  1. icy tower says:

    Thanks for this it came in useful recently

  2. AJS says:

    You can add to the list now.

  3. Kayleigh Lukowski says:

    This is really interesting. Thanks for posting it. By the looks of the comments, many others think so too.