# TrackbackSpammer raus! (die mit den WordPress User-Agents) # 62.213.0.0 - 62.213.5.255 SAMTEL Network of the Samara Telegraph RU subnet[0]="62.213.0.0/21" # 212.158.0.0 - 212.158.127.255 EU-EN-990217 Cable & Wireless Telecommunication Services GmbH EU subnet[1]="212.158.0.0/17" # 217.23.0.0 - 217.23.15.255 PT-COFINA-20001004 IDCentre, S.A. PT subnet[2]="217.23.0.0/20" for spammer in ${subnet[@]} do $IPTABLES -A INPUT -s $spammer -j LOG --log-prefix "** TRACKBACKER **" $IPTABLES -A INPUT -s $spammer -j DROP done
ranges from ipindex
related: Google:trackback spam, iptables, Spam, Apache, Mediawiki
Sorry for any false positives this might cause.