[tor-bugs] #14881 [Core Tor/Tor]: incorrect defaults when producing bandwidth-weights line in directory footer

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 2 15:55:27 UTC 2016


#14881: incorrect defaults when producing bandwidth-weights line in directory
footer
-------------------------------------------------+-------------------------
 Reporter:  robgjansen                           |          Owner:  pastly
     Type:  defect                               |         Status:
                                                 |  assigned
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.2.9.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.7
 Severity:  Normal                               |     Resolution:
 Keywords:  027-triaged-1-in, 028-triaged,       |  Actual Points:
  pre028-patch, tor-sponsorU-orphan,             |
  TorCoreTeam-postponed-201604                   |
Parent ID:                                       |         Points:  3
 Reviewer:  mikeperry                            |        Sponsor:
                                                 |  SponsorU-can
-------------------------------------------------+-------------------------

Comment (by pastly):

 I pushed a branch to my public tor repository on github. It's based on a
 slightly outdated release-0.2.8.

 https://github.com/pastly/public-tor/tree/ticket14881

 I will also upload yet another patch, if that's easier. (Please let me
 know either way for future reference).

 I decided to initialize to 1 instead of falling back on 1 based on teor's
 suggested `MIN_METHOD_FOR_INIT_BW_WEIGHTS_ONE` and despite mikeperry's
 concern about minor inaccuracy.

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


More information about the tor-bugs mailing list