
On the peering LANs of the world's internet exchanges, one daemon quietly
decides what hundreds of networks can see of each other. OpenBGPD comes
from the OpenBSD project, and for most of its life almost nobody had to
install it — it was already in the base operating system. This series
walks towards a bug in its Linux portable build: a daemon that can be
perfectly healthy, fully connected, and completely silent.
The one job
BGP — the Border Gateway Protocol — is how the Internet announces
reachability. Every network tells its neighbours "these prefixes exist and
this is the path to them", and the whole system is a cooperative table of
who-can-reach-what.
A BGP speaker is any daemon that speaks that protocol. There are big
commercial implementations, there are small ones, and there is OpenBGPD —
the implementation that ships as part of the OpenBSD operating system,
written and maintained by the OpenBSD project itself.
On a peering LAN — the shared network inside an internet exchange — the
speaker is often not a router at all. It is a route server: a daemon
that sits in the middle of the exchange's shared network and relays
reachability between members. Members declare their prefixes to the route
server; the route server advertises each member's view to the others. One
machine, hundreds of relationships, all of it mediated by one BGP
implementation.
The plain analogy
Think of a reading room used by hundreds of societies. Each society keeps
its own catalogue of where its documents live. Nobody wants to visit all
hundreds of catalogues, so a librarian maintains one grand index: each
society submits its catalogue, the librarian cross-references it, and
everyone can find everyone else's documents by asking the librarian once.
OpenBGPD is that librarian on the peering LANs where it runs. The
consequence of a quiet librarian is not drama — it is absence. A society
whose catalogue was never entered into the index is a society that nobody
can find: its documents exist, its members are present, and the reading
room's records simply do not contain it.
Why you have probably never seen it
OpenBGPD does not advertise itself. It has no vendor, no GUI, no install
party. On OpenBSD it is part of the base system — present by default, the
way a shell is. The deployment that most people actually touch is the
portable tree: the same code, adapted to build and run on Linux, which
is where it appears inside containers, on cloud routers, and in lab or
smaller network stacks.
The distinction matters more than it sounds and is the whole subject of
this series: the native OpenBSD build is maintained by the project that
wrote it, on the platform it was written for. The portable Linux build is
the same code crossing into another world — and a bridge between worlds is
where the bug this series walks towards lives.
The uncomfortable truth, introduced
BGP monitoring checks one thing more than any other: is the session up?
Keepalives flowing, state Established, dashboard green.
There is a failure mode where every one of those signals reports success
and the network is still broken. This series walks towards it — a report
on the OpenBGPD portable issue tracker that says, in its entirety, that
bgpd on Linux does not send routes to a peer after a reboot. Sessions
establish. Nothing is advertised. Nobody logs an error, because from the
daemon's perspective nothing went wrong.
That is the story of the next ten parts: the quietest bug in the
routing-protocols half of the corpus, and the five-line check that catches
it.

Next: Part 2 — who actually runs OpenBGPD, and why the biggest
customers are internet exchanges.

Comments (0)