Summary

  • RFC 9234 describes route leaks as the propagation of BGP prefixes that violate the assumptions of BGP topology relationships — announcing a route learned from one transit provider to another, for instance.
  • It blames misconfigured or absent route filtering and a plain lack of coordination, then fixes both by making the relationship explicit: a BGP Role in the OPEN message and an Only-to-Customer attribute on the route.

A route leak is a small social failure with large routing consequences. A network learns a prefix from one transit provider, then hands it to another. Nothing is broken. Nothing is forged. The prefix is real, the path is valid, and the announcement obeys every rule the protocol actually enforces. It is simply in the wrong place, because the network repeated something it was told in confidence.

BGP has no concept of confidence. It has no concept of a relationship at all. A session comes up, prefixes flow, and the only thing separating a customer from a peer from a provider is a line in somebody's configuration file that the other side never gets to see. RFC 9234, published in May 2022, decided to fix that by asking the question out loud.

Two small mechanisms

The first is a BGP Role capability carried in the OPEN message. Each speaker declares what it is: Provider, Customer, Peer, Route Server, or Route Server Client. The roles have to pair up — Provider with Customer, Peer with Peer, Route Server with Route Server Client. If the declared role does not match what the other side expects, the session does not come up. A looser mode logs the mismatch and proceeds anyway, which is the protocol's way of admitting that operators have legacy neighbours and lawyers.

The second is the Only-to-Customer attribute, an optional transitive path attribute with type code 35. When a speaker advertises a route to a customer, it stamps the route with OTC. If that route later arrives back from a peer or a provider, the receiver knows at once that it has been leaked and treats it as withdrawn. The label travels with the route. The route carries a note about where it was allowed to go, and the network that ignores the note gets caught by the note.

Why it took until 2022

Because the hard part was never the encoding.

Route leaks have been catalogued since at least RFC 7908, which classified them with the patience of a coroner. The taxonomy was thorough. The fixes were not, because every fix hit the same wall: to detect a leak you need to know the shape of the relationships involved, and the shape of the relationships is the one thing the protocol has always been careful not to ask about.

That is the interesting part. Declaring a role costs nothing technically. It is a few bytes inside a message that already exists. It costs everything commercially, because it puts the relationship on the wire where the other side can check it.

Consider what a network has to admit. That it is a customer and not a peer. That its transit provider is really a reseller of somebody else's transit. That the session it describes as peering is a paid arrangement with a euphemism attached. That the cheap upstream it found sits two hops from the tier-one it claims to be. None of this is illegal. All of it is commercially inconvenient, and some of it is the entire basis of a business model.

The protocol asks the question the industry avoids

There is a purely technical version of this story, and it is the version the RFC has to tell. But route leaks persist not because the mechanism is hard. They persist because the mechanism requires disclosure, and disclosure is the one thing an industry built on ambiguous relationships has never been keen on.

The same move shows up everywhere else in Internet infrastructure. A record is useful when it describes reality. It turns dangerous when it is asked to create reality instead. RFC 9234 sits firmly on the right side of that line: it does not tell you what your relationship should be, it asks you to state what it is, and then it holds you to the statement. The protocol does not moralise. It just remembers.

And like every honest record, it works only where the parties are willing to be described. A role declared falsely is worse than no role at all, because it converts a detectable accident into a confident lie. The RFC's own framing is generous here — leaks as the product of missing coordination rather than malice. That generosity is also the only framing that gets anyone to deploy it.

Publication is not adoption

RFC 9234 has been available since 2022. The interesting number is not the publication date. It is how many of your peers actually send a role.

A leak detector needs declared edges to work on. If half the sessions in a neighbourhood decline to state what they are, the detector sees a graph full of holes, and the holes sit exactly where the ambiguous relationships live. The protocol's value scales with disclosure, which means it scales with the willingness of the least forthcoming network in the room.

So the useful operational question is not "does my router support RFC 9234." It is "how many of my peers send a role, and what do I do about the ones that don't." The first is a vendor checkbox. The second is a policy.

The uncomfortable conclusion

RFC 9234 is a good document about a real problem, and it will work exactly as well as the industry's willingness to be legible. That is a strange sentence to write about a routing protocol, which is supposed to be indifferent to politics and commerce alike. But BGP has always been a social graph wearing a state machine, and the leaks were never really about the algorithm.

They were about the fact that nobody wanted to say what they were.

Now the protocol asks. The rest is configuration.