Spammers can get lost

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

173.234.0.0/16
173.208.0.0/16
69.116.0.0/16

Fortunately, I know how to use IPtables :)

# iptables -A INPUT -s 173.234.0.0/16 -p tcp -m tcp -j DROP
# iptables -A INPUT -s 173.208.0.0/16 -p tcp -m tcp -j DROP
# iptables -A INPUT -s 69.116.0.0/16 -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 109.169.56.34 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.