diff options
author | David Goulet <dgoulet@torproject.org> | 2017-04-25 11:55:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-01 15:50:38 -0400 |
commit | 90562fc23a7ce61f3660b507d9991a27af2eae37 (patch) | |
tree | 487fbbad1bcbbcd8772f7a4b721054875c78ab12 /changes | |
parent | 43db91bd87a6f197a93285a87df473616cc1f6c2 (diff) | |
download | tor-90562fc23a7ce61f3660b507d9991a27af2eae37.tar.gz tor-90562fc23a7ce61f3660b507d9991a27af2eae37.zip |
hs: Trigger control event when client can't pick HSDir
Inform the control port with an HS_DESC failed event when the client is unable
to pick an HSDir. It's followed by an empty HS_DESC_CONTENT event. In order to
achieve that, some control port code had to be modified to accept a NULL HSDir
identity digest.
This commit also adds a trigger of a failed event when we are unable to
base64-decode the descriptor cookie.
Fixes #22042
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug22042 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug22042 b/changes/bug22042 new file mode 100644 index 0000000000..c1188df478 --- /dev/null +++ b/changes/bug22042 @@ -0,0 +1,5 @@ + o Minor bugfixes (control, hidden service client): + - Trigger HS descriptor events on the control port when the client is + unable to pick a suitable hidden service directory. This can happen if + they are all in the ExcludeNodes list or they all have been queried + inside the allowed 15 minutes. Fixes bug 22042. |