Net::BGPdump is a Perl XS extension to the BGPdump library. BGPdump describes itself as

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.

Source Code

The Net::BGPdump source code is available from these locations:

Net::BGPdump v2.03, 2016-02-19


CPAN — Find the Net::BGPdump module on a CPAN mirror.

Installing Net::BGPdump

First, make sure you have the libbgpdump library installed.

Next, install Net::BGPdump like any other Perl module; this is an XS extension so a C compiler will be necessary. The easiest way, if you have admin privileges on the target machine, is to use the cpan interactive installation (this will automatically download the Net::BGPdump distribution from CPAN):

$ sudo cpan
cpan1> install Net::BGPdump
cpan2> quit

Otherwise, in order to manually install, download the .tar.gz distribution file from one of the sources above and unpack it. From within the resulting directory, follow the standard perl module build procedure:

$ perl Makefile.PL
$ make
$ make test
$ sudo make install

Using Net::BGPdump

Documentation for the module can be viewed here:

Alternatively, if you followed the installation procedure above, the documentation should be available on your system via one of the following commands:

man Net::BGPdump
perldoc Net::BGPdump