diff options
author | Roger Dingledine <arma@torproject.org> | 2011-03-11 03:09:24 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-26 23:53:50 -0400 |
commit | 4906188b622872899f76cf01167cfef3e09cbffd (patch) | |
tree | a0e203ce5433bab68756c8651ada974e8f498f58 /src/or/circuitbuild.c | |
parent | ad3da535366aeb9b7441f4881899758bc7475168 (diff) | |
download | tor-4906188b622872899f76cf01167cfef3e09cbffd.tar.gz tor-4906188b622872899f76cf01167cfef3e09cbffd.zip |
handle excludenodes for dir fetch/post
If we're picking a random directory node, never pick an excluded one.
But if we've chosen a specific one (or all), allow it unless strictnodes
is set (in which case warn so the user knows it's their fault).
When warning that we won't connect to a strictly excluded node,
log what it was we were trying to do at that node.
When ExcludeNodes is set but StrictNodes is not set, we only use
non-excluded nodes if we can, but fall back to using excluded nodes
if none of those nodes is usable.
Diffstat (limited to 'src/or/circuitbuild.c')
0 files changed, 0 insertions, 0 deletions