diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2014-10-01 14:16:59 +0000 |
---|---|---|
committer | Yawning Angel <yawning@schwanenlied.me> | 2014-10-01 14:16:59 +0000 |
commit | c8132aab9291527db2ba0524fbd84a3041bcd6fd (patch) | |
tree | 1921d6c31e4e1bd2e95912e8df32a612620dc521 /changes | |
parent | b448ec195dd8687d2d5f363e12fec046eb2d1677 (diff) | |
download | tor-c8132aab9291527db2ba0524fbd84a3041bcd6fd.tar.gz tor-c8132aab9291527db2ba0524fbd84a3041bcd6fd.zip |
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.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug13314 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug13314 b/changes/bug13314 new file mode 100644 index 0000000000..e9017fa3a0 --- /dev/null +++ b/changes/bug13314 @@ -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. |