Opened 9 years ago

Last modified 16 months ago

#1193 new defect (None)

Measured BW Authority will not work on private networks with less than 3 scanners

Reported by: fabi Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version: 0.2.2.6-alpha
Severity: Normal Keywords: tor-relay
Cc: fabi, Sebastian, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by nickm)

Since Measured BW votes are only used for consensus if there are at least 3 of them, this scheme will never work on a private tor network with less than 3 auth dirs.
I wonder if it would make sense to reduce this check to only one valid vote to be necessary if TestingTorNetwork is set.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (8)

comment:1 Changed 9 years ago by Sebastian

There are more things that aren't quite right here. Proposal 160 states that
at more than three authorities need to vote on measured bandwidths, but the
code only calls for more than two. The spec seems to not mention any of this
at all.

Another thing I wonder about is whether this is a good idea, in a Tor network
that has many authorities. Do we really want any three to be able to decide
about the bandwidths, even if maybe 20 other authorities don't vote on them?

That last point is the same for consensus params, there seems to be no good
way for a majority of authorities to overrule a minority, except by voting on the
same param with a value that indicates to turn the specific feature off, if that
is possible...

comment:2 Changed 9 years ago by fabi

I think most sense would make a new config option like TestingV3AuthMinBWMeasuredVotes, so that operators of private Networks can decide how many valid votes are needed.

comment:3 Changed 9 years ago by Sebastian

Yes, that certainly sounds like something we could do to make
the problem go away short-term, but I also think the behaviour
of the "real" Tor network is strange.

comment:4 Changed 8 years ago by nickm

Description: modified (diff)
Milestone: Tor: 0.2.3.x-final

Fine idea; somebody needs to bell the cats here though.

comment:5 Changed 7 years ago by nickm

Milestone: Tor: 0.2.3.x-finalTor: unspecified

comment:6 Changed 6 years ago by nickm

Keywords: tor-relay added

comment:7 Changed 6 years ago by nickm

Component: Tor RelayTor

comment:8 Changed 16 months ago by teor

Cc: fabi,Sebastian,nickmfabi, Sebastian, nickm
Severity: Normal

Set all open tickets without a severity to "Normal"

Note: See TracTickets for help on using tickets.