SOCKS5 UDP ASSOCIATE (SOCKS5 UDP ASSOCIATE)
UDP ASSOCIATE is the SOCKS5 command that establishes an association for relaying UDP datagrams. Its availability requires compatible client and proxy implementations; successful SOCKS5 TCP forwarding alone does not verify UDP support.
Explanation
Control and data use different paths
RFC 1928 specifies a TCP control connection for negotiating SOCKS5 and requesting the UDP association. The successful reply identifies the relay address and port to which the client sends encapsulated UDP datagrams. This is different from sending arbitrary UDP traffic through a previously established TCP CONNECT tunnel.
The association has a lifetime
The specification ties the UDP association to the TCP connection on which UDP ASSOCIATE arrived: ending that connection terminates the association. An application therefore cannot treat the returned relay endpoint as an indefinitely valid independent service. The UDP request format also carries destination-address information.
Failure visibility differs from HTTP
The RFC describes silent dropping of datagrams the relay cannot or will not forward. Applications must not expect an HTTP error response for every missing UDP reply. Separate association negotiation, client-to-relay reachability and destination response when diagnosing a permitted UDP workload.
Verify the feature actually being purchased
For example, an authorized UDP-based test needs both a client capable of the SOCKS5 UDP exchange and a service that allows it. A successful web-page request only tests the path used by that request. Protocol support in a standard is evidence of defined behavior, not evidence that an individual commercial endpoint implements every command.
Related concepts
References
Sources checked on November 19, 2026. Examples illustrate concepts and are not proxy-service measurements.
Frequently Asked Questions
No. Such a request commonly uses TCP. Test the required UDP path explicitly with compatible software and an authorized target.
Not if the association is to remain valid under RFC 1928; it terminates with the associated TCP connection.
No. The RFC describes silent drops, so missing application replies require context rather than an assumed HTTP status.