You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
jahway603 339641ed44 added new files from upstream nextgen branch 1 year ago
..
README.md Add scripts to download and process BGP dumps 4 years ago
download_dumps.py Add scripts to download and process BGP dumps 4 years ago
prepare.sh added new files from upstream nextgen branch 1 year ago
quagga_aggregate.py fixes (there are still minor issues leading to missing paths) 4 years ago
quagga_parse.sh added new files from upstream nextgen branch 1 year ago
setup.sh added new files from upstream nextgen branch 1 year ago

README.md

This set of scripts allows to download, parse and aggregate BGP announcement dumps from open repositories to be used in asmap construction.

Pre-reqs

./setup.sh

Use

  1. ./prepare.sh deletes old data.
  2. ./download_dumps.py downloads RIPE dumps for a selected date (configured in the file) to the dumps folder.
  3. ./quagga_parse.sh reads dumps from the dumps folder and writes the human readable interpretation to the paths folder.
  4. ./quagga_aggregate.py goes through the interpreted dumps in paths folder, aggregates paths and assigns every IP prefix to the first element of the common suffix of the asn path.

Resulting prefix_asns.out can be fed to ../buildmap.py.

Rationale

Consider the following scenario: 1.2.3.4: A -> B -> C -> X 1.2.3.4: A -> F -> C -> X

In this case, {C, X} is the common suffix, and we will map 1.2.3.4 to C, because C represents the single infrastructure required to reach that IP address.

Note that diversifying by C would implicitly diversify by X too.