diff options
author | teor <teor2345@gmail.com> | 2017-10-26 14:47:54 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2017-10-26 17:02:46 +1100 |
commit | b4aa8fc3d918cc3aea375985c44abd086f91ae7a (patch) | |
tree | d332b5351241efcf46d46a4d27b6deca6f103f3a /src/or/hs_circuit.c | |
parent | 20b0e9e07d4a1726029c8214e431237a2959f21f (diff) | |
download | tor-b4aa8fc3d918cc3aea375985c44abd086f91ae7a.tar.gz tor-b4aa8fc3d918cc3aea375985c44abd086f91ae7a.zip |
Remove buggy IPv6 support from pick_intro_point() and service_intro_point_new()
The previous version of these functions had the following issues:
* they can't supply both the IPv4 and IPv6 addresses in link specifiers,
* they try to fall back to a 3-hop path when the address for a direct
connection is unreachable, but this isn't supported by
launch_rendezvous_point_circuit(), so it fails.
But we can't fix these things in a bugfix release.
Instead, always put IPv4 addresses in link specifiers.
And if a v3 single onion service can't reach any intro points, fail.
This supports v3 hidden services on IPv4, dual-stack, and IPv6, and
v3 single onion services on IPv4 only.
Part of 23820, bugfix on 0.3.2.1-alpha.
Diffstat (limited to 'src/or/hs_circuit.c')
0 files changed, 0 insertions, 0 deletions