Wiki SpamHi... I'd recommend iptable or route blocking these two CIDR ranges:
61.55.0.0/16 # 61.55.0.0-61.55.255.255 (CNCGROUP Hebei province network) CN 61.232.0.0/14 # 61.232.0.0-61.237.255.255 (CHINA RAILWAY TELECOMMUNICATIONS CENTER) CN 61.236.0.0/15 # 61.232.0.0-61.237.255.255 (CHINA RAILWAY TELECOMMUNICATIONS CENTER) CN
If you get any more page trashing trouble:
61.55.0.0/16 61.232.0.0/14 61.236.0.0/15
You can do the iptable block with:
iptables -A INPUT -s "$NET" -j DROP
where NET is the CIDR range...
or route with:
/sbin/route add -net $NET reject
if you're not using iptables... this is presuming route on FreeBSD uses the same syntax as on Linux.
(Hope I'm not teaching grandmother to suck eggs here!)
Spammers have been giving my 3 wikis trouble in the past few weeks...
I wish that the ISPs of the sites being advertised would close them down!!!
If you would like more ideas like tools to recover good versions of trashed pages which I have written in perl please come and see me:
I can also give you my logs of which IPs have trashed pages in my wikis so you can block them too if you want :o)
Hmmm. I did "man iptables" and got a "no entries found". I don't think my server has that functionality. And no, you're not teaching grandmother to suck eggs. More like teaching grandmother to use a computer. I'm not an expert at unix/perl. Any other suggestions? - Carson
Thanks to BillKelly for tips on blacklisting IP addresses. I implemented the change. Hope it works! - Carson
Added a WHOLE BUNCH of IP addresses to the blocker. - CW 2-20-05