The short version

  • A RADIUS Change-of-Authorization or Disconnect request that survives every cryptographic check has proved exactly one thing: an accepted protocol hop sent it. It has not proved the sender speaks for the tenant, that the selectors point at one live session, or that the access device can actually perform what was asked.
  • A defensible control chain runs from the original access and accounting record through the proxy path, the NAS, the live-session key, the exact requested attributes, replay identity, ACK or NAK, installed policy and observed packets. RADIUS/1.1 hardens the transport. It does not fuse those separate decisions into one green light.

One name, two sessions, one uncomfortable question

Picture the mundane version. A subscriber has a laptop on office Wi-Fi and a phone on a visited network. Both sessions carry the same user name. Their access servers, accounting session identifiers, attachment points and current policies differ. Nothing about that is unusual. It is Tuesday.

Then a policy system decides the laptop needs restricting after a risk signal. It fires a correctly protected CoA-Request carrying the user name and a new filter. The receiving access system looks up the name and finds two live records. Now it must choose, and every choice is a confession. Apply the filter to both and a weak selector has quietly become cross-session authority. Pick the newest record and the device invents a rule the sender never expressed. Reject the ambiguity and it preserves the only honest boundary in the room: the one between a message that arrived validly and a session that has been uniquely authorized for change.

That boundary is the whole subject. RADIUS dynamic authorization earns its keep precisely because it can alter a live service after the login ceremony is over. The same economy makes the mistakes expensive: the device does not re-run the subscriber's authentication before flipping a filter, a VLAN, a rate limit or a connection state. It acts on the control relationship, the session evidence and the local rules available at that instant — no more.

The packet names several different objects, and they are not interchangeable

RFC 5176 separates the Dynamic Authorization Client, which originates a CoA-Request or Disconnect-Request, from the Dynamic Authorization Server that receives it. The receiver may be a network access server or a proxy. The NAS provides the actual service. Each instance of service is a session, and one user may hold several in parallel or in sequence.

Those distinctions exist to kill a familiar compression error. A RADIUS client address is not a subscriber. A NAS is not a session. A user name is not a unique current attachment. A shared secret or an authenticated TLS peer names a protocol relationship, not the full business authority behind every action requested through it.

Disconnect and CoA also do different work. A Disconnect-Request terminates selected session context. A CoA-Request changes authorization applicable to selected context. Which means Disconnect is not a harmless fallback when a narrower change fails: it destroys state, and it can interrupt work the original decision never meant to touch.

Selection is part of authorization, not paperwork before it

The protocol permits multiple session-identification attributes. Acct-Session-Id is especially useful because it can tie the live action back to an earlier accounting record. NAS port, called and calling station identifiers, assigned address information and other fields can narrow the target further. RFC 5176 recommends including User-Name or Chargeable-User-Identity for authorization protection — but neither becomes globally unique merely by showing up in the packet.

So the correct question is not whether every field looks familiar. It is how many current sessions the complete selector resolves to on the receiving system. Zero matches, one match and multiple matches are three different decision states wearing the same header. Error-Cause values such as Session Context Not Found and Multiple Session Selection Unsupported exist because ambiguity cannot be converted safely into a guessed target.

The join must also retain provenance. The accounting record that minted an identifier needs its NAS, tenant or realm, user identity, start epoch and relevant assignment attributes. A session identifier copied without that context can collide after a restart, be reused on another device, or point at state that has already ended. Local lookup is not clerical preparation for authorization. It is one of authorization's decisive checks.

Sender permission is narrower than packet validity

Historic RADIUS dynamic authorization uses the UDP source address to select a shared secret. A valid authenticator therefore shows the packet is consistent with a configured client and secret on that hop. It does not prove a human approved the change, that the client is entitled to act for this tenant, or that an intermediary left the request untouched before protecting the next hop.

RFC 5176 names the problem out loud for shared access infrastructure: an organization able to send dynamic authorization to a common NAS may otherwise reach another organization's users. A reverse-path check narrows that power by asking whether the request arrived from an authorized client for the relevant route. Per-client secrets, network filtering and protected transport cut down the population of unintended senders. None of them replaces the tenant and session decision.

RFC 8559 makes the reverse path explicit for roaming. The home network records Operator-Name and, where supplied, an opaque Operator-NAS-Identifier minted by the visited network. A later CoA follows the operator realm toward the visited network — not the user's home realm, as though authentication traffic were simply running backward. The visited network resolves its opaque token to the internal NAS, strips the inter-proxy signalling and sends the final, locally meaningful request.

That procedure assigns real authority without pretending it is end to end. A proxy can see and modify the RADIUS information it processes, then protect a new hop. The protocol's integrity boundary is hop by hop, which means the evidence record must name the path and every delegated intermediary rather than attribute the final packet to an unseen administrator who never touched it.

The requested change must stay atomic and local

A uniquely selected session can still receive an invalid instruction. A CoA may carry a filter, VLAN, rate or vendor-specific operation the NAS does not implement, cannot apply to this access method, or is not permitted for this tenant. RFC 5176 treats attributes at the final receiver as mandatory: if a requested authorization change cannot be carried out, the NAS rejects the request rather than claiming success for an undocumented subset.

Keep the separation between selectors and actions visible. A vendor-specific attribute may serve as session identification or as the requested change, but not both at once. Otherwise the value deciding who is targeted also decides what happens, and audit plus safe rejection become near-impossible.

Some changes need lower-layer renegotiation. A new address or service property does not become real because it fits inside a RADIUS attribute. Device type, access protocol and running implementation decide whether the operation is supported. Running code is the final compatibility witness: a broad controller catalogue cannot conjure a capability into a NAS that does not have it.

Retransmission is not a second decision

Dynamic authorization commonly runs a request-and-response exchange over a transport where loss and retry are ordinary. In historic UDP operation, an unchanged retry to the same server keeps the source port, Identifier and Request Authenticator. Change the attributes and the sender must mint a new request identity. The receiver has to detect duplicates across the relevant interval.

Where IPsec replay protection is absent, RFC 5176 recommends Event-Timestamp. Both sides compare it against an accepted freshness window and discard stale packets. Retransmission keeps the original timestamp — which means the duplicate-detection window and the timestamp window need the same boundary. Otherwise a packet can be fresh enough to accept after the receiver has forgotten it already executed it.

Freshness is useful, modest evidence. Event-Timestamp is not the moment a manager approved a ticket, not proof the intended session still exists, and not an end-to-end signature over business context. It answers one narrow question: when was the original protocol request sent, within the tolerance of cooperating clocks.

Response caching adds another audit trap. A server may return the cached ACK or NAK for a duplicate, so two received ACKs can describe a single execution. Counters should distinguish original requests, retransmissions, duplicates suppressed, cached responses and independent later decisions. Blur them and your dashboard reports twice the work and half the truth.

What RADIUS/1.1 changes — and what it leaves alone

RFC 9765 defines RADIUS/1.1 through the ALPN name radius/1.1 and requires TLS 1.3 or later. When both peers negotiate it, TLS supplies connection authentication, confidentiality and integrity. Historic Request and Response Authenticator calculations are no longer used, and Message-Authenticator no longer authenticates a RADIUS/1.1 packet.

A four-octet Token replaces the old Identifier for matching requests to replies. New packets on a connection get new Token values. An unchanged DTLS retransmission keeps its Token, and duplicate handling is scoped to the connection — the same value on another connection is a different event entirely.

This is a significant transport correction. It removes dependence on historic MD5-based packet protection in this mode and makes version choice explicit. It does not redefine the CoA and Disconnect packet codes, select a subscriber session, authorize a tenant crossing, or prove a filter reached hardware. Most application attributes keep their meaning.

Migration should therefore run two ledgers. The transport ledger records peer certificate validation, ALPN result, TLS version, connection identity and Token behaviour. The authorization ledger records realm, NAS, tenant, session selector, requested change, local decision and effect. A green first ledger cannot be used to fill gaps in the second.

ACK is testimony, not the whole effect

CoA-ACK means the NAS reports a successful change. CoA-NAK and Error-Cause explain a class of refusal. Those responses are indispensable and still not the proof.

The operator should compare pre-change and post-change live-session state, installed filters or VLAN, rate policy, accounting continuity and representative traffic. A correct ACK with unchanged device state is an enforcement defect. A changed session with a lost response is a transport-observation defect. A NAK after partial mutation is an atomicity defect. Fold them into one generic "CoA failed" alert and you have thrown away the component that needs repairing.

The minimum evidence chain is: original access and accounting event; current session inventory; authorized sender and proxy path; exact request bytes or a privacy-safe fingerprint; request identity, Token and timestamp; selector cardinality; local capability and policy decision; ACK or NAK; installed state; observed packets; and a scoped reversal record. Each link answers a different question, which is precisely why collapsing them is so tempting and so expensive.

A bounded operational test

Build two simultaneous test sessions that deliberately share a tempting identifier while keeping distinct accounting session identifiers and NAS context. Send a narrow, authorized CoA naming exactly one. Prove the selected policy changes, traffic follows it, and the other session never notices.

Then remove the distinguishing field. The request should be rejected as ambiguous, not resolved through newest-session preference or incidental database order. Repeat the original packet and prove the effect is not executed twice. Send a stale timestamp, a request from the wrong authorized realm, an unsupported action, and a packet routed to the wrong NAS. Each should fail at a named boundary, with evidence that does not expose subscriber secrets.

Finally, exercise rollback as a scoped reverse authorization change using captured prior state. Do not call Disconnect a rollback unless termination was the original approved outcome. The safe test is not merely that the positive case works. It is that every nearby wrong authority is refused without touching the protected session.

Sources