"be consistent" | |
PerlMonks |
Ideas solicited: Using Perl to sort through Toxic CIDR blocksby blue_cowdawg (Monsignor) |
on May 29, 2014 at 15:56 UTC ( [id://1087834]=perlquestion: print w/replies, xml ) | Need Help?? |
blue_cowdawg has asked for the wisdom of the Perl Monks concerning the following question: OK: so here's the problem I'm trying to solve. I've get some listings that I downloaded from Stop Forum Spam website of CIDR blocks known to originate SPAM. I want to take that listing and create a Puppet pattern that adds those CIDR blocks to a IPTables ruleset to block them. So far I've looked at Net::Whois::IP and friends and a clean method to do that and get the domain name back to avoid accidentally adding GMail, Yahoo and others to that ruleset (that would suck) just hasn't jumped out at me. I'm sure I'm not the first to think of this, anybody got any ideas? Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Back to
Seekers of Perl Wisdom
|
|