Skip to content

aweher/bgp-reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bgp-reports (we're not naming or branding experts)

Script used to extract information from BGP dumps.

It compares the resources allocated in any RIR to a specific country defined in the main configuration with the global routing table advertisements and local (IXP advertisements).

Then you will get:

  • Total ASN's on the IXP.
  • Qty. of ASN's on the IXP by Country.
  • Qty. of ASN's on the Global Table by Country.
  • List of links between ASN's and Upstreams.
  • List of ASN's not connected to the local Internet eXchange Point and their Whois Contact Data.
  • List of Upstreams which are not advertising all the clients ASN's to the IXP.
  • A set of fancy graphics of the country connection map with the connection info generated by the DS3 javascript library.

This is currently BETA software. Do not use it without asking for some help.

This is what do you need to get these scripts working:

  1. A copy of the BGP global table and (at least) one BGP table from an IXP, in either of these formats:

  2. A working Internet connection, because the scripts will query the RIR's RDAP servers to obtain WHOIS data.

  3. Adjust the main.py parameters contained in the CONFIG variable.

  • At this time there are some example BGP tables contained in the 'feeds' folder. You may add others if you wish to analyze another country. Look for the 'bgp-ixp-$COUNTRY-ISO-CODE$' config to define the path to the IXP BGP table file.
  1. We are working on this file too...

About

Scripts for making reports from BGP routing tables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published