What You Trade for a Small Daemon

Site Admin · 3 Dec 2026 · Routing & Protocols

BIRD wins the filter language and the footprint; FRR wins the suite, OpenBGPD privilege separation, GoBGP programmability. The trade is memory safety in C — made concrete by CVE-2026-49943.

BIRD wins the filter language and the footprint. FRR wins the suite,
OpenBGPD wins privilege separation, GoBGP wins programmability. This part names
all four honestly.

The scoreboard

Requirement Best fit
Expressive policy, small footprint BIRD
Route server at an exchange BIRD / OpenBGPD
Full routing suite on Linux FRR
Least privilege by design OpenBGPD
BGP as an embeddable library GoBGP
Vendor support and accountability Cisco / Juniper / Arista

BIRD

Wins: a compact C daemon with a filter language that reads like a program;
fast startup and low memory; strong BGP, OSPF and Babel; RPKI validation; the
default at many exchanges.

Trades: a small team and a single process written in C. There is no
privilege-separated architecture like OpenBGPD's, and memory safety depends on
the code being correct. The public security record is thinner than the big
vendor stacks — which is not the same as being safer, only less exercised.

FRR

Wins: the full suite — BGP, OSPF, IS-IS, RIP, PIM, zebra, a large policy
surface — and decades of deployment behind service providers. If you need more
than BGP and OSPF in one daemon, FRR is the default answer.

Trades: a larger codebase and a bigger install. It is a routing suite, not
a small daemon, and its operational model reflects that.

OpenBGPD

Wins: privilege separation as an architectural principle. The session
engine and the parent process have different jobs and different privileges, so
a parser bug does not automatically own the daemon's full authority. It is
small, security-focused, and portable.

Trades: a narrower feature set and an OpenBSD-centred development model.
For pure BGP with a security-first posture, it is often the right answer.

GoBGP

Wins: programmability. It is a Go library you can embed, a gRPC API you can
drive, and a single static binary. That is a different product category from
BIRD, and it wins that category decisively.

Trades: a younger parser and a different failure mode — Go panics instead
of C memory corruption. The GoBGP series in this corpus is about exactly that.

The vendor stacks

Cisco, Juniper and Arista sell tested integration, support contracts and
accountability. Their bugs are not fewer; they are found, fixed and disclosed
behind a support relationship. The trade is cost and closedness.

The trade written as a sentence

BIRD gives you expressive policy in a small C daemon, which is exactly what a
route server needs. The cost is that the safety of the parser rests on the
code, not on a language runtime or a privilege boundary. CVE-2026-49943 is that
cost made concrete: a fixed stack array, a path the peer controls, and no
runtime to catch the write.

Next: Part 5 — inside the AS_PATH matcher: segments, positions, and a fixed
array of 2048 + 1 entries.