[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] More work towards a sane digest-based liveness testing.
Update of /home/or/cvsroot/tor/doc
In directory moria:/tmp/cvs-serv4187/doc
Modified Files:
TODO control-spec.txt
Log Message:
More work towards a sane digest-based liveness testing.
Index: TODO
===================================================================
RCS file: /home/or/cvsroot/tor/doc/TODO,v
retrieving revision 1.370
retrieving revision 1.371
diff -u -d -r1.370 -r1.371
--- TODO 5 Oct 2005 23:21:37 -0000 1.370
+++ TODO 12 Oct 2005 13:49:13 -0000 1.371
@@ -43,9 +43,22 @@
o controller libs should support resetconf command.
N . Additional controller features
- - Find a way to make event info more extensible
+ o Find a way to make event info more extensible
- change circuit status events to give more details, like purpose,
- whether they're internal, etc.
+ whether they're internal, when they become dirty, when they become
+ too dirty for further circuits, etc.
+R - What do we want here, exactly?
+N - Specify and implement it.
+ - Change stream status events analogously.
+R - What do we want here, exactly?
+N - Specify and implement it.
+ - Make other events "better".
+ - Change stream status events analogously.
+R - What do we want here, exactly?
+N - Specify and implement it.
+ - Make other events "better" analogously
+R - What do we want here, exactly?
+N - Specify and implement it.
. Expose more information via getinfo:
- import and export rendezvous descriptors
- Review all static fields for additional candidates
Index: control-spec.txt
===================================================================
RCS file: /home/or/cvsroot/tor/doc/control-spec.txt,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- control-spec.txt 14 Sep 2005 02:46:16 -0000 1.56
+++ control-spec.txt 12 Oct 2005 13:49:13 -0000 1.57
@@ -167,7 +167,7 @@
Request the server to inform the client about interesting events. The
syntax is:
- "SETEVENTS" *(SP EventCode) CRLF
+ "SETEVENTS" [SP "EXTENDED"] *(SP EventCode) CRLF
EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" /
"INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP"
@@ -179,6 +179,12 @@
Unrecognized event" reply if one of the event codes isn't recognized. (On
error, the list of active event codes isn't changed.)
+ If the flag string "EXTENDED" is provided, Tor may provide extra
+ information with events for this connection; see 4.1 for more information.
+ NOTE: All events on a given connection will be provided in extended format,
+ or none.
+ NOTE: "EXTENDED" is only supported in Tor 0.1.1.9-alpha or later.
+
3.5. AUTHENTICATE
Sent from the client to the server. The syntax is:
@@ -579,10 +585,19 @@
expected. For instance, a client that expects a CIRC message like:
650 CIRC 1000 EXTENDED moria1,moria2
should tolerate:
- 650+CIRC 1000 EXTENDED moria1,moria2 0xBEEF
+ 650-CIRC 1000 EXTENDED moria1,moria2 0xBEEF
650-EXTRAMAGIC=99
650 ANONYMITY=high
+ If clients ask for extended events, then each event line as specified below
+ will be followed by additional extensions. Clients that do so MUST
+ tolerate additional arguments and lines. Additional lines will be of the
+ form
+ "650" ("-"/" ") KEYWORD ["=" ARGUMENTS] CRLF
+ Additional arguments will be of the form
+ SP KEYWORD ["=" ( QuoutedString / * NonSpDquote ) ]
+ Such clients MUST tolerate lines with keywords they do not recognize.
+
4.1.1. Circuit status changed
The syntax is: