Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4484 closed enhancement (implemented)

parameterize bandwidth cutoffs for Guard and Fast flags

Reported by: arma Owned by:
Priority: Medium Milestone: Tor: 0.2.2.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: tor-auth
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Right now we guarantee the Fast flag to any node with (a hard-coded) 20KB of bandwidth, and guarantee the Guard flag to any node with (also hard-coded) 250KB of bandwidth.

We should turn those into parameters, since the nice people doing Tor network simulations don't want to hack our code between sims when comparing values. We should do it in 0.2.2 so they can do simulations on stable Tor too.

(In a later ticket I'm going to suggest that 20KB has become a dumb value for AuthDirFastGuarantee, but that's a bug, not this feature.)

Child Tickets

Change History (5)

comment:1 Changed 7 years ago by arma

Status: newneeds_review

See feature4484 branch in my git repo.

comment:2 Changed 7 years ago by nickm

Looks okay to merge once you add a manpage entry. :)

comment:3 Changed 7 years ago by arma

Resolution: implemented
Status: needs_reviewclosed

Done and merged.

comment:4 Changed 7 years ago by nickm

Keywords: tor-auth added

comment:5 Changed 7 years ago by nickm

Component: Tor Directory AuthorityTor
Note: See TracTickets for help on using tickets.