[tor-bugs] #28563 [Core Tor/sbws]: Work out how sbws can report excluded relays in the bandwidth file
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Mar 20 01:36:56 UTC 2019
#28563: Work out how sbws can report excluded relays in the bandwidth file
-------------------------------------------------+-------------------------
Reporter: teor | Owner: juga
Type: defect | Status:
| needs_revision
Priority: Medium | Milestone: sbws:
| 1.1.0
Component: Core Tor/sbws | Version:
Severity: Normal | Resolution:
Keywords: tor-bwauth, sbws-1.0-must- | Actual Points:
moved-20181128, sbws-11x-final- |
removed-20190312, sbws-110-proposed, changes- |
version-minor |
Parent ID: #28547 | Points:
Reviewer: nickm | Sponsor:
-------------------------------------------------+-------------------------
Comment (by teor):
Replying to [comment:28 nickm]:
> Left a code review on github; I think this looks okay as a design,
though we need to make sure we don't actually give this output to any tor
authority versions that aren't running with #29806.
We'd really like to deploy this change in sbws, even if the authorities
haven't upgraded to a version of Tor with #29806. (Or even if we decide
not to backport #29806.)
I made some additions to the spec on the pull request, to explain why
that's ok:
{{{
Because Tor versions 0.3.4.11, 0.3.5.8, 0.4.0.2-alpha, and earlier
ignore this KeyValue, generator implementations MUST set "bw=1"
for a relay when Tor directory authorities SHOULD ignore its relay
line. Using the minimum bw value allows authorities that do not
understand "vote=0" or "unmeasured=1" to produce sensible votes
for unmeasured relays.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28563#comment:30>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list