mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Send back SOCKS5 errors for all of the address related failures.
Cases that now send errors: * Malformed IP address (SOCKS5_GENERAL_ERROR) * CONNECT/RESOLVE request with IP, when SafeSocks is set (SOCKS5_NOT_ALLOWED) * RESOLVE_PTR request with FQDN (SOCKS5_ADDRESS_TYPE_NOT_SUPPORTED) * Malformed FQDN (SOCKS5_GENERAL_ERROR) * Unknown address type (SOCKS5_ADDRESS_TYPE_NOT_SUPPORTED) Fixes bug 13314.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
o Bugfixes:
|
||||
- Handle malformed SOCKS5 requests properly by responding with an
|
||||
appropriate error message before closing a TCP connection to the
|
||||
user. Fixes bug 13314.
|
||||
Reference in New Issue
Block a user