[55984] 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 (Jake Khuon)
Thu Feb 20 15:15:11 2003

From: "Jake Khuon" <khuon@NEEBU.Net>
To: nanog@merit.edu
In-reply-to: "Martin J. Levy"'s message of Thu, 20 Feb 2003 09:11:02 -0800.
	     <5.1.0.14.2.20030220090259.05c006e8@127.0.0.1> 
Reply-To: khuon@NEEBU.Net (Jake Khuon)
Date: Thu, 20 Feb 2003 12:14:28 -0800
Errors-To: owner-nanog-outgoing@merit.edu


### On Thu, 20 Feb 2003 09:11:02 -0800, "Martin J. Levy" <mahtin@mahtin.com>
### casually decided to expound upon "David G. Andersen" <dga@lcs.mit.edu>,
### William Allen Simpson <wsimpson@greendragon.com> the following thoughts
### about "Re: scripts to map IP to AS?":

MJV> Dave (and anyone that downloads lookup_as.c),
MJV> 
MJV> Grab a newer version of traceroute.c -- There is a CLASSFULL piece of code
MJV> within the 2.9.3 code-base used in lookup_as.c.  The newer traceroute.c
MJV> code removes the 192/8 & 128/8 testing.  This is a cut-n-paste from the
MJV> newer traceroute-nanog-6.3.0/traceroute.c.  It can be cut-n-pasted into
MJV> your code...

Just a reminder to everyone who intends to query the IRR/RADB...  Please be
nice to the RADB whois server and don't DoS it.  Open a persistant
connection instead of one for each prefix lookup.  For RADB and any other
IRR server running IRRd, this can be accomplished by sending a "!!" in the
beginning and keeping the connection open on your end in a seperate thread
or something that you then issue the query to.  For RIPE Whois based IRR
servers, use the "-k" flag.


--
/*===================[ Jake Khuon <khuon@NEEBU.Net> ]======================+
 | Packet Plumber, Network Engineers     /| / [~ [~ |) | | --------------- |
 | for Effective Bandwidth Utilisation  / |/  [_ [_ |) |_| N E T W O R K S |
 +=========================================================================*/

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