Block China and other South Asian countries at the firewall level.
Because nearly all forum and blog spam originates from China and the big Chinese ISPs do precious little to combat it.
iptables and, if you want to build the rules files yourself, perl.
As root run one or more of the scripts in the scripts/
directory. Example:
sh scripts/block-china.sh
The scripts do not flush the filter table. If you somehow mess up, run
iptables -F
and try again.
Paste one or more of the file in the rules/
directory into your iptables.rules
file and apply it with iptables-restore
. Easy, right?
The rulesets are based on this blacklist.