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?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |