mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Never support IPv6 traffic on a SOCKS4 connection.
This commit is contained in:
parent
898f9c8bcc
commit
a62c03fe2c
@ -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) {
|
if (!conn->use_begindir && !conn->chosen_exit_name && !circ) {
|
||||||
/* see if we can find a suitable enclave exit */
|
/* see if we can find a suitable enclave exit */
|
||||||
const node_t *r =
|
const node_t *r =
|
||||||
|
Loading…
Reference in New Issue
Block a user