mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
bug1666 - Pass-through support for SOCKS5 authentication
If a SOCKS5 client insists on authentication, allow it to negotiate a connection with Tor's SOCKS server successfully. Any credentials the client provides are ignored. This allows Tor to work with SOCKS5 clients that can only support 'authenticated' connections. Also add a bunch of basic unit tests for SOCKS4/4a/5 support in buffers.c.
This commit is contained in:
@@ -31,8 +31,9 @@ Tor's extensions to the SOCKS protocol
|
||||
SOCKS5:
|
||||
- The (SOCKS5) "UDP ASSOCIATE" command is not supported.
|
||||
- IPv6 is not supported in CONNECT commands.
|
||||
- Only the "NO AUTHENTICATION" (SOCKS5) authentication method [00] is
|
||||
supported.
|
||||
- The "NO AUTHENTICATION" (SOCKS5) authentication method [00] and the
|
||||
"USERNAME/PASSWORD" (SOCKS5) authentication method [02] are both
|
||||
supported. Any credentials passed in the latter are ignored.
|
||||
|
||||
2. Name lookup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user