aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-08-04 10:03:19 -0400
committerDavid Goulet <dgoulet@torproject.org>2022-08-09 11:01:12 -0400
commit8bf1a86ae1f3f71fa4b8b13f6d8eef5ad5eff8ca (patch)
tree75cafa4f6ce9f1449353d5098286a97a2a381cf3 /doc
parent681c15a32d7d484ba90a32ab4b29b85447e7430c (diff)
downloadtor-8bf1a86ae1f3f71fa4b8b13f6d8eef5ad5eff8ca.tar.gz
tor-8bf1a86ae1f3f71fa4b8b13f6d8eef5ad5eff8ca.zip
dirauth: Make voting flag threshold tunable via torrc
Remove UPTIME_TO_GUARANTEE_STABLE, MTBF_TO_GUARANTEE_STABLE, TIME_KNOWN_TO_GUARANTEE_FAMILIAR WFU_TO_GUARANTEE_GUARD and replace each of them with a tunnable torrc option. Related to #40652 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/tor.1.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/man/tor.1.txt b/doc/man/tor.1.txt
index ba7cdbabc8..641d2d597e 100644
--- a/doc/man/tor.1.txt
+++ b/doc/man/tor.1.txt
@@ -3234,6 +3234,27 @@ on the public Tor network.
nodes to vote Guard for regardless of their uptime and bandwidth. See
<<ExcludeNodes,ExcludeNodes>> for more information on how to specify nodes.
+[[AuthDirVoteGuardBwThresholdFraction]] **AuthDirVoteGuardBwThresholdFraction** __FRACTION__::
+ The Guard flag bandwidth performance threshold fraction that is the
+ fraction representing who gets the Guard flag out of all measured
+ bandwidth. (Default: 0.75)
+
+[[AuthDirVoteGuardGuaranteeTimeKnown]] **AuthDirVoteGuardGuaranteeTimeKnown** __N__ **seconds**|**minutes**|**hours**|**days**|**weeks**::
+ A relay with at least this much weighted time known can be considered
+ familiar enough to be a guard. (Default: 8 days)
+
+[[AuthDirVoteGuardGuaranteeWFU]] **AuthDirVoteGuardGuaranteeWFU** __FRACTION__::
+ A level of weighted fractional uptime (WFU) is that is sufficient to be a
+ Guard. (Default: 0.98)
+
+[[AuthDirVoteStableGuaranteeMinUptime]] **AuthDirVoteStableGuaranteeMinUptime** __N__ **seconds**|**minutes**|**hours**|**days**|**weeks**::
+ If a relay's uptime is at least this value, then it is always considered
+ stable, regardless of the rest of the network. (Default: 30 days)
+
+[[AuthDirVoteStableGuaranteeMTBF]] **AuthDirVoteStableGuaranteeMTBF** __N__ **seconds**|**minutes**|**hours**|**days**|**weeks**::
+ If a relay's mean time between failures (MTBF) is least this value, then
+ it will always be considered stable. (Default: 5 days)
+
[[BridgePassword]] **BridgePassword** __Password__::
If set, contains an HTTP authenticator that tells a bridge authority to
serve all requested bridge information. Used by the (only partially