aboutsummaryrefslogtreecommitdiff
path: root/doc/control-spec.txt
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-11-19 18:35:43 +0000
committerPeter Palfrader <peter@palfrader.org>2005-11-19 18:35:43 +0000
commitb9d37a2d58e76ee233e2501e2e21503540c894ab (patch)
treeac99f1ab9a0df2e683056e74b1fa0a34522e1d88 /doc/control-spec.txt
parent7446c7e6d726eb58954917d58f02529d1ce8e41d (diff)
downloadtor-b9d37a2d58e76ee233e2501e2e21503540c894ab.tar.gz
tor-b9d37a2d58e76ee233e2501e2e21503540c894ab.zip
Add a new controller event type that allows controllers to get all
server descriptors that were uploaded to a router in its role as authoritative dirserver. svn:r5436
Diffstat (limited to 'doc/control-spec.txt')
-rw-r--r--doc/control-spec.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index 65d20eb309..6267187e82 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -171,7 +171,8 @@ $Id$
"SETEVENTS" [SP "EXTENDED"] *(SP EventCode) CRLF
EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" /
- "INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP"
+ "INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" /
+ "AUTHDIR_NEWDESCS"
Any events *not* listed in the SETEVENTS line are turned off; thus, sending
SETEVENTS with an empty body turns off all event reporting.
@@ -676,6 +677,13 @@ $Id$
"650" SP "ADDRMAP" SP Address SP Address SP Expiry
Expiry = DQOUTE ISOTime DQUOTE / "NEVER"
+4.1.8. Descriptors uploaded to us in our role as authoritative dirserver
+
+ Syntax:
+ "650" "+" "AUTHDIR_NEWDESCS" CRLF Action CRLF Message CRLF Descriptor CRLF "." CRLF
+ Action = "ACCEPTED" / "DROPPED" / "REJECTED"
+ Message = Text
+
5. Implementation notes
5.1. Authentication