aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-29 18:13:16 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-29 18:13:16 +0000
commit623fc8c0e1f9c0aa4f1454a685e7805196aa4522 (patch)
tree45389ffc216ea86632993fe75688097b36d599fd /doc
parent8992bf6204b70436c2dc881ffa2d79db40384b38 (diff)
downloadtor-623fc8c0e1f9c0aa4f1454a685e7805196aa4522.tar
tor-623fc8c0e1f9c0aa4f1454a685e7805196aa4522.tar.gz
r9003@Kushana: nickm | 2006-09-29 10:36:05 -0400
Add DESCCHANGED event to control-spec; note that GETINFO dir/* has in fact been implemented. svn:r8531
Diffstat (limited to 'doc')
-rw-r--r--doc/control-spec.txt21
1 files changed, 14 insertions, 7 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index a6757718d..2bc8d7db0 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -173,7 +173,7 @@ $Id$
EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" /
"INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" /
- "AUTHDIR_NEWDESCS"
+ "AUTHDIR_NEWDESCS" / "DESCCHANGED"
Any events *not* listed in the SETEVENTS line are turned off; thus, sending
SETEVENTS with an empty body turns off all event reporting.
@@ -419,12 +419,12 @@ $Id$
"dir/server/d/<D1>+<D2>+<D3>"
"dir/server/authority"
"dir/server/all"
- [DRAFT] [Not Implemented] A series of lines listing directory
- contents, provided according to the specification for the URLs listed
- in Section 4.4 of dir-spec.txt. Note that Tor MUST NOT provide
- private information, such as descriptors for routers not marked as
- general-purpose. When asked for 'authority' information for which this
- Tor is not authoritative, Tor replies with an empty string.
+ A series of lines listing directory contents, provided according to the
+ specification for the URLs listed in Section 4.4 of dir-spec.txt. Note
+ that Tor MUST NOT provide private information, such as descriptors for
+ routers not marked as general-purpose. When asked for 'authority'
+ information for which this Tor is not authoritative, Tor replies with
+ an empty string.
Examples:
C: GETINFO version desc/name/moria1
@@ -773,6 +773,13 @@ $Id$
Action = "ACCEPTED" / "DROPPED" / "REJECTED"
Message = Text
+4.1.9. Our descriptor changed
+
+ Syntax:
+ "650" SP "DESCCHANGED"
+
+ [First added in 0.1.2.2-alpha.]
+
5. Implementation notes
5.1. Authentication