NEW! new scripts are in newscripts
.
puller.pl
:wget
BGP data fromcollectors.txt
.extractor.pl
: extract AS-AS links, prefix origins and monitors.
NOTE: collectors.txt
is stale and to be updated.
=========
Extract AS topology from 4 BGP data collection projects
-
Configuration
- all scripts read
${TOPOLITEPATH}/topolite.conf.sh
, so ${TOPOLITEPATH} should be exported. topolite.conf.sh
: declare paths to scripts, BGP raw data, topology data, log ...- the following commands need to be found in $PATH:
bgpdump
,gzip
,bzip2
,cat
,find
,perl
,grep
,sed
,date
,gnuplot
- all scripts read
-
topo-lite runs via crontab:
0 1 * * * /lab/topology/topolite/scripts/daily.sh
0 23 * * 5 /lab/topology/topolite/scripts/monthly.sh
-
Scripts:
bgpdump
: A modified version of bgpdump.extractor.pl
: extract AS-AS links from a BGP raw data file (withbgpdump
for MRT format data)getlink.sh
: extract links from a directory of raw data withextractor.pl
runtopojob.sh
: rungetlink.sh
to process NEWLY downloaded raw datadailyextract.sh
: rungetlink.sh
to process raw data on given daysdailyunion.sh
: aggregate links from individual collectors into a daily union filemonthlyunion.sh
: aggregate links from individual daily files into a monthly union fileuniq.pl
: auniq
tool by utilizing perl's hashuniqs.pl
: auniq
tool seperating IPv4 and IPv6 topology datauniqc.pl
: auniq -c
toolplot.sh
: generate the evolution graph of Internet topologymonthly.gnuplot
: gnuplot script for drawing the evolution graphdaily.sh
: daily routinemonthly.sh
: monthly routine
-
Repositories of BGP data collection projects: