mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Apply StrictNodes to hidden service directories early
Previously, we would sometimes decide in directory_get_from_hs_dir()
to connect to an excluded node, and then later in
directory_initiate_command_routerstatus_rend() notice that it was
excluded and strictnodes was set, and catch it as a stopgap.
Additionally, this patch preferentially tries to fetch from
non-excluded nodes even when StrictNodes is off.
Fix for bug #10722. Bugfix on 0.2.0.10-alpha (the v2 hidserv directory
system was introduced in e136f00ca). Reported by "mr-4".
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
o Minor bugfixes:
|
||||
- Consider non-excluded hidden service directory servers before
|
||||
excluded ones. Do not consider excluded hidden service directory
|
||||
servers at all if StrictNodes was set. (Previously, we would
|
||||
sometimes decide to connect to those servers, and then realize
|
||||
before we initiated a connection that we had excluded them.)
|
||||
Fix for bug #10722. Bugfix on 0.2.0.10-alpha. Reported by
|
||||
"mr-4".
|
||||
Reference in New Issue
Block a user