[tor-bugs] #8683 [Tor]: moria1 isn't voting for Fast flag when it should

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 11 19:15:29 UTC 2013


#8683: moria1 isn't voting for Fast flag when it should
----------------------+-----------------------------------------------------
 Reporter:  arma      |          Owner:                    
     Type:  defect    |         Status:  needs_review      
 Priority:  blocker   |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor       |        Version:                    
 Keywords:  tor-auth  |         Parent:                    
   Points:            |   Actualpoints:                    
----------------------+-----------------------------------------------------

Comment(by nickm):

 Are you sure we used to vote for the Exit flag on non-Running routers?
 Looking at 0.2.3, I see that we do:
 {{{
     if (ri && router_is_active(ri, node, now)) {
       // ...
       node->is_exit = (!router_exit_policy_rejects_all(ri) &&
                        exit_policy_is_general_exit(ri->exit_policy));
 }}}
 And router_is_active returned 0 if the node's is_running flag is not set.

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


More information about the tor-bugs mailing list