I have a list of 11000 IPs (from a wormtrap) that have attempted to send me
worms in the past couple days. Only 2000 of these IPs are unique; I
therefore think it might be worth blocking those IP addresses until this
flood ends.
By the way I'd be happy to share this list if anybody wants it. WARNING:
some major ISPs' mail relays are likely listed.
I know with iptables I can do:
iptables -A INPUT -p tcp -s 123.123.123.123 --dport smtp -j DROP
for each IP address, but before I went ahead and did this for each of those
2000 IPs I wanted to check to see if there was a 'better way' to do this?
--
Jem Berkes
http://www.sysdesign.ca/