diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-31 22:03:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-14 23:16:24 -0500 |
commit | a62c03fe2c60c8323083b5bf1102906da0ab5914 (patch) | |
tree | 65dc6498b2fc4cc45d6171ab8f524eef326fc3d5 /src | |
parent | 898f9c8bcca04320d64963a87ea3bca81113bf6f (diff) | |
download | tor-a62c03fe2c60c8323083b5bf1102906da0ab5914.tar tor-a62c03fe2c60c8323083b5bf1102906da0ab5914.tar.gz |
Never support IPv6 traffic on a SOCKS4 connection.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_edge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 969128fcf..2a46529f0 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1172,6 +1172,9 @@ connection_ap_handshake_rewrite_and_attach(entry_connection_t *conn, } } + if (socks->socks_version == 4) + conn->ipv6_traffic_ok = 0; + if (!conn->use_begindir && !conn->chosen_exit_name && !circ) { /* see if we can find a suitable enclave exit */ const node_t *r = |