Summary

  • Draft -03 folds RFC 7606 into the BGP-4 base text and ranks four responses to a malformed UPDATE by blast radius: reset the session, disable one address family, withdraw the routes in the offending UPDATE, or discard a harmless malformed attribute.
  • The narrowest rung only holds if the parser can still trust what it is reading: treat-as-withdraw needs readable NLRI, and attribute discard is reserved for attributes that never touch route selection or installation.

A malformed UPDATE lands from a neighbor, and the operator's first instinct — kill the session and start over — is now only one option on a menu. The sharper question is how far the damage actually reaches.

The October 22 version of draft-ietf-idr-bgp4-rfc4271bis writes that question into the BGP-4 base specification itself. Appendix B is blunt about the headline: the main contribution of version 03 is integrating RFC 7606, the 2015 rewrite of BGP UPDATE error handling. Section 6.4.1 then lays out four responses, ordered from strongest to weakest — a severity ladder where the error decides the rung, and where implementations can still restore old session-reset behavior by configuration.

Four sizes of trouble

At the top sits session reset. The speaker fires a NOTIFICATION and tears down the BGP session, and the blast radius is the whole relationship — every negotiated address family goes with it. Routing state then tumbles through the operator's convergence and restart machinery. If the parser cannot even locate the routes inside a message, the protocol has no honest basis for pretending the damage is prefix-sized.

One rung down, AFI/SAFI disable quarantines a single address family on that session. AFI and SAFI name the network-layer protocol and the kind of reachability being exchanged, and the draft leans on the existing Multiprotocol BGP procedure that lets a speaker ignore later routes for the affected family from that peer. IPv4 unicast can be the casualty while IPv6 unicast keeps riding the same session. The boundary is a family on one peering — not the entire neighbor relationship.

Treat-as-withdraw shrinks the action to the routes carried in the offending UPDATE. Those prefixes are pulled from Adj-RIB-In as though the message had withdrawn them. Precision has a price: the receiver must parse the NLRI cleanly. A router that cannot tell which prefixes were in the message cannot manufacture a tidy withdrawal list out of thin air.

At the bottom is attribute discard. The malformed path attribute is thrown away and the rest of the UPDATE keeps flowing. It is the least disruptive response and the most tightly fenced: the draft allows it only when the attribute has no effect on route selection or installation. Toss a preference, a next hop, or any other decision-bearing value and you have quietly changed the route while dressing the change up as cleanup.

That is the whole trick. The ladder measures response scope; the parser's remaining evidence decides which rung can actually hold. When attribute lengths conflict, the draft leans on the UPDATE's Total Attribute Length to find where NLRI begins and calls for treat-as-withdraw unless something more severe applies. Where the NLRI cannot be parsed with confidence, the rules climb back to session reset.

The quiet work in version 03

RFC 7606 already introduced revised handling for malformed BGP UPDATEs. Draft -03 drags that work into the base BGP-4 text so implementers can read the protocol and its error policy in one place. The revision also deprecates several old UPDATE error subcodes whose conditions no longer produce NOTIFICATIONs under the revised procedures. It flips the treatment of a semantically incorrect NEXT_HOP from "ignore" to treat-as-withdraw, and it lets an implementation restore reset behavior through configuration.

RFC 7606 is still only partly folded in; its changes to other RFCs stay outside this draft. The Datatracker lists -03 as an Active Internet-Draft in the IDR working group, with IESG state "I-D Exists" and a milestone of submitting the base BGP specification to the IESG in May 2027. The draft header says it updates RFC 7606 if approved. That is the live status of the text today.

A parser's severity judgment can bill the whole peering. A session reset can widen one malformed message into a neighbor-wide event. Family disablement can leave one service's routing on that peering limping down a different recovery path. Treat-as-withdraw can shift traffic off the affected prefixes while the rest of the UPDATE stream keeps rolling. Attribute discard can preserve a route while stripping information, so its safety depends on the exact attribute semantics — not on how reassuring the word "discard" sounds.

The running network supplies the test. For each error class, operators need to see the reported cause, the chosen action, the route set that changed, and the forwarding consequence. A healthy Established badge answers exactly one question. The useful evidence is the UPDATE-level decision followed through Adj-RIB-In, the selected route, the FIB, and a packet.

Sources