summaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-30 15:17:01 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-30 15:17:01 +0000
commit7709fb7143cc272c04f9de3970e4ac0fe3a000d6 (patch)
tree8def34d3b4ee29b42513b8f7057249a2674e3a6a /doc/spec
parent07621f090fd11d2f1b7db6df3b3c87f46318259f (diff)
downloadtor-7709fb7143cc272c04f9de3970e4ac0fe3a000d6.tar.gz
tor-7709fb7143cc272c04f9de3970e4ac0fe3a000d6.zip
r16278@catbus: nickm | 2007-10-30 09:46:28 -0400
Accept future networkstatus documents, but warn about skew when we get them. svn:r12282
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/control-spec.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index a2826241c3..424deea736 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -1200,12 +1200,14 @@ $Id$
CLOCK_SKEW
SKEW="+" / "-" SECONDS
- SOURCE="DIRSERV:IP:Port" / "NETWORKSTATUS:IP:PORT"
+ SOURCE="DIRSERV:IP:Port" / "NETWORKSTATUS:IP:PORT" / "CONSENSUS"
If "SKEW" is present, it's an estimate of how far we are from the
time declared in the source. If the source is a DIRSERV, we got
the current time from a connection to a dirserver. If the source is
- a NETWORKSTATUS, we decided we're skewed because we got a
- networkstatus from far in the future.
+ a NETWORKSTATUS, we decided we're skewed because we got a v2
+ networkstatus from far in the future. If the source is
+ CONSENSUS, we decided we're skewed because we got a networkstatus
+ consensus from the future.
{Controllers may want to warn the user if the skew is high, or if
multiple skew messages appear at severity WARN. Controllers