diff options
author | teor <teor@torproject.org> | 2019-08-23 16:17:47 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-08-23 16:22:49 +1000 |
commit | e2e1c07fd25c96a83b38f5d84d2c063b98ed8f46 (patch) | |
tree | 4ee6679c81ae2ad862aa086d30909db6195e82f4 /src/feature/hs/hs_circuit.h | |
parent | 084245134b022aa983c45aa3fc0ace9fd7ae21a9 (diff) | |
download | tor-e2e1c07fd25c96a83b38f5d84d2c063b98ed8f46.tar.gz tor-e2e1c07fd25c96a83b38f5d84d2c063b98ed8f46.zip |
hs: v3 single onion services fall back to 3-hop intro for unreachable nodes
Previously, v3 single onion services failed when all intro nodes were
unreachable via a 1-hop path. Now, we select intros that are only available
via a 3-hop path, and use a 3-hop path to connect to them.
Fixes bug 23507; bugfix on 0.3.2.1-alpha.
Diffstat (limited to 'src/feature/hs/hs_circuit.h')
-rw-r--r-- | src/feature/hs/hs_circuit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/hs/hs_circuit.h b/src/feature/hs/hs_circuit.h index b8d8b25add..e168b301f1 100644 --- a/src/feature/hs/hs_circuit.h +++ b/src/feature/hs/hs_circuit.h @@ -26,7 +26,8 @@ void hs_circ_service_rp_has_opened(const hs_service_t *service, origin_circuit_t *circ); int hs_circ_launch_intro_point(hs_service_t *service, const hs_service_intro_point_t *ip, - extend_info_t *ei); + extend_info_t *ei, + bool direct_conn); int hs_circ_launch_rendezvous_point(const hs_service_t *service, const curve25519_public_key_t *onion_key, const uint8_t *rendezvous_cookie); |