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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Nov 5 01:24:32 UTC 2016


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

Comment (by teor):

 Here's what 25 and 26 look like on the test network, 12 hours apart:
 bandwidth-weights Wbd=0 Wbe=0 Wbg=4081 Wbm=10000 Wdb=10000 Web=10000
 Wed=10000 Wee=10000 Weg=10000 Wem=10000 Wgb=10000 Wgd=0 Wgg=5919 Wgm=5919
 Wmb=10000 Wmd=0 Wme=0 Wmg=4081 Wmm=10000
 bandwidth-weights Wbd=0 Wbe=0 Wbg=3974 Wbm=10000 Wdb=10000 Web=10000
 Wed=10000 Wee=10000 Weg=10000 Wem=10000 Wgb=10000 Wgd=0 Wgg=6026 Wgm=6026
 Wmb=10000 Wmd=0 Wme=0 Wmg=3974 Wmm=10000

 They're almost identical - it seems the change is lost in the actual
 bandwidth changes on the network, and the calculations, which is what we
 wanted to see.

 There's also no issue with the test network swapping between 25 and 26,
 we've done that a few times now, as the authority with the casting vote on
 the consensus method was on a laptop.

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


More information about the tor-bugs mailing list