[or-cvs] Add error reason to spec: TORPROTOCOL reason means "you are...

Nick Mathewson nickm at seul.org
Tue Mar 1 22:43:26 UTC 2005


Update of /home/or/cvsroot/tor/doc
In directory moria.mit.edu:/tmp/cvs-serv22507/doc

Modified Files:
	tor-spec.txt 
Log Message:
Add error reason to spec: TORPROTOCOL reason means "you are not speaking a version of Tor I understand; say bye-bye to your stream."

Index: tor-spec.txt
===================================================================
RCS file: /home/or/cvsroot/tor/doc/tor-spec.txt,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- tor-spec.txt	1 Mar 2005 22:07:36 -0000	1.78
+++ tor-spec.txt	1 Mar 2005 22:43:24 -0000	1.79
@@ -470,6 +470,8 @@
       10 -- REASON_INTERNAL       (Internal error at the OR)
       11 -- REASON_RESOURCELIMIT  (OR has no resources to fulfill request)
       12 -- REASON_CONNRESET      (Connection was unexpectedly reset)
+      13 -- REASON_TORPROTOCOL    (Sent when closing connection because of
+                                   Tor protocol violations.)
 
    (With REASON_EXITPOLICY, the 4-byte IPv4 address or 16-byte IPv6 address
    forms the optional data; no other reason currently has extra data.)



More information about the tor-commits mailing list