[tor-commits] [torspec/master] Add some missing GETINFO info/names options

nickm at torproject.org nickm at torproject.org
Fri Nov 23 15:28:33 UTC 2012


commit a14d7f33d4062aa20bc416603b7ef03916f928a0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Nov 23 10:28:13 2012 -0500

    Add some missing GETINFO info/names options
    
    Fixes the items listed in 3844.
---
 control-spec.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/control-spec.txt b/control-spec.txt
index 6819905..1a50256 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -637,6 +637,9 @@
          OptionName SP Documentation CRLF
          OptionPrefix SP Documentation CRLF
          OptionPrefix = OptionName "/*"
+      The OptionPrefix form indicates a number of options beginning with the
+      prefix. So if "config/*" is listed, other options beginning with
+      "config/" will work, but "config/*" itself is not an option.
 
     "events/names"
       A space-separated list of all the events supported by this version of
@@ -708,6 +711,9 @@
     "status/version/current"
       Status of the current version. One of: new, old, unrecommended,
       recommended, new in series, obsolete, unknown.
+    "status/version/num-concurring"
+    "status/version/num-versioning"
+      These options are deprecated; they no longer give useful information.
     "status/clients-seen"
       A summary of which countries we've seen clients from recently,
       formatted the same as the CLIENTS_SEEN status event described in
@@ -724,6 +730,13 @@
       A space-separated list of the addresses at which Tor is listening for
       connections of each specified type.  [New in Tor 0.2.2.26-beta.]
 
+    "dir-usage"
+      A newline-separated list of how many bytes we've served to answer
+      each type of directory request. The format of each line is:
+         Keyword 1*SP Integer 1*SP Integer
+      where the first integer is the number of bytes written, and the second
+      is the number of requests answered.
+
   Examples:
      C: GETINFO version desc/name/moria1
      S: 250+desc/name/moria=



More information about the tor-commits mailing list