[tor-bugs] #9972 [Tor]: Failed to find node for hop 0 of our path. Discarding this circuit.

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 27 20:59:19 UTC 2014


#9972: Failed to find node for hop 0 of our path. Discarding this circuit.
------------------------+--------------------------------
     Reporter:  mr-4    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:  Tor: 0.2.4.17-rc
   Resolution:          |   Keywords:  tor-client
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by nickm):

 Okay, I think I have a fix, but I need to poke it for a while longer to
 see why the code was doing what it was doing, and whether my fix will
 break something else.

 The first part of this fix is that we need is to change the part of
 choose_random_entry_impl() that does pick_entry_guards(), so that it says:
 {{{
   if (! options->UseBridges &&
       smartlist_len(entry_guards) < num_needed)
     pick_entry_guards(options, for_directory);
 }}}

 (But if we do this, what other cases of entry_list_is_constrained() need
 to change?  And does this actually do the right thing?)

 (And if we do that, do we need to adjust entry_guards_set_from_config?
 The *10 there seems pointless and silly now.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9972#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list