More work towards a sane digest-based liveness testing.

svn:r5238
This commit is contained in:
Nick Mathewson 2005-10-12 13:49:13 +00:00
parent 7e593f0732
commit a5da9c8c02

View File

@ -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: