[tor-bugs] #8684 [Tor]: bwauth files don't include opinions about Authorities

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


#8684: bwauth files don't include opinions about Authorities
----------------------+-----------------------------------------------------
 Reporter:  arma      |          Owner:                    
     Type:  defect    |         Status:  needs_review      
 Priority:  major     |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor       |        Version:                    
 Keywords:  tor-auth  |         Parent:                    
   Points:            |   Actualpoints:                    
----------------------+-----------------------------------------------------

Comment(by arma):

 I found this in torflow.git/NetworkScanners/BwAuthority:
 {{{
     if n.idhex in prev_consensus:
       if prev_consensus[n.idhex].bandwidth != None:
         prev_consensus[n.idhex].measured = True
         tot_net_bw += n.new_bw
       if IGNORE_GUARDS \
            and ("Guard" in prev_consensus[n.idhex].flags and not "Exit" in
 \
                   prev_consensus[n.idhex].flags):
         plog("INFO", "Skipping voting for guard "+n.nick)
         n.ignore = True
       elif "Authority" in prev_consensus[n.idhex].flags:
         plog("DEBUG", "Skipping voting for authority "+n.nick)
         n.ignore = True
 }}}

 Might be a quite easy fix on the bwauth side.

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


More information about the tor-bugs mailing list