scripts to map IP to AS?

David G. Andersen dga at lcs.mit.edu
Thu Feb 20 17:11:44 UTC 2003


I should have been a bit more specific.  The hacked up traceroute-ng
queries the radb, not a whoisd.  I've never had problems
being blocked when doing radb queries, but YMMV, of course.  I also
suggest that people be nice and rate-limit their queries so that
others don't have to do it for them...

  -Dave

On Thu, Feb 20, 2003 at 12:04:51PM -0500, George Bakos quacked:
> Careful. Many whoisds don't appreciate automated queries & will block YOUR
> ip address for sometime if you cross their max query rate threshold.
> 
> >   You can use a quick perl wrapper around whois, or you
> > could use this terribly ugly hacked up traceroute-ng that I
> > wrote to do lookups:
> > 
> >   http://nms.lcs.mit.edu/software/ron/lookup_as.c
> > 
> > Compile with
> > 
> >    gcc -DSTANDALONE=1 lookup_as.c -o lookup_as -lm
> > 
> > And then run.  It gets the job done, but it's ugly. :)
> > 
> >   -Dave
> 
> 
> -- 
> George Bakos
> Institute for Security Technology Studies
> Dartmouth College
> gbakos at ists.dartmouth.edu
> voice 	603-646-0665
> fax	603-646-0666
> Key fingerprint = D646 8F91 F795 27EC FF8B  8C95 B102 9EB2 081E CB85

-- 
work: dga at lcs.mit.edu                          me:  dga at pobox.com
      MIT Laboratory for Computer Science           http://www.angio.net/
      I do not accept unsolicited commercial email.  Do not spam me.



More information about the NANOG mailing list