NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Use smarter masks.... (Score:1)
I know you said you have hundreds of thousands, but the sample spamreport.txt only has a little over 20K. Even still, doing just a cursory glance you would be a lot better off not blocking individual IPs.
I think if you used better masks, perhaps by checking http://www.arin.net/ [arin.net] to see who owns the block and how big it is, you would be able to reduce the total number of rules quite dramatically.
Reply to This