The short version

  • A DTLS Connection ID lets a receiver recover an existing security context. It says nothing about whether the new source address on the enclosing UDP datagram is real.
  • Basic RRC challenges the new address directly. Enhanced RRC first asks the old path whether it still wants the job.
  • A matching protected cookie buys one time-bounded binding decision. Cause, symmetry, persistence, resumed packets and application outcome are separate receipts.

A familiar face at an unfamiliar address

A protected datagram arrives from an address this receiver has never bound to the connection. The Connection ID is familiar. It unlocks an existing DTLS security context, the record authenticates cleanly, and every dashboard in the building is already tempted to print the word “reconnected.” It hasn’t. The receiver has recognised the connection. It has not yet proved that the peer can hear and answer at the address it is now wearing.

RFC 9853 lives in exactly that gap. It updates the DTLS 1.2 CID specification in RFC 9146 and DTLS 1.3 in RFC 9147 with a Return Routability Check, or RRC. The split is architectural, not cosmetic. CID lookup answers which security context may interpret the record. RRC asks whether the peer at a particular address can complete a protected challenge exchange before the receiver rewrites its CID-to-address binding.

What the specification never does is explain why the address moved. A NAT mapping may have been rebuilt; a peer may have migrated on purpose; a genuine duplicate record may have been raced in over a faster route; the network may have done something else entirely that the protocol is not told about. So the first evidence rule is a negative one: never let an observed address difference quietly become a causal label.

One content type, three very different decisions

RRC is negotiated with extension code point 61 and works only when both peers have exchanged the extension. Its ContentType is 27. Every message carries an eight-byte cookie with 64 bits of entropy, authenticated and encrypted under the currently active DTLS context. IANA’s TLS parameter registry records the three initial message values: path_challenge, path_response and path_drop.

Do not flatten those names into “path validated.” A path_challenge opens a test. A path_response echoes the cookie and supplies the answer one particular branch of the algorithm asked for. A path_drop says the old path is alive but no longer preferred, so the initiator must go on and run a basic check of the new address. The same response type can mean different things depending on whether the exchange is basic or enhanced — which is precisely where careless telemetry goes wrong.

Cookies must also be fresh. RFC 9853 warns that reuse without replay protection lets an attacker replay an earlier response and mislead the challenger. The useful receipt is therefore not a reusable “RRC passed” flag. It is a record of connection generation, challenge generation, cookie identifier, addresses, algorithm branch, timer and response.

Basic RRC: permission to move, not a promise to stay

In the basic procedure, the endpoint that spotted the source-address change sends path_challenge(cookie) to that new address and starts timer T. The peer verifies the protected challenge and returns path_response(cookie) to the address the challenge came from. When the initiator verifies the matching cookie, it updates the peer-address binding. If T expires first, it does not.

The specification says returning the response along the challenge’s incoming path ensures the path is functional in both directions. Read that claim at its actual size. One protected challenge travelled out; one protected answer came back, inside the validation epoch. It does not prove the forward and reverse routes share identical links. It does not measure how long either route will stay usable. It does not discover the reverse path’s PMTU. It does not show that a single byte of later application data crossed in either direction.

Before validation, the receiver must stop sending buffered application data — or hold output to the unvalidated address within the anti-amplification limit of three times the accepted data received from it. That cap keeps the receiver from becoming an amplifier. It is not a continuity guarantee. In fact the deliberate suspension is the tell: connection recognition and application delivery are two different stages, and the protocol knows it.

Enhanced RRC asks the old path a prior question

Basic validation is aimed at the spoofed-victim amplification problem. Enhanced validation takes on a stronger off-path adversary: one that can observe genuine records and consistently race copies over a faster forwarding path. A copied record can masquerade as a legitimate address change and, if accepted too quickly, drag the connection onto the attacker’s path.

So the enhanced procedure sends its first challenge to the previously valid address. If the old path is still preferred, the peer answers path_response; the initiator keeps the old binding and never switches. If the old path is alive but no longer preferred, the peer answers path_drop; only then does the initiator run the basic new-address check. A timeout on the old path also falls through to the basic check — without itself updating the binding.

This sequence kills a logging error that is easy to make and expensive to keep. In enhanced mode, path_response can mean “do not update.” Any metric that treats every matching response as a successful migration has inverted the protocol’s decision.

It also draws the boundary of causal inference. In a NAT rebind, the initiating receiver sees a new path while the responding peer still regards the old path as its preferred one. The two peers do not share a single path label. And a path_drop requires the responder to know it voluntarily migrated away from the old path; it is not the generic answer to every changed source address.

The enhanced defence is explicitly imperfect. If a forwarded route is reliably faster, telling the attacker’s path from a genuine routing improvement may be impossible. The RFC does not convert relative speed into benign intent.

Timers and nested changes define failure, not inconvenience

RRC permits multiple paced challenges to tolerate loss. Absent application-specific rules, it suggests one per RTT up to the anti-amplification limit. Where the old-path RTT is known, T should be three times that RTT; otherwise one second, subject to deployment profiles.

Those numbers are part of what a failure means. A timeout says no acceptable answer arrived under the chosen timer and retry policy. It does not prove the peer was absent, the address was forged, or the service was down. The new path may simply have a longer RTT.

Nested rebinding has sharper semantics. The algorithms are not designed for a second address change while the first is still under validation. In that case the response is dropped, validation times out, the binding is not updated, and new data triggers a fresh validation. An implementation that silently overwrites the pending challenge with the newest address has destroyed the generation boundary the RFC depends on.

Five receipts, not one green light

The first receipt belongs to connection lookup: DTLS version, negotiated RRC and CID capability, CID, security-context generation, protected record epoch, and the address from which the change was observed.

The second belongs to validation: basic or enhanced mode, old or new path, challenge generation, a protected cookie reference, send and receive addresses, timer basis, retransmissions, message type and result. It must preserve whether a response authorised an update, preserved the old binding, or merely triggered another check.

The third receipt is the binding act itself: previous address, selected address, decision time and endpoint. Without it, a successful exchange and a state mutation are only assumed to be the same event.

The fourth covers resumed traffic. RFC 9853 says pending sends resume after validation to the bound peer address. The log must show the first protected packet accepted in each relevant direction, with epoch and reset provenance. A send call returning is not remote receipt.

The fifth belongs to the application: a unique request accepted, processed and answered before a declared deadline inside the same evidence window. That is the service-continuity fact. No cookie can manufacture it.

Guidance is not an incident log

RFC 9853 strongly advises statistics on failed checks for SIEM and troubleshooting. It recommends logging multiple responses to one challenge because they could suggest an off-path attempt, and notes that frequent probing could indicate path instability. These are excellent logging recommendations. They are not reports that an attack or an instability occurred.

DTLS version also changes what can be seen. In DTLS 1.2, an RRC message not wrapped in tls12_cid exposes its content type and may be dropped by a middlebox; the RFC recommends CID in both directions when that risk matters. DTLS 1.3 hides the record type from on-path observers. A failed validation record therefore needs version and record-format context before anyone blames a hostile path.

The RFC Editor record and Datatracker history establish status and publication provenance. The errata page showed no matching errata at review time. None of these sources shows present deployment or service success.

Lu Heng’s Running-Code Primacy supplies the governing order: a document defines deterministic compatibility, while operational truth comes from the systems running it. Minimum Initial Specification keeps common claims narrow and locally verifiable. The essay on reality layers explains why a symbolic “validated” state can never substitute for executable packet and application evidence.

Sources