Glossary

SOCKS5 (SOCKS5)

SOCKS5 is version 5 of the SOCKS proxy protocol. It defines method negotiation, destination addressing and relay commands, allowing compatible clients to request connections through a SOCKS server.

Explanation

What happens before application data?

RFC 1928 describes a client connecting to the SOCKS server, offering authentication methods, completing the selected method and submitting a relay request. The destination address can be IPv4, IPv6 or a domain name. The server returns a SOCKS reply before the application exchange proceeds.

This is not the HTTP 407 challenge mechanism. A tool that reports a rejected SOCKS method needs a protocol and authentication check; adding an HTTP authentication header to the destination request does not repair that negotiation.

Check commands rather than a marketing label

The specification includes CONNECT, BIND and UDP ASSOCIATE. A particular service or client can impose implementation and policy limits, so verify the command your task uses. SOCKS5 support in a selector alone is insufficient evidence that the account allows UDP.

Port 1080 is conventional in RFC 1928, not a reason to replace an assigned service port. An illustrative TCP request can ask the proxy to reach a domain on port 443, but the service must allow that destination.

DNS and encryption need separate checks

In curl, socks5 resolves the destination locally, while socks5h passes its hostname to the proxy. Other clients require their own documented settings. RFC 1929 also warns that its username/password subnegotiation carries the password in cleartext. HTTPS inside the later relay does not retroactively protect that earlier exchange.

Further reading

References

Sources checked on November 19, 2026. Scenarios and numerical examples explain the concepts; they are not proxy performance measurements.

Frequently Asked Questions

QDoes SOCKS5 guarantee UDP access?
A

No. Verify UDP ASSOCIATE support and policy in both the service and client.

QDoes SOCKS5 encrypt passwords automatically?
A

No. RFC 1929’s username/password exchange sends the password in cleartext unless protected by another transport arrangement.

QDoes SOCKS5 forward ICMP ping?
A

RFC 1928 explicitly does not provide network-layer gateway services such as ICMP forwarding.

QIs SOCKS5 always faster than HTTP proxying?
A

The protocol name does not establish performance. Compare the same destination, workload and connection conditions.

QMust I always use port 1080?
A

No. Use the assigned endpoint port; 1080 is a conventional service port.

Further Reading
Continue with the latest news and practical guides.