nanog mailing list archives
Re: Smurf Amp Nets
From: Jon Lewis <jlewis () inorganic5 fdt net>
Date: Wed, 17 Jun 1998 19:50:56 -0400 (EDT)
On Thu, 18 Jun 1998, Oystein Homelien wrote:
You need to push the "probe=" parameter to the cgi as well. What you are doing above is merely looking up already-registered networks in the SAR database. Again, you are NOT probing the networks through the SAR by running the above lynx command! To do what you want, you must use URLs of this form: http://www.powertech.no/smurf/probe.cgi?network=1.2.3.4&probe=PROBE
ack! I somehow missed that when pasting the URL from Netscape into my editor. Here's an updated version. Chris Bongaarts <cab () tc umn edu> sent the 172.16/12 regex I was too lazy to include before. #!/usr/bin/perl while (<STDIN>) { ($net,$junk)=split /:/,$_,2; if (($net=~/\d+\.\d+.\d+/) && !($net=~/^(0\.)|(10\.)|(192\.168)|(172\.((1[6-9])|(2[0-9])|(3[01]))\.)|(255\.255\.255)/)){ system("lynx -dump 'http://www.powertech.no/smurf/probe.cgi?network=$net&probe=PROBE'"); } elsif ($net=~/---/) { die "\ndone.\n"; } } I'm using this to make sure all the nets I recently posted about are registered. Based on the times reported by SAR, I think I'll be adding a bunch of new nets to it. ------------------------------------------------------------------ Jon Lewis <jlewis () fdt net> | Spammers will be winnuked or Network Administrator | drawn and quartered...whichever Florida Digital Turnpike | is more convenient. ______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____
Current thread:
- Re: smurf amp nets, (continued)
- Re: smurf amp nets ken emery (Jun 13)
- Re: smurf amp nets Craig A. Huegen (Jun 13)
- Re: smurf amp nets Craig A. Huegen (Jun 13)
- Re: smurf amp nets Michael Shields (Jun 13)
- Re: smurf amp nets Oystein Homelien (Jun 14)
- Message not available
- Re: smurf amp nets Eric McClelland (Jun 13)
- Re: Smurf Amp Nets Jon Lewis (Jun 17)
- Re: Smurf Amp Nets Oystein Homelien (Jun 18)
- Re: Smurf Amp Nets Jon Lewis (Jun 17)
- Re: Smurf Amp Nets Jon Lewis (Jun 17)
- Re: Smurf Amp Nets Karl Denninger (Jun 19)
- Re: Smurf Amp Nets Craig A. Huegen (Jun 19)