RFC 9897 in brief

  • RFC 9897 is an IETF Standards Track extension that lets a single DCCP connection establish and run multiple subflows across different paths.
  • MP_ADDADDR advertises an address as authenticated soft state. It is not reachability, and it can be discarded without ceremony.
  • A later subflow joins with MP_JOIN, after the first subflow was established with MP_KEY. The join carries the peer connection identifier, a sender-generated Address ID and a fresh 32-bit nonce — and only then does the exchange prove someone is actually answering at the advertised address.
  • MP_HMAC protects MP_JOIN, MP_ADDADDR and MP_REMOVEADDR with HMAC-SHA256 truncated to the leftmost 160 bits. Every protected option needs its own MP_HMAC glued immediately behind it.

An authenticated address is a receipt, not a road

A signed business card tells you someone wants to be found. It does not tell you the office exists, the door opens, or anybody is sitting behind the desk. RFC 9897 — the IETF Standards Track extension that lets one DCCP connection run several subflows across several paths — is built on exactly that distinction, and it is the distinction most multipath deployments get wrong. MP_ADDADDR is the signed card. MP_JOIN is the walk to the address to see whether anyone answers.

The same logic runs through every coordination layer on the Internet: keeping the record is not the same as owning the road. A registry can hold your entry; only running code proves the path. RFC 9897 writes that rule straight into the wire format.

The admission boundary: MP_KEY first, everything else after

The first subflow establishes the cryptographic context with MP_KEY. That context is the entire basis for trusting anything that follows. The connection identifier carried into a later MP_JOIN is continuity with the original connection — it is not a substitute for the join exchange. The joining peer also supplies a fresh, single-use 32-bit nonce. Freshness matters: follow the randomness guidance in RFC 4086, because a recycled nonce quietly erodes replay resistance.

An Address ID must map uniquely to the sender’s source address within the connection. It lets the receiver tie an MP_JOIN back to an MP_ADDADDR, and — genuinely useful — it survives middlebox address rewriting. An ID cannot be reassigned while either endpoint still uses it. That makes it a solid NAT correlation handle. It is not a certificate of good behaviour, global reachability or ownership.

MP_JOIN: the nonce handshake that actually admits a path

Receivers should keep three states apart instead of collapsing them into one comfortable word. First: advertised — authenticated control information, nothing more. Second: join attempted. Third: path admitted, after the reachability exchange completes. A valid HMAC authenticates the relevant option under the connection’s keying context. It does not encrypt application data and it is not complete end-to-end security. Applications that need confidentiality, integrity, authentication or access control still need end-to-end protection such as IPsec or DTLS, chosen on their own requirements.

MP_HMAC: 160 bits of proof, one option at a time

MP_HMAC protects MP_JOIN, MP_ADDADDR and MP_REMOVEADDR using HMAC-SHA256 (RFC 2104, RFC 6234) truncated to the leftmost 160 bits. The adjacency rule is strict and unforgiving: each protected option requires its own MP_HMAC immediately following it. No sharing, no batching, no “the HMAC three options back covers this one.”

Failure is deliberately asymmetric

An invalid HMAC on MP_ADDADDR or MP_REMOVEADDR is silently ignored. An invalid MP_JOIN closes the attempted subflow. MP_ADDADDR is soft state: broadcast and multicast addresses must be ignored, and a failed address/port combination should not trigger repeated connection attempts unless the advertisement is refreshed. The specification offers that as guidance, not as a universal retry timer or budget — the numbers are yours to defend.

Private addresses and the misdirection tax

Private addresses create a distinct hazard. A malicious participant can advertise them and steer handshake traffic at other hosts. Sender- and receiver-side heuristics blunt the denial-of-service impact, but RFC 9897 prescribes no single heuristic, no telemetry threshold, no rejection algorithm. Nor does it define a universal scheduler, coupled congestion-control method or reordering method for concurrent multipath use on the general Internet; those topics sit outside its scope.

Verification fixtures

  1. Capture the first MP_KEY exchange and record the connection identifier; verify that a later MP_JOIN carries that identifier rather than creating an unrelated association.
  2. For each advertised address, record Address ID, source address before and after NAT rewriting, and lifecycle state. Reject an ID reuse while either endpoint still uses it.
  3. Generate a fresh 32-bit nonce for each join and test that replaying the same nonce does not count as a new reachability proof.
  4. Inspect bytes on the wire: every protected option must be followed immediately by its own MP_HMAC; verify HMAC-SHA256 and leftmost-160-bit truncation.
  5. Inject an invalid MP_HMAC separately into MP_ADDADDR, MP_REMOVEADDR and MP_JOIN; confirm silent ignore for the first two and closure of the attempted subflow for the third.
  6. Test broadcast, multicast and private-address advertisements without treating successful authentication as proof of benign ownership.

Operator decision path

Confirm identity continuity through MP_KEY and the connection identifier. Then validate Address ID uniqueness and NAT correlation. Next check nonce freshness, exact HMAC adjacency and the option-specific failure result. Admit traffic only after the MP_JOIN reachability exchange completes. Until then, keep the advertised path in soft state and refresh rather than blindly retrying a failed address/port combination. Apply local heuristics to suspicious private-address behaviour, write down the choice, and reach for IPsec or DTLS where the application needs stronger end-to-end properties.

What RFC 9897 does not say

No deployment prevalence, no performance gains, no incident rates. No universal retry budget, scheduler, telemetry threshold or suspicious-address heuristic. Key Type 0 is required for interoperability testing but exchanges key material in plain text; stronger-security deployments must make their own key-type and end-to-end protection decisions. The RFC hands you a boundary. It does not hand you the policy that lives on the other side of it.

Sources