[55981] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: scripts to map IP to AS?

daemon@ATHENA.MIT.EDU (David G. Andersen)
Thu Feb 20 12:16:08 2003

Date: Thu, 20 Feb 2003 12:11:44 -0500
From: "David G. Andersen" <dga@lcs.mit.edu>
To: George Bakos <gbakos@ists.dartmouth.edu>
Cc: "David G. Andersen" <dga@lcs.mit.edu>, nanog <nanog@merit.edu>
Mail-Followup-To: "David G. Andersen" <dga@lcs.mit.edu>,
	George Bakos <gbakos@ists.dartmouth.edu>, nanog <nanog@merit.edu>
In-Reply-To: <20030220120451.0a4df421.gbakos@ists.dartmouth.edu>
Errors-To: owner-nanog-outgoing@merit.edu


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

home help back first fref pref prev next nref lref last post