Summary

  • RFC 8205 defines BGPsec, an extension to BGP that secures the path of Autonomous Systems an UPDATE message travels through.
  • It works through an optional non-transitive path attribute carrying a digital signature from every AS that propagates the UPDATE, so each hop on the listed path is shown to have authorised the advertisement.
  • The cryptography is sound and the deployment is thin: BGPsec only pays out when the entire path is signed, which makes it a public good with a private bill.
  • Origin validation, which works one prefix at a time, spread. BGPsec, which works all-or-nothing, did not. That is most of the story.

BGP has always been a rumour mill with excellent manners. A router announces what it can reach, its neighbours repeat the claim, and the story crosses the planet in seconds. Nobody signs anything. Nobody checks anything. The system holds together because lying at scale is expensive, not because lying is hard.

The receipt arrives

RFC 8205, published in September 2017, proposed to fix that with paperwork. BGPsec attaches a digital signature to the AS path — the list of networks an announcement has travelled through — so that every hop on the list is on record as having approved the advertisement. A route stops being a rumour and becomes a chain of receipts.

The design is genuinely elegant, and it is worth saying so before explaining why almost nobody uses it.

BGPsec rides inside an optional non-transitive path attribute. Each AS that propagates an UPDATE adds its own signature, covering the path as it stands at that moment. A receiver walking the attribute can verify, hop by hop, that the sequence it was handed is the sequence that actually happened. The signatures use ECDSA P-256 with SHA-256, and the keys come out of the RPKI as BGPsec Router Certificates.

The property this buys is the one BGP has never had: the AS path becomes evidence rather than testimony. If AS 64500 says a route arrived via 64501 and 64502, it can prove it, and neither of the other two can later deny having passed it along.

That is a real improvement on the status quo, which is a handshake and a hope.

The bill lands on the receiver

Here is the arithmetic that killed it.

A signature per hop per update is not one signature. It is one signature for every hop, on every path, for every peer, every time the path changes — and paths change constantly. The verification work falls on the router receiving the UPDATE, which must check the whole chain before it can believe any of it. The signing work falls on every router that passes it along.

The benefit, meanwhile, is diffuse. A verified path is safer for everyone downstream, including networks that deployed nothing at all. A signed path costs the signer and the verifier specifically.

This is the oldest problem in security economics wearing cryptographic clothing: private cost, public benefit, and a deployment curve that stays flat until the benefit is obvious — which it never is, because the benefit only arrives once everyone else has already deployed.

All or nothing is a terrible growth strategy

The deeper flaw is granularity.

BGPsec validates a path only if every AS on that path signed it. One unsigned hop and the chain is decorative. A network that upgrades its routers, buys the certificates, trains its engineers and signs every announcement it makes gets precisely nothing until its neighbours, and its neighbours' neighbours, do the same.

Compare that with RPKI origin validation, the security measure that actually spread. A ROA covers one prefix. Publish one and that prefix is protected immediately, regardless of what anyone else does. The benefit is incremental, so adoption is incremental, so the thing compounds.

BGPsec asked for universal participation before paying out a single dollar. The Internet — a federation of organisations with different budgets and different attention spans — answered accordingly.

What BGPsec does not do

It is worth being precise about the gap, because BGPsec is often sold as "secure routing" and it is not.

BGPsec secures the path. It does not secure the origin. The first AS in the chain can still announce a prefix it does not own, sign the announcement perfectly, and pass validation with full marks. Catching that requires RPKI origin validation, a separate mechanism with a separate deployment curve.

So BGPsec without ROAs is a beautifully attested lie. And BGPsec with ROAs is a second lock on a door that already has one — a harder budget conversation than the first lock.

Then there is the small matter of path rewriting. Any middlebox that edits AS_PATH — an IXP route server, a traffic engineer with strong opinions, a policy that quietly rewrites the path — invalidates the chain. BGP has spent thirty years accumulating exactly these habits. BGPsec asks the industry to stop.

Key management is the part that isn't in the diagram

The RFC's diagrams are clean. The operational reality is a certificate authority.

Every participating AS needs a BGPsec Router Certificate in the RPKI, one per router, with key rollover, revocation, and the organisational discipline to keep all of it current. That is not a routing problem. It is a compliance function with a cryptographic interface, and it lands hardest on the networks with the fewest people to run it.

Which is why adoption stalls precisely where key management is hardest: at the small and mid-sized operators who make up most of the AS path and hold the least of the budget. A fixed cost is never neutral in a thin market. The large carrier absorbs it. The regional ISP does arithmetic.

Publication is not adoption

RFC 8205 is a good document. It is clear, careful and correct. It has also been cited far more often than it has been switched on.

That gap is the ordinary condition of technical governance, and it is worth naming plainly: a specification is a promise, and running code is the receipt. Documents do not route packets. Consensus does not route packets. A protocol becomes real when operators implement it, deploy it, and leave it running through a bad quarter — and BGPsec has never had that test at scale.

The industry's instinct, when a good specification fails to deploy, is to write another specification. The better instinct is to ask what the first one demanded that operators could not pay.

What the next attempt learned

The current fashion is ASPA, which validates provider-customer relationships rather than every hop, and which degrades gracefully: partial deployment buys partial protection. It is a smaller idea, and it is more likely to exist.

That is the lesson BGPsec teaches without meaning to. The elegant design is not the one that proves the most. It is the one that pays out before everyone has joined. A thin, incremental, locally verifiable rule beats a beautiful global invariant that requires the whole planet to sign on the same day.

Every hop signing for itself was the right idea. The mistake was asking every hop to care at the same time.