Home page logo

nanog logo nanog mailing list archives

Re: scripts to map IP to AS?
From: "David G. Andersen" <dga () lcs mit edu>
Date: Thu, 20 Feb 2003 12:11:44 -0500

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...


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:


Compile with

   gcc -DSTANDALONE=1 lookup_as.c -o lookup_as -lm

And then run.  It gets the job done, but it's ugly. :)


George Bakos
Institute for Security Technology Studies
Dartmouth College
gbakos () 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 () lcs mit edu                          me:  dga () pobox com
      MIT Laboratory for Computer Science           http://www.angio.net/
      I do not accept unsolicited commercial email.  Do not spam me.

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]