aboutsummaryrefslogtreecommitdiff
path: root/proposals/107-uptime-sanity-checking.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-10 07:39:20 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-10 07:39:20 +0000
commitecacfa89b63e009a4cdbe546ec606979dc20230c (patch)
treef4acaea330aa1227953647ffca673b7cb097dbf0 /proposals/107-uptime-sanity-checking.txt
parenta0489cda3a8f58f1c18efa6f4fb0241cd3781b94 (diff)
downloadtorspec-ecacfa89b63e009a4cdbe546ec606979dc20230c.tar.gz
torspec-ecacfa89b63e009a4cdbe546ec606979dc20230c.zip
r12521@Kushana: nickm | 2007-03-10 01:15:58 -0500
Update and close proposal 107. svn:r9792
Diffstat (limited to 'proposals/107-uptime-sanity-checking.txt')
-rw-r--r--proposals/107-uptime-sanity-checking.txt28
1 files changed, 17 insertions, 11 deletions
diff --git a/proposals/107-uptime-sanity-checking.txt b/proposals/107-uptime-sanity-checking.txt
index 57ec841..8776950 100644
--- a/proposals/107-uptime-sanity-checking.txt
+++ b/proposals/107-uptime-sanity-checking.txt
@@ -2,7 +2,7 @@ Filename: 107-uptime-sanity-checking.txt
Title: Uptime Sanity Checking
Version:
Last-Modified:
-Author: Kevin Buaer and Damon McCoy
+Author: Kevin Bauer & Damon McCoy
Created: 8-March-2007
Status: Open
@@ -28,10 +28,14 @@ Security implications:
Specification:
- We propose that uptime be capped at two months. Currently there are
- approximetly 50 nodes with this amount of uptime, and the average uptime
- is around 9 days. This cap would prevent these 50 nodes from being
- displaced by an attacker.
+ So we could patch Section 3.1 of dir-spec.txt to say:
+
+ "Stable" -- A router is 'Stable' if it is running, valid, not
+ hibernating, and either its uptime is at least the median uptime for
+ known running, valid, non-hibernating routers, or its uptime is at
+ least one month. Routers are never called stable if they are running
+ a version of Tor known to drop circuits stupidly. (0.1.1.10-alpha
+ through 0.1.1.16-rc are stupid this way.)
Compatibility:
@@ -39,10 +43,12 @@ Compatibility:
Implementation:
- #define MAX_BELIEVABLE_UPTIME 60*24*60*60
- dirserv.c
- 1448: *up = (uint32_t) real_uptime(ri, now);
- if(*up > MAX_BELIEVABLE_UPTIME) {
- *up = MAX_BELIEVABLE_UPTIME;
- }
+ Implemented and merged into dir-spec in 0.2.0.0-alpha-dev (r9788).
+
+Discussion:
+
+ Initially, this proposal set the maximum at 50 days, not 30; the 30 day
+ limit and spec wording was suggested by Roger in an or-dev post on 9 March
+ 2007.
+ This proposal also led to 108-mtbf-based-uptime.txt