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.
The Net::BGPdump source code is available from these locations:
(SHA256=cf3d0b083383c835bbb60b288cec97b161cf933166894a7396a29c60d50f9ec7)
CPAN — Find the Net::BGPdump module on a CPAN mirror.
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
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