[tor-bugs] #8435 [Tor]: Ignore advertised bandwidths for flags once we have enough measured bandwidths

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 11 14:02:31 UTC 2013


#8435: Ignore advertised bandwidths for flags once we have enough measured
bandwidths
-------------------------+--------------------------------------------------
 Reporter:  andrea       |          Owner:                    
     Type:  enhancement  |         Status:  new               
 Priority:  major        |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor          |        Version:  Tor: unspecified  
 Keywords:  tor-auth     |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by nickm):

 > then have set_routerstatus_from_routerinfo() use a new
 dirserv_get_trusted_bandwidth_for_router() that checks that and returns
 zero if the threshold is met and no measured bandwidth is available.

 I like this idea, except for the name, since it'll sometimes return an
 untrusted bandwidth measure.

 Let's see-- the behavior is "Tell me the measured bw. If we don't have a
 measured bandwidth for this, tell me 0 unless we don't have enough meaured
 bandwidth overall."  I don't see a great way to name a function after that
 behavior, so instead perhaps we should name it after its application.  The
 application is really "Tell me the bandwidth that I should act on when
 deciding things about this router."  Maybe
 dirserv_get_{??}_bandwidth_for_router, where ?? is something like
 "operational" or "actionable"?  I wonder if there's a less buzzwordy word
 we could use for that.

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


More information about the tor-bugs mailing list