Somewhere between a user typing a password and a server deciding their fate, a small parcel of private memory has to travel out and come back. RADIUS gave that parcel a name, a slot in the packet, and one strikingly modest instruction: carry it home, and keep your hands off the contents.

That instruction was Proxy-State. It is a case study in a rare engineering virtue — knowing precisely how little you have promised, and refusing to promise more.

The short version

  • A proxy could append one private Proxy-State value after the existing ones, then strip its own on the way back. Everyone else had to preserve the earlier values and their relative order — without ever treating the contents as instructions.
  • Nothing required those values to sit in a tidy block at the end of the packet, or even to reach the final server at all. A proxy could hold earlier values locally, provided it put them back in the reply to its own client.
  • Returning state, enforcing policy and authenticating a neighbour were three separate promises. An opaque value and a protected link never added up to trust in every decision along the chain.

Why the last label need not be the last attribute

Picture a RADIUS request carrying two Proxy-State attributes with an attribute of some other type wedged between them. A tidy-minded receiver, expecting all the private labels to huddle together at the end of the packet, might sniff at the arrangement. Under the rules published in June 2000, tidiness was not grounds for rejection.

RFC 2865 required proxies to preserve the order of attributes of the same type. It imposed no fixed order among different types, and receivers could not insist that repeated attributes be contiguous. A proxy adding its own Proxy-State placed it after the earlier Proxy-State values. Another type of attribute could still follow it.

This was not a shrug at untidy formatting. It named exactly which relationship carried meaning. The last Proxy-State belonged to the most recent proxy that had added one; being last in that sequence did not make it last in the packet. The shared rule preserved ownership without prescribing every implementation's preferred furniture arrangement.

The example is a reading of the specification, not a reconstructed outage. It exposes the danger of letting an implementation convention grow louder than the agreement between implementations. A protocol could be exact about the order that mattered and relaxed about the order that did not.

One intermediary, two conversations

In a conventional RADIUS exchange, the network access server was the client. The human seeking access was not — being the user did not make you the RADIUS client. The access equipment sent a request to a server, which could answer it or forward it onward according to its configuration, including the authentication realm.

The forwarding machine was a server to the previous participant and a client to the next. It could be the final server for some realms and a proxy for others. Several forwarding servers could form a chain. Loop avoidance remained necessary; Proxy-State supplied no routing algorithm that made the chain correct on its own.

The June 1999 Informational document RFC 2607 examined this arrangement for roaming between networks. Proxies could simplify relationships, absorb different capabilities, apply policy and handle accounting traffic. The access point and the organization making the authentication decision no longer had to be the same place.

But the same document warned that the security assumptions of the day were unfit for wide Internet deployment. Trust inside one administrative domain did not automatically survive the journey between independent organizations. Its account of deployment at the time should be read as neither a present-day adoption statistic nor a blanket endorsement of the architecture's safety.

A private value with public handling rules

Proxy-State was already present in the April 1997 RFC 2138. The 2000 revision gave a fuller account of proxy behaviour and attribute ordering. It allowed a forwarding server to add one Proxy-State value of its own — one, not a fistful — and adding it was an option, not a duty.

Values supplied by earlier proxies were to be treated as opaque data. The forwarding server's protocol operation could not depend on their private contents. Their actual format and use were left to the site or application that produced them.

That division was deliberate. An intermediary needed to recognize the attribute's boundaries and preserve its bytes; it did not need a common definition of every other intermediary's inner life. Preserving a value is bookkeeping. Interpreting it is legislation — and the spec handed out only the first job.

At the final server, received Proxy-State values were copied unchanged and in order into the response. The obligation applied to Access-Accept, Access-Reject and Access-Challenge alike. A refusal still had to return the information intermediaries needed to finish their work. A value's safe return was never evidence that the user had been let in.

On the way back, a proxy that had added its own value removed the last Proxy-State: its own. Earlier values stayed for earlier proxies. A server that had added nothing was not entitled to remove somebody else's value merely because it happened to be forwarding a response.

The stack analogy holds only within these limits. It explains the reverse sequence of owners reclaiming their information. It does not establish a mandatory contiguous stack at the physical end of the packet, a complete route record, or a shared language for the labels themselves.

The exception that rules out a complete path history

There was a second reason not to mistake Proxy-State for a guestbook signed by every stop on the route. A forwarding server could omit previously received Proxy-State values from the request it sent onward. If it did, it had to reattach them to the response before returning that response to its client.

It could, in other words, honour another participant's state by keeping it locally rather than hauling it all the way to the final server. The outward packet might carry less of the earlier state while the eventual reply still met the earlier participant's expectation.

This matters to anyone reading a trace. An absent value on the next connection does not by itself prove loss. A value returned to its owner does not prove the home server ever saw it. The relevant comparison sits at the interface where the promise was made: what the proxy received from its client, and what it returned to that client.

The choice moved work rather than deleting it. A proxy that retained values locally had to recover them when the reply arrived. The specification did not pick its storage system; it did require the externally visible result. Local implementation freedom came bundled with a local obligation to remember enough to finish the exchange.

Opaque did not mean encrypted

Proxy-State was binary data with a defined attribute length, not a text field awaiting cosmetic improvement. Its value could contain a zero octet. A program that read that zero as a string terminator would amputate information the originating implementation might still need.

Trimming whitespace, changing case or normalizing an apparent string could be equally misguided. The proxy was not the editor of another implementation's private handwriting. Knowing how to identify a value did not entitle it to improve the contents.

Yet opacity offered no magical confidentiality. It described how a participant should refrain from interpreting a value, not a cryptographic wall preventing that participant from seeing it. A rule telling compliant intermediaries to behave never removed a malicious one's physical ability to copy or alter the bytes.

The IANA RADIUS attribute registry supplies common identities for State, Class and Proxy-State: types 24, 25 and 33. Such a registry identifies the shared attribute space. It does not describe every private encoding, attest that a live proxy returned a value correctly, or decide which organization may grant a particular user access.

State was not one undifferentiated thing

The three state-related attributes also ran on different clocks. State could carry server information from an Access-Challenge into the next Access-Request, keeping an authentication conversation alive. Class could ride an Access-Accept into accounting traffic; the base specification recommended carrying it unchanged where accounting was supported. Proxy-State served a forwarding intermediary's return path and was removed by that intermediary.

The December 2007 RFC 5080 clarified that a new or restarted authentication request must not reuse the State of an earlier conversation merely because the user and port were the same. Identity of a person or an access point did not establish continuity of a conversation.

Treating every opaque field as a generic session identifier blurs these distinctions. It can coax a system into keeping a value past the exchange that gave it meaning, deleting it before its intended use, or inferring a stronger relationship than its producer ever promised.

Accounting offered its own example of a bounded commitment. Under the June 2000 Informational RFC 2866, an Accounting-Response followed receipt and successful recording of the request. It was not a mere ping that a packet had grazed a network interface.

But an intermediary could wait for a remote response, or take responsibility for local storage and onward forwarding, as the roaming discussion explored. A confirmation from one participant did not necessarily mean every other organization had already written down the same event. Reading a receipt correctly means knowing who issued it and what work that participant actually took on.

The policy boundary inside the packet

A proxy could modify some attributes to enforce local policy. RFC 2865 nevertheless shielded existing Proxy-State, State and Class values from modification. The message was not wholly immutable, and policy adaptation was not automatically villainy. The prohibition guarded specific information whose preservation mattered to other participants.

Response processing, too, operated between neighbours. The proxy checked the response authenticator using its secret with the remote server, discarded a failed response, restored the Identifier for its client's original request and calculated the response authenticator for that client. The same authenticated envelope did not stay untouched across every administrative boundary.

RFC 2607's security discussion separated intended behaviour from the possibility of a malicious proxy breaking it. A rule against manufacturing a favourable decision was not itself an end-to-end mechanism that made manipulation impossible. Technical capability, permitted protocol behaviour and legitimate authority over another organization are three different claims wearing similar clothes.

The May 2012 Experimental RFC 6614 added RADIUS transport over TLS while keeping intermediaries that could still process messages. The Experimental RADIUS/1.1 profile published in 2025 changed the protection of relevant TLS and DTLS connections further. Neither development made every intermediary vanish, and neither turned private return state into end-to-end proof of policy fidelity.

The earlier shared-secret and MD5 procedures are described here as history, not as current deployment advice. New transport specifications likewise do not prove universal adoption. Each protected relationship has to be understood where it actually begins and ends.

Proxy-State's achievement was narrower than universal trust, and better for it. It made a return obligation precise enough for different implementations to honour without agreeing on what their private memories meant. The label belonged to one piece of work. Carrying it was never a licence to command the whole conversation.