Commit a62c03fe authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

Never support IPv6 traffic on a SOCKS4 connection.

parent 898f9c8b
......@@ -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 =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment