Free implementation of BGP-4 that lets ordinary machines act as routers
open sourceISCself-hostablefree
OpenBGPD is the OpenBSD project's BGP-4 daemon: it lets an ordinary machine exchange routes with other BGP speakers and keeps the kernel routing table in sync with what it learns. It follows OpenBSD's goals of security (strict input validation, bounded buffers, privilege separation), reliability, a lean feature set for the common cases and a configuration language that is powerful but easy to read. It supports route reflection, route servers at exchanges, 4-byte AS numbers, standard, extended and large communities, MPLS VPNs, ADD-PATH, Flowspec, graceful restart and shutdown, RPKI origin validation over RTR, draft ASPA verification and MRT dumps, with bgpctl to control the running daemon. It ships with OpenBSD, and the portable version builds it for Linux distributions, FreeBSD and NetBSD; it's ISC-licensed.
Ways to install
Package managers
Problems it solves
- a BGP daemon whose configuration file I can read and understand at a glance
- connect our network to two ISPs with BGP from a Linux or OpenBSD box
- run an internet exchange route server that follows RFC 7947
- drop RPKI-invalid BGP routes using data from a validator over RTR
- a privilege-separated BGP daemon hardened against malformed updates from peers
- tag and filter routes from our BGP peers with large communities
- reflect BGP routes between our iBGP routers instead of a full mesh
- verify AS paths against ASPA records to catch BGP route leaks
- send Flowspec rules over BGP to filter attack traffic
- gracefully shut down a BGP session before maintenance so traffic moves first
Features
- BGP-4 (RFC 4271) with 4-octet AS numbers and capabilities
- keeps the kernel routing table in sync with the RIB
- route reflection and route server (RFC 7947)
- standard, extended and large communities
- MP-BGP, IPv6 and IPv4 NLRI with IPv6 next hop
- MPLS VPN (RFC 4364)
- ADD-PATH and Flowspec for IPv4 and IPv6
- graceful restart, graceful and administrative shutdown, route refresh
- RPKI origin validation, RTR protocol and draft ASPA verification
- route leak prevention with BGP roles (RFC 9234)
View 3 more
- MRT dumps, TCP MD5 and GTSM
- privilege separation
- bgpctl control utility
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what OpenBGPD does.