in reply to Ideas solicited: Using Perl to sort through Toxic CIDR blocks
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ideas solicited: Using Perl to sort through Toxic CIDR blocks
by Anonymous Monk on May 31, 2014 at 03:22 UTC | |
by atcroft (Abbot) on Jun 02, 2014 at 17:10 UTC |