diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-12 13:49:13 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-12 13:49:13 +0000 |
commit | a7ca56b537e7723f528da7810561bad3d9cc9fab (patch) | |
tree | 441dd520674dd2e154d14ab0f465b94a227d5a2f /doc | |
parent | 2b3a7b818f2ce6fdcded3e3e9133915fa1ff3b3d (diff) | |
download | tor-a7ca56b537e7723f528da7810561bad3d9cc9fab.tar.gz tor-a7ca56b537e7723f528da7810561bad3d9cc9fab.zip |
More work towards a sane digest-based liveness testing.
svn:r5238
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TODO | 17 | ||||
-rw-r--r-- | doc/control-spec.txt | 19 |
2 files changed, 32 insertions, 4 deletions
@@ -43,9 +43,22 @@ R - are dirservers auto-verifying duplicate nicknames? 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 diff --git a/doc/control-spec.txt b/doc/control-spec.txt index 0fd970d991..1666f673b8 100644 --- a/doc/control-spec.txt +++ b/doc/control-spec.txt @@ -167,7 +167,7 @@ $Id$ 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 @@ $Id$ 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 @@ $Id$ 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: |