[or-cvs] Describe how to detect v0 or v1 protocol
Nick Mathewson
nickm at seul.org
Fri Jun 24 18:04:02 UTC 2005
Update of /home/or/cvsroot/tor/doc
In directory moria:/tmp/cvs-serv22266/doc
Modified Files:
control-spec.txt
Log Message:
Describe how to detect v0 or v1 protocol
Index: control-spec.txt
===================================================================
RCS file: /home/or/cvsroot/tor/doc/control-spec.txt,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- control-spec.txt 19 Jun 2005 23:22:34 -0000 1.42
+++ control-spec.txt 24 Jun 2005 18:04:00 -0000 1.43
@@ -635,7 +635,11 @@
5.3. Backward compatibility
For backward compatibility with the "version 0" control protocol, Tor checks
- whether the third byte the first command is zero. If it is, Tor
+ whether the third octet the first command is zero. If it is, Tor
assumes that version 0 is in use. This feature is deprecated, and will be
removed in the 0.1.2.x Tor development series.
+ In order to detect which version of the protocol is supported controllers
+ should send the sequence [00 00 0D 0A]. This is a valid and unrecognized
+ command in both protocol versions, and implementations can detect which
+ error they have received.
More information about the tor-commits
mailing list