Regarding the Puppet output, I found a post about iptables and Puppet that might be helpful.
As to testing the blocks, when I tried to test the following code snippet,
the response I received was only links to the ARIN terms of service:perl -MData::Dumper -MNet::Whois::IP -le '$Data::Dumper::Deepcopy = 1; $Data::Dumper::Sortkeys = 1; my ( $response, $array_of_responses ) = whoisip_query( q{4.2.2.1}, 1, undef ); print Data::Dumper->Dump( [ \$response, \$array_of_responses, ], [ qw( *response *array_of_responses ) ] );'
$response = \{ '# available at' => [ 'https://www.arin.net/whois_tou.html', 'https://www.arin.net/whois_tou.html' ] }; $array_of_responses = \undef;
Hope that helps, though.
In reply to Re: Ideas solicited: Using Perl to sort through Toxic CIDR blocks
by atcroft
in thread Ideas solicited: Using Perl to sort through Toxic CIDR blocks
by blue_cowdawg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |