[tor-bugs] #28588 [Core Tor/sbws]: SBWS 'bw_torflow_scale' does not appear to honor relay MaxAdvertisedBandwidth

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 23 06:58:30 UTC 2018


#28588: SBWS 'bw_torflow_scale' does not appear to honor relay
MaxAdvertisedBandwidth
---------------------------+-------------------------------------
 Reporter:  starlight      |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  sbws 1.0 (MVP must)
Component:  Core Tor/sbws  |        Version:  sbws: 1.0.0
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-------------------------------------

Comment (by juga):

 Replying to [comment:3 teor]:

 > pytorctl's bw_observed is the minimum of all the bandwidths on the
 bandwidth line.
 > It is called bw_observed, but that is a confusing name.
 > {{{
 >       elif kw == "bandwidth":
 >         bws = map(int, g)
 >         bw_observed = min(bws)
 >         rate_limited = False
 >         if bws[0] < bws[1]:
 >           rate_limited = True
 > }}}
 > https://gitweb.torproject.org/pytorctl.git/tree/TorCtl.py#n459
 >

 Auch... Thanks for spotting that.

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


More information about the tor-bugs mailing list