[tor-bugs] #14124 [Tor]: No, don't mark my guard as unreachable. Nothing is reachable.
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Jan 6 20:04:52 UTC 2015
#14124: No, don't mark my guard as unreachable. Nothing is reachable.
-------------------------+---------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
-------------------------+---------------------
Tor should provide a means for the user to express their preference for
Tor to not be so hasty to give up and choose a new guard, even if that
means no connection to the Tor network at all. The `AssumeReachable`
option could be repurposed for this.
{{{#!diff
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -794,7 +794,7 @@ entry_guard_register_connect_status(const char
*digest, int succeeded,
smartlist_del_keeporder(entry_guards, idx);
log_entry_guards(LOG_INFO);
changed = 1;
- } else if (!entry->unreachable_since) {
+ } else if (!entry->unreachable_since &&
!get_options()->AssumeReachable) {
log_info(LD_CIRC, "Unable to connect to entry guard '%s' (%s). "
"Marking as unreachable.", entry->nickname, buf);
entry->unreachable_since = entry->last_attempted = now;
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14124>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list