RFC 9298 lets a CONNECT-UDP proxy report success before the destination has sent a single packet — and that is not a bug, a shortcut, or a polite fiction. It is the honest boundary of a connectionless protocol, written down by David Schinazi in August 2022 and still routinely misread by dashboards everywhere.

Picture the wall. One tile, one line: CONNECT-UDP 200 — healthy. The HTTP exchange completed. A URI named a host and a port. The proxy accepted. And at the exact instant the tile turned green, the destination could have been offline, filtered, black-holed, listening on a different port, or simply silent by temperament.

Nothing in the standard has been violated. The dashboard has just handed the proxy’s testimony to the wrong witness.

The short version

  • RFC 9298 requires a UDP proxy to answer without waiting for a packet from the destination, because UDP has no connection handshake. Success means the proxy opened a socket toward the requested target and is willing to forward payloads.
  • That receipt establishes no target reachability, no payload delivery, no application identity, no application acceptance, and no continuing bidirectional service. DNS resolution, socket state, datagram movement and inner-protocol outcome each need their own evidence.
  • David Schinazi’s most useful contribution here is not a broader promise but a clean limit. Operators build better automation by preserving the standard’s distinction between what the proxy did and what the destination has not yet proved.

Why CONNECT-UDP says yes before the destination answers

RFC 9298 defines how to carry UDP through an HTTP proxy. A client is configured with an absolute URI Template containing target_host and target_port, sends a CONNECT-UDP request, and — depending on HTTP version — completes the exchange through Extended CONNECT or HTTP Upgrade. HTTP Datagrams then carry the UDP payloads. The proxy reconstructs the requested target and opens a UDP socket toward it.

TCP would normally shake hands first. UDP does not. Opening a UDP socket creates local operating-system state and elicits nothing from the far end — no SYN-ACK, no consent, no courtesy nod. RFC 9298 therefore states plainly that the proxy cannot know whether the destination is reachable when it opens the socket, and must respond without waiting for a target packet.

The document then defines success with unusual honesty: the proxy has opened a socket to the requested target and is willing to proxy UDP payloads. Every noun earns its place. The actor is the proxy. The completed act is opening a socket. The policy decision is willingness to forward. Reachability, receipt and application outcome are simply not in the sentence.

That narrowness is not a deficiency awaiting optimistic language. It is the accurate boundary of a connectionless protocol.

DNS resolution is evidence, not a verdict

RFC 9298 does attach one condition when the target is a DNS name: the proxy must resolve it. A DNS failure must reject the request, and the proxy can report it with the dns_error vocabulary from RFC 9209’s Proxy-Status field.

Resolution adds evidence — of a very specific kind. It shows that a resolver produced an address result, under a particular cache and policy, at a particular moment. It does not show that the address hosts the intended application, that the application is accepting traffic, or that the mapping will still hold an hour into the tunnel’s life.

A useful receipt therefore records the input name, the selected address, the address family, resolution time, and cache or TTL context — plus the peer tuple actually bound to the socket. “DNS succeeded” and “target responded” belong in two different columns, forever.

The distinction sharpens when a name changes after the socket opens. The existing socket does not float to the new address because authoritative DNS moved; packets keep travelling to the earlier answer. An operator displaying only the name can make old and new destination state look continuous when nothing of the sort is true.

RFC 9209 supplies more negative vocabulary: a proxy may know a destination is unavailable, prohibited or unroutable. Those observations are gold. But the absence of a recorded error cannot be inverted into positive proof. ICMP may never arrive. A firewall may discard silently. An application may drop syntactically invalid datagrams without answering. Silence has many parents and no single meaning.

A socket is a local fact wearing a remote address

“Opened a socket to the requested target” sounds end-to-end because the target is in the sentence. Operationally, the socket is state owned by the proxy’s host.

If the operating system supports connected UDP sockets, the proxy can use one and let the kernel return only datagrams matching the expected five-tuple. If it uses a non-connected socket, RFC 9298 requires explicit checking of source IP address and UDP source port, discarding mismatches. That is a real anti-spoofing boundary.

It is not application authentication. A datagram matching the requested address and port may still carry an unauthenticated, replayed or meaningless payload. The inner protocol — QUIC, DNS, a game transport, something stranger — has to define peer identity and what counts as acceptance.

Socket lifetime is tied to the HTTP request stream. The proxy keeps the socket open while the stream lives and closes the stream if the socket becomes unusable. An operating-system notification such as ICMP Destination Unreachable can trigger that transition. Inactivity can too, though RFC 9298 advises against any timeout shorter than two minutes.

Two strong receipts fall out: socket-created and socket-closed, with the close reason attached. A continuous certificate of destination health does not. “Still open” means no observed closing condition has ended the local state. It cannot mean every packet would succeed right now.

Datagrams can vanish lawfully inside an accepted tunnel

RFC 9298 rides the HTTP Datagram and Capsule Protocol substrate that Schinazi co-authored with Lucas Pardue in RFC 9297. UDP payloads use Context ID zero; other Context IDs carry extension semantics inside a request-specific namespace.

The machinery deliberately tolerates reordering. A datagram bearing an unknown Context ID may be dropped or briefly buffered while its registration arrives. A datagram that reaches the proxy before its request may also be dropped or buffered. The client is even permitted to send optimistically before the CONNECT-UDP response lands — with the warning that those packets may never be processed if the request fails or the proxy declines to buffer.

Size opens a second delivery gap. Context ID zero cannot carry more than 65,527 bytes of UDP payload, and the outgoing path’s MTU is usually smaller. The proxy must not introduce IP fragmentation and may have no choice but to silently discard an oversized HTTP Datagram.

The result is a protocol where tunnel acceptance and individual datagram forwarding are intentionally separate events. A status derived from the first cannot account for losses in the second. Datagram counters show the proxy observed and attempted to forward. Only an authenticated inner exchange shows the intended application received anything and behaved.

David Schinazi’s real contribution: a disciplined boundary

In August 2022 the IETF published RFC 9298 as a Standards Track document naming David Schinazi as author. The IETF Datatracker profile captured for this article on 2 September 2026 describes him as a senior staff software engineer and senior manager at Google, with work spanning Privacy Proxy, MASQUE and OHTTP, earlier leadership in QUIC and Chrome Networking, and earlier networking work at Apple. Those are capture-dated facts — context, not permanent credentials, and certainly not proof of any deployment.

The wider architecture is collaborative. RFC 9297 is co-authored with Lucas Pardue. RFC 9484 — by Tommy Pauly, Schinazi, Alex Chernyakhovsky, Mirja Kühlewind and Magnus Westerlund — later extends the family to IP proxying and updates the masque well-known URI registration. The MASQUE Working Group is a collective IETF programme. Schinazi should be neither reduced to one sentence in RFC 9298 nor credited with every component around it.

What RFC 9298 contributes to operational thinking is a well-scoped success statement. Standards tend to lose truth on the way to a product dashboard, where several state transitions get compressed into one word because a single green badge is convenient. Here the source document resists the compression. It says exactly what the response means and exposes precisely what remains unknown.

Lu Heng’s doctrine of running-code primacy arrives at the same place from the other direction: a system should claim only the facts its actual execution produced. The proxy can attest to its authorization decision, its resolution step, its socket creation and its forwarding observations. It cannot borrow authority from a target that has not yet emitted evidence.

The note on minimum initial specification supplies the complementary design principle. CONNECT-UDP should stay a small interoperable tunnel contract. Inner protocols define their own acknowledgements, authentication and failure semantics. Forcing a universal application-success claim into the tunnel layer would bloat the common mechanism by pretending every UDP application shares one outcome model.

Five receipts beat one invented certainty

A production system can keep the boundary intact with an event chain rather than a single verdict.

One: proxy authorization. Records the authenticated client or authorization class, requested target, applicable target policy, rate or byte budget, and the allow-or-deny decision. Because arbitrary proxy access can make harmful traffic look like it originates from the proxy, RFC 9298 recommends authenticated users and restrictions on vulnerable destinations — localhost, link-local, multicast, broadcast.

Two: resolution. For a DNS target, the resolver result, selected address, address family and time. For an address literal, the literal and the policy checks. Resolution should never be relabelled as application discovery.

Three: socket state. Creation, local egress identity, connected or non-connected mode, peer tuple, owning request stream, eventual close reason. ICMP-derived errors can appear here without any promise that every network supplies them.

Four: datagram movement. Counters by direction, first and last packet times, bytes, drops by reason, oversized payloads, unknown Context IDs, buffer exhaustion. Bounded and access-controlled — proving movement does not require hoarding sensitive payloads.

Five: the inner protocol’s outcome. A QUIC handshake, an authenticated response, a DNS transaction identifier, an application acknowledgement, an explicit error. Timeouts and retries live here too. This is the only layer that can define what “the destination answered” means for the actual application.

With those receipts, a control plane can display several honest states: proxy ready; name resolved; outbound datagrams observed; inbound datagrams observed; inner handshake complete; application response accepted. The operator learns more than a green lie ever told them, and can see exactly where uncertainty begins.

Success without borrowed testimony

The deepest lesson in RFC 9298 is not that UDP is unreliable — engineers know that in their bones. It is that a well-designed protocol does not claim testimony from an actor that has not spoken.

The proxy can say it is willing and ready. The resolver can say what address it returned. The operating system can report socket transitions. The proxy can count datagrams at its boundary. The application can say whether an authenticated exchange completed. Every statement has an owner, a timestamp and a limited scope.

Automation turns dangerous when it merges those statements and promotes the earliest one to the strongest. A load balancer keeps feeding a silent destination because the HTTP tunnel still opens. An incident responder blames the application for packets discarded at an MTU boundary. A compliance report describes source validation as peer authentication. A capacity model books long-lived, zero-response sockets as useful traffic.

David Schinazi’s RFC hands operators a better vocabulary. A CONNECT-UDP success is not empty; it is exact. It says the proxy finished its part. The responsible next question is not “why doesn’t the status promise more?” It is “whose receipt do we still need before we say the destination answered?”

Sources