Giter Site home page Giter Site logo

bgpuma's Introduction

ABOUT

bgpuma is a program for searching BGP update files created by MRT or 
Zebra/Quagga for CIDR blocks and/or Autonomous Systems.  Given a list of CIDR 
blocks, it looks for those CIDR blocks which match the list, are contained 
in the list, or are contained by the list.  For Autonomous Systems, it looks 
for routes that are announced by the given system.  

It is based on the library created by RIPE called bgpdump and SiLK, created 
by CERT.  

BUILDING

bgpuma has an external dependency on the bgpdump library.  It can be found
at https://bitbucket.org/ripencc/bgpdump/wiki/Home

It also depends on the SiLK library.  SiLK can be found at 
http://tools.netsa.cert.org/silk/index.html 

Build using:
./configure
make
make install

RUNNING

Flags:

--verbose           Prints extra output
--cidrfile=FILE     File containing the CIDR blocks to look for
--asnfile=FILE      File containing the Autonomous System Numbers to look for
--or                By default, if both --cidrfile and --asnfile are given, 
		    bgpuma looks for matches that satisfy both lists.  This 
	            flag turns that match into an or.
--update=FILE       The BGP Update file that is searched
--startdate=YYYYMMDD
--enddate=YYYYMMDD  The startdate and enddate flags go together.  This gives 
		    a date range to search the BGP Update files.  
--dir=DIR           The directory containing the Update files used in the 
		    date range examination
--outfile=FILE      The output file for the results.  By default it goes to 
                    standard out.
--file=FILE         A file contaning a list of files to search in

For the --dir flag, bgpuma understands the directory structure set up by both 
RIPE and Routeviews for storing BGP Updates.  It expects that the directory 
given contains one directory for each router.  The subdirectories within 
the router directories are then either:

bgpdata/YEAR.MONTH/UPDATES/

OR

YEAR.MONTH/

It is also expected that the updates have the string 'update' in the file name.

On the other hand, you can use the --file=FILE flag and give bgpuma a list of 
files to read.



bgpuma's People

Contributors

leighmetcalf avatar

Watchers

James Cloos avatar derek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.