[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28588 [Core Tor/sbws]: SBWS 'bw_torflow_scale' does not appear to honor relay MaxAdvertisedBandwidth
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs