[tor-commits] [torspec/master] Document stream purposes. Fixes 7508.

nickm at torproject.org nickm at torproject.org
Fri Nov 23 16:04:29 UTC 2012


commit e23a24a5c481805f1c8a4b4db04d7beee543f887
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Nov 23 11:04:25 2012 -0500

    Document stream purposes. Fixes 7508.
---
 control-spec.txt |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/control-spec.txt b/control-spec.txt
index 5d12322..5574110 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -1432,7 +1432,18 @@
 
    The "PURPOSE" field is provided only for NEW and NEWRESOLVE events, and
    only if extended events are enabled (see 3.19).  Clients MUST accept
-   purposes not listed above.
+   purposes not listed above.  The purposes above are defined as:
+
+       "DIR_FETCH" -- This stream is generated internally to Tor for
+         fetching directory information.
+       "UPLOAD_DESC" -- Obsolete.
+       "DIR_UPLOAD" -- An internal stream for uploading information to
+         a directory authority.
+       "DIRPORT_TEST" -- A stream we're using to test our own directory
+         port to make sure it's reachable.
+       "DNS_REQUEST" -- A user-initiated DNS request.
+       "USER" -- This stream is handling user traffic, OR it's internal
+         to Tor, but it doesn't match one of the purposes above.
 
 4.1.3. OR Connection status changed
 



More information about the tor-commits mailing list