[tor-bugs] #9926 [Tor]: Stop being willing to build 2-hop circuits when there aren't 3 relays

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 8 15:24:21 UTC 2013


#9926: Stop being willing to build 2-hop circuits when there aren't 3 relays
------------------------+--------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-client easy
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------
Changes (by nickm):

 * keywords:   => tor-client easy


Comment:

 Agreed, or just replace it with:
 {{{
   if (num_acceptable_routers < 3 || num_acceptable_routers < routelen) {
     log_info(LD_CIRC,
              "Not enough acceptable routers (%d). Discarding this
 circuit.",
              num_acceptable_routers);
     return -1;
   }
 }}}

 In case we need to deal better with long paths in the future.

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


More information about the tor-bugs mailing list