[tor-commits] [torspec/master] Clarify GUARD event format: fix bug 7619.

nickm at torproject.org nickm at torproject.org
Fri Mar 15 17:10:11 UTC 2013


commit 4528b69b89d2e8c76450c3da63621c2f39a0c4b0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Mar 14 16:12:31 2013 -0400

    Clarify GUARD event format: fix bug 7619.
---
 control-spec.txt |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/control-spec.txt b/control-spec.txt
index 6ad3ed2..0219542 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -2043,10 +2043,26 @@
   Syntax:
      "650" SP "GUARD" SP Type SP Name SP Status ... CRLF
      Type = "ENTRY"
-     Name = The (possibly verbose) nickname of the guard affected.
+     Name = ServerSpec
+       (Identifies the guard affected)
      Status = "NEW" | "UP" | "DOWN" | "BAD" | "GOOD" | "DROPPED"
 
-  [explain states. XXX]
+  The ENTRY type indicates a guard used for connections to the Tor
+  network.
+
+  The Status values are:
+    "NEW"  -- This node was not previously used as a guard; now we have
+              picked it as one.
+    "DROPPED" -- This node is one we previously picked as a guard; we
+              no longer consider it to be a member of our guard list.
+    "UP"   -- The guard now seems to be reachable.
+    "DOWN" -- The guard now seems to be unreachable.
+    "BAD"  -- Because of flags set in the consensus and/or values in the
+              configuration, this node is now unusable as a guard.
+    "GOOD" -- Because of flags set in the consensus and/or values in the
+              configuration, this node is now usable as a guard.
+
+  Controllers must accept unrecognized types and unrecognized statuses.
 
 4.1.12. Network status has changed
 





More information about the tor-commits mailing list