libbgpdump is a C library designed to help with analyzing dump files produced by Zebra/Quagga or MRT. The project is maintained by the RIPE NCC and the internet researcher community.

Signup for a bitbucket account to contribute with bug reports, patches and the wiki.

Table of Contents

Mailing List

The <ris-users@ripe.net> mailing list is for discussion of RIS data and related tools, weekly reports and occasional public announcements. This includes everything related to libbgpdump.

Please submit bug reports and patches to the bitbucket issue tracker.


Supported Platforms: Linux, FreeBSD, Solaris, and Cygwin

Prerequisites: zlib

./bgpdump -T

Supported Input Formats

This format is described in the Internet Draft grow-mrt-13.

  • MRT RIB dump
  • Zebra/Quagga format
  • These may be gzipped and/or passed in through stdin
  • MRT routing table dump entries in TABLE_DUMP or TABLE_DUMP_V2 types
  • Zebra/Quagga BGP records:
    • BGP state changes


Libbgpdump was originally written by Dan Ardelean and the RIPE NCC took over maintenance in 2005.

  • PyBGPdump - A python wrapper around libbgpdump


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.