[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-dev] [PATCH] Proposal 236 and voting



I inline a patch that specifies how voting should happen in proposal 236.

The changes reflect a discussion I had yesterday with nickm during the
Tor IRC meeting.

BTW, while I like the simplicity of the new vote (just an integer),
I'm afraid that this might hide any misconfigurations of the
guardiness system in authorities. For example, maybe an authority is
misconfigured and considers only 2 consensuses for guardiness data
(instead of 6000 consensuses) and if it publishes only an integer
percentage then we might not notice this misconfiguration. Maybe the
number of consensuses parsed and the number of months considered
should also be mentioned somewhere in the votes?

From de60f2daaab573912fcd78057a93bc7e12eda96c Mon Sep 17 00:00:00 2001
From: George Kadianakis <desnacked@xxxxxxxxxx>
Date: Thu, 21 Aug 2014 13:24:11 +0300
Subject: [PATCH] Specify how Guard Appearance Fraction voting should occur.

---
 proposals/236-single-guard-node.txt | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/proposals/236-single-guard-node.txt b/proposals/236-single-guard-node.txt
index d7c03d3..4bddc3e 100644
--- a/proposals/236-single-guard-node.txt
+++ b/proposals/236-single-guard-node.txt
@@ -111,11 +111,13 @@ Status: Open
    reads a set of consensus documents spanning the past NNN months,
    where NNN is the number of months in the guard rotation period (10
    months if this proposal is adopted in full) and calculates the
-   visibility of the guard; that is, in how many consensuses it has
-   had the guard flag.
+   Guard Appearance Fraction of the guard; that is, the fraction of
+   consensuses it has had the guard flag for.
 
-   The authorities include the age of each guard by appending
-   '[SP "GV=" INT]' in the guard's "w" line.
+   The authorities include the Guard Appearance Fraction of each guard
+   by appending '[SP "GAF=" INT]' in the guard's "w" line. Its value
+   is an integer in [0,100], with 0 meaning that it's a brand new
+   guard, and 100 that it has been in all inspected consensuses.
 
    A guard N that has been visible for V out of NNN*30*24 consensuses
    has had the opportunity to be chosen as a guard by approximately
@@ -142,6 +144,12 @@ Status: Open
    D' = D + F*B, if N has the exit flag
    E' = E + (1-F)*B, if N has the exit flag
 
+1.3.1. Guard Appearance Fraction voting
+
+  If authority votes have different Guard Appearance Fraction values,
+  the final value in the consensus should be the median of all the
+  measured values.
+
 1.4. Raise the bandwidth threshold for being a guard
 
    From dir-spec.txt:
-- 
2.1.0.rc1

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev