Skip to content

Other OSS BGP implementations

Thomas Mangin edited this page Jun 29, 2021 · 34 revisions

I am looking for a BMP deamon in another language than python

We used to have one but .. not anymore.

The pmbmpd daemon of pmacct cane be used to collect BMP messages, which can then be shipped to Kafka


I am looking for a BGP deamon in another language than python

If you are a Go person

Then this is for you (I really like bio-routing implementation)!
    http://github.com/bio-routing/bio-rd
https://github.com/osrg/gobgp

If you are a C person

use Bird http://bird.network.cz/
or FRR https://frrouting.org

If you are a rust person

use bgpd-rs
https://github.com/thepacketgeek/bgpd-rs

based on
https://github.com/DevQps/bgp-rs

If you are a java person

use freerouter
http://freerouter.nop.hu/

If you are a Ruby person

use BGPFeeder
https://github.com/BytemarkHosting/bgpfeeder

or bgp4r
https://github.com/jesnault/bgp4r

If you are a Perl person

use bgpsimple
svn checkout http://bgpsimple.googlecode.com/svn/trunk/ bgpsimple-read-only

If you are an erlang person

There is an implementation here
https://github.com/ThomasHabets/eggpd

There is a start of an implementation here
https://github.com/brunorijsman/erlang-bgp

If you are an haskell person

There is an implementation here
https://github.com/hdb3/hBGP

I am fine with Python but

I want something which works with OpenStack

In 2014, multiple projects started experimenting with BGP for OpenStack

Orange released BAGPIPE which use ExaBGP's classes to write their own BGP route injector with a clear focus on OpenStack. Some of their code has been ported back in ExaBGP - Thank you for the help.

https://github.com/Orange-OpenSource/bagpipe-bgp

I want something which works with OpenStack but NOT ExaBGP based

Ok .. we got it ... no point in getting agitated :-)
NTT supports the development of Ryu, which you should have a look at too as it added BGP support in 2014.

https://github.com/osrg/ryu

exabgp is not what I am looking for

You could have a look a yabgp (which came after exabgp)
https://github.com/smartbgp/yabgp

or check pybgp https://code.launchpad.net/pybgp
bzr branch lp:pybgp

I am not sure if this project existed when I started or not but I clearly missed it !	It does not support many RFC, but has IPv4 and VPNv4/MPLS. I really like twisted and use it a lot but did not want a dependency on it for a BGP daemon.

I want something for my website resilience

You should look at hearbeat in ExaBGP but as you insist on not using it, The wikimedia foundation wrote something cool named pybal

git.wikimedia.org/tree/operations/debs/pybal.git 

I have a BGP related matter

I have some PCAP files I need parsing

You could surely do something with ExaBGP but otherwise pbgp-parser will help you
https://github.com/de-cix/pbgp-parser

I want to know what is happening on my network

You could surely do something with ExaBGP and otherwise Piranha can help you
https://github.com/spale75/piranha

Still looking !

Let me know if I missed something

I review this list once in a while, the 2012-03-19, I found another python program from 2005 called announcer, so there is surely still more out there.

http://www.dia.uniroma3.it/~compunet/bgp-probing/