diff options
author | David Goulet <dgoulet@torproject.org> | 2019-08-29 10:46:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-07 10:20:09 -0400 |
commit | 984a28f3e502c6df9e28057c3e934b98df83d8e9 (patch) | |
tree | 6a7486a90e5d90df6edf3388848a6bd2dbe34f9d /changes/ticket31548 | |
parent | 190386f1c44462fbef568ca9e3c1c997dbebcf12 (diff) | |
download | tor-984a28f3e502c6df9e28057c3e934b98df83d8e9.tar.gz tor-984a28f3e502c6df9e28057c3e934b98df83d8e9.zip |
hs-v3: Make service pick the exact amount of intro points
When encoding introduction points, we were not checking if that intro points
had an established circuit.
When botting up, the service will pick, by default, 3 + 2 intro points and the
first 3 that establish, we use them and upload the descriptor.
However, the intro point is removed from the service descriptor list only when
the circuit has opened and we see that we have already enough intro points, it
is then removed.
But it is possible that the service establishes 3 intro points successfully
before the other(s) have even opened yet.
This lead to the service encoding extra intro points in the descriptor even
though the circuit is not opened or might never establish (#31561).
Fixes #31548
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/ticket31548')
-rw-r--r-- | changes/ticket31548 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/ticket31548 b/changes/ticket31548 new file mode 100644 index 0000000000..fef0b5d01f --- /dev/null +++ b/changes/ticket31548 @@ -0,0 +1,7 @@ + o Major bugfixes (hidden service v3): + - Make onion service always use the exact amount of configured intro points + (or less due to node exlusion). Before, a service could sometimes pick + more intro points than configured with the + HiddenServiceNumIntroductionPoints option. Fixes bug 31548; bugfix on + 0.3.2.1-alpha. + |