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____