Home page logo

nanog logo nanog mailing list archives

Re: scripts to map IP to AS?
From: "Stephen Gill" <gillsr () yahoo com>
Date: Fri, 21 Feb 2003 01:47:16 -0600

Hi Johannes,

] > Anybody have a pointer to scripts to map IP to AS? 

] Grab a routing table snapshot from the routeviews archive and run it 
] through parse_bgp_dump from CAIDA's CoralReef package. Then use 
] CAIDA::ASFinder or Net::Patricia to do the lookups.

In fact I have 2 scripts to do just this.  

- Script #1 uses a route-server for a smallish list of IPs.
- Script #2 uses the method listed above and pipes IPs into the CAIDA
lookup tree of a BGP table offline.  Once you've installed CoralReef
it's really not much more work to get the customization you need for

Contact me off-list if you're interested in either one.

-- steve

  By Date           By Thread  

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