-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathREADME
More file actions
21 lines (13 loc) · 696 Bytes
/
README
File metadata and controls
21 lines (13 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This program parses a dump of BGP routes in the zebra/MRT format.
If you do not want to collect your own BGP dumps then a popular source
for them is the RIPE RIS service, e.g.:
http://data.ris.ripe.net/rrc00/2003.04/bview.20030408.0000.gz
A good list of descriptions of ASNs is available at
http://www.potaroo.net/bgp/iana/asn-ctl.txt .
To test aslookup.pl you can set $format = 1 and then run:
zcat bview.20030321.1600.gz | time ./zebra-dump-parser.pl >DUMP 2>DUMPERR
sort < DUMP | uniq | time ./aggregate-by-asn.pl > routes.tmp
mv routes.tmp routes
If you do something interesting with this software then feel free to
send me an email with some information.
Marco d'Itri <md@linux.it>