aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-20 21:04:39 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-20 21:04:39 +0000
commit01bc03eff43775d5f293c63d1dec05650a84a420 (patch)
treee87f5d8c8c5d29eced92c407e8f96d215ea9d56a /doc
parent0459db2c0d0e2af23b4db26ce4de555ee29eb7ec (diff)
downloadtor-01bc03eff43775d5f293c63d1dec05650a84a420.tar.gz
tor-01bc03eff43775d5f293c63d1dec05650a84a420.zip
r9312@Kushana: nickm | 2006-10-20 14:45:22 -0400
Add an event type to tell the controller when our opinion of a router status has changed. I might have missed some cases here. svn:r8781
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO8
-rw-r--r--doc/control-spec.txt10
2 files changed, 14 insertions, 4 deletions
diff --git a/doc/TODO b/doc/TODO
index 7c257c0aee..0b429308ba 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -79,9 +79,11 @@ d - Tolerate clock skew on bridge relays.
o A way to examine router flags from controller.
o Specify: GETINFO ns/id/x, ns/name/x, ns/all.
o Implement
-N - A way to alert controller when router flags change.
- - Specify: SETEVENTS NS
- - Implement
+ o A way to alert controller when router flags change.
+ o Specify: SETEVENTS NS
+ o Implement
+N - Hunt for places that change networkstatus info that I might have
+ missed.
d - A way to adjust router flags from the controller
d - a way to pick entries based wholly on extend_info equivalent;
a way to export extend_info equivalent.
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index 49e81995a9..8ded5448e4 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -194,7 +194,8 @@ $Id$
EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" /
"INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" /
"AUTHDIR_NEWDESCS" / "DESCCHANGED" / "STATUS_GENERAL" /
- "STATUS_CLIENT" / "STATUS_SERVER" / "GUARDS"
+ "STATUS_CLIENT" / "STATUS_SERVER" / "GUARDS" / "NS" /
+ "NS_FULL"
Any events *not* listed in the SETEVENTS line are turned off; thus, sending
SETEVENTS with an empty body turns off all event reporting.
@@ -1085,6 +1086,13 @@ $Id$
...
[needs to be fleshed out; not implemented yet]
+4.1.12. Network status has changed
+
+ Syntax:
+ "650" "+" "NS" CRLF 1*NetworkStatus "." CRLF
+
+ [First added in 0.1.2.3-alpha]
+
5. Implementation notes
5.1. Authentication