My favorites | Sign in
Project Logo
                
Show all Featured wiki pages:
FAQ

PrefixAnalyzer is a tool for analyzing the AS-path graphs regarding an IP prefix.

Basic instructions on how to get the system running:

Creating the prefix graphs is a three step process, using files which should be located in the top directory of the project:

  1. Run PerPrefixLogger.py. This reads the archives from RouteViews and databases all the archives. You will need to install MySQL and get the Python MySQLDb library. You will also need to set the config directories in Util.py before you run this file. (Note: start small when you play with this. An entire years worth of BGP updates for the routeviews monitor takes up almost 400GB in MySQL. If you want to be able to generate statistics on a per prefix basis, you need to figure out a way to store information about each prefix individually (~500,000 distinct prefixes) and be able to access them quickly.)
  2. Run StateGenerator.py. This program reads from the stored data and generates statistics/info about each prefix. This also uses MySQL, but this database takes up very little space comparitively.
  3. Run SvgGenerator.py. This reads the data from the database created by StateGenerator.py and creates an SVG file for every prefix.

All 3 of the programs have controls so you can do them for a small subset of prefixes, date ranges, etc.

Every file in the root src/ folder is executable. Here's what the other ones do:

This project and page is currently under construction.









Hosted by Google Code