Summary

  • RFC 4271, January 2006, defines BGP-4, whose "primary function" is to "exchange network reachability information with other BGP systems" — including the AS path that lets routing loops be pruned.
  • Its Security Considerations require support for the RFC 2385 TCP MD5 mechanism, then concede that it "does not provide peer-entity authentication", so connections "may be subject to some forms of replay attacks".

What BGP actually carries

The protocol exchanges reachability, and the reachability arrives with a receipt: the list of autonomous systems it passed through. That list is enough to build a graph of AS connectivity, which is enough to prune loops and to let policy break ties between otherwise equal paths.

The memo states the limit of the whole exercise in one sentence: BGP "supports only the destination-based forwarding paradigm, which assumes that a router forwards a packet based solely on the destination address carried in the IP header". Everything BGP can enforce follows from that assumption. So does everything it cannot.

Staying alive by agreement

Two peers keep a session by agreeing on a timer. The OPEN message carries a Hold Time, and each side "MUST calculate the value of the Hold Timer by using the smaller of its configured Hold Time and the Hold Time received in the OPEN message". The value must be zero or at least three seconds, and the resulting number is how long a peer may stay silent before it is presumed gone.

It is a remarkably social arrangement for a machine protocol: the relationship lasts exactly as long as both sides keep saying something. A session that flaps produces repeated withdrawals and announcements, and the protocol answers with a hold-down — a peer is kept idle before an automatic restart, "in the face of sequences of automatic start and automatic stop".

The part the memo refuses to standardise

That damping is described and then handed off: "the exact method of damping persistent peer oscillations is determined by the implementation and is outside the scope of this document".

That single sentence is why two routers from different vendors can behave differently during the same incident. The protocol says the oscillation must be damped and declines to say how — an honest division of labour, and a permanent source of arguments.

It is also the discipline that made the internet work. Specify the minimum that must be common, leave the rest to whoever has to run it, and let running code settle the argument. A memo that tried to legislate damping in full would have been longer, later, and wrong within a year.

What the security section admits

The Security Considerations are unusually candid — the kind of candour you get from engineers who would rather be understood than flattered. An implementation must support the RFC 2385 authentication mechanism, per peer, to give "connection-oriented integrity and data origin authentication on a point-to-point basis" and to detect "active wiretapping attacks".

Then the admission: "Absent the use of mechanisms that effect these security services, attackers can disrupt these TCP connections and/or masquerade as a legitimate peer router. Because the mechanism defined in [RFC2385] does not provide peer-entity authentication, these connections may be subject to some forms of replay attacks that will not be detected at the TCP layer."

Why that sentence matters more than it looks

It says what the key does: it authenticates the conversation, not the speaker's right to speak. A peer that holds the key can announce anything, and the protocol has no opinion about whether the announcement is true.

That is the arrangement the internet uses everywhere else: a mechanism protects the channel, and the meaning of what travels on it is somebody else's problem. For routing, "somebody else" is the operator, who is expected to configure the right neighbours and to notice when they say something absurd.

The distinction is worth naming, because it is the one people keep blurring. A key, a signature, a session, a registry record — each establishes that a message arrived intact from a party holding the credential. None of them establishes that the party should be believed. Confusing the two is how organisations end up with excellent cryptography and terrible judgement.

The trust that the document cannot supply

RFC 4271 is a careful description of a conversation between peers who already trust each other. It defines the message formats, the state machine, the timers, the loop pruning and the error handling, and it says once, plainly, that the authenticity of the speaker is not among the things it proves.

Everything added since — signed announcements, origin validation, filtering by policy — is an attempt to answer the question the protocol left open. That the answers took years, and remain optional, is not a failure of the memo. It is the price of a design that refused to pretend.

The document is honest about what it is: rules for a conversation among parties who have already decided to trust one another. Who those parties are, whether they deserve it, and what happens when they do not, was left to operators, markets and courts. That is not a gap in the protocol. It is the protocol's entire theory of governance, written in a paragraph most readers skip.