diff options
author | George Kadianakis <desnacked@riseup.net> | 2021-07-12 11:23:00 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2021-07-12 11:24:58 +0300 |
commit | 7ec9a68477d3c5b6937fa39445dc6b95415abb39 (patch) | |
tree | 4bbc3b9644191022fd18faa05a3100f73f63470d /src/test/test_circuitbuild.c | |
parent | 9b464cdc364755fb00b544c31a1e75500a3b84d3 (diff) | |
download | tor-7ec9a68477d3c5b6937fa39445dc6b95415abb39.tar.gz tor-7ec9a68477d3c5b6937fa39445dc6b95415abb39.zip |
Service intro circuits are now 4-hop to avoid linkability by intro
Now the circuits look like this:
client rend: C -> G -> L2 -> Rend
client intro: C -> G -> L2 -> M -> Intro
client hsdir: C -> G -> L2 -> M -> HSDir
service rend: C -> G -> L2 -> M -> Rend
service intro: C -> G -> L2 -> M -> Intro
service hsdir: C -> G -> L2 -> M -> HSDir
Diffstat (limited to 'src/test/test_circuitbuild.c')
-rw-r--r-- | src/test/test_circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_circuitbuild.c b/src/test/test_circuitbuild.c index 873391a84f..0a5c3530bd 100644 --- a/src/test/test_circuitbuild.c +++ b/src/test/test_circuitbuild.c @@ -113,7 +113,7 @@ test_new_route_len_safe_exit(void *arg) /* hidden service connecting to introduction point */ r = new_route_len(CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, &dummy_ei, &dummy_nodes); - tt_int_op(DEFAULT_ROUTE_LEN, OP_EQ, r); + tt_int_op(DEFAULT_ROUTE_LEN+1, OP_EQ, r); /* router testing its own reachability */ r = new_route_len(CIRCUIT_PURPOSE_TESTING, &dummy_ei, &dummy_nodes); |