aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-17 15:10:51 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-17 15:10:51 +0000
commitd828915136af1aac50b94a4567584b3745b13f8a (patch)
tree427e0fd7b9047de6e991f6d6e3b3024c6b102bef /doc
parentc9c9bdfc1d3e043a67ce926b1d576ca8320426c8 (diff)
downloadtor-d828915136af1aac50b94a4567584b3745b13f8a.tar
tor-d828915136af1aac50b94a4567584b3745b13f8a.tar.gz
r13463@catbus: nickm | 2007-06-17 11:10:17 -0400
Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.) svn:r10639
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/control-spec.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index 4886a4ba8..a0c989c76 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -835,7 +835,8 @@ $Id$
"650" SP "STREAM" SP StreamID SP StreamStatus SP CircID SP Target
[SP "REASON=" Reason [ SP "REMOTE_REASON=" Reason ]]
- [SP "SOURCE=" Source] CRLF
+ [SP "SOURCE=" Source] [ SP "SOURCE_ADDR=" Address ":" Port ]
+ CRLF
StreamStatus =
"NEW" / ; New request to connect
@@ -879,6 +880,11 @@ $Id$
answer, and "EXIT" is given if the remote node we queried gave us
the new address as a response.
+ The "SOURCE_ADDR" field is included with NEW and NEWRESOLVE events if
+ extended events are enabled. It indicates the address that requested
+ the connection, and can be (e.g.) used to look up the requesting
+ program.
+
4.1.3. OR Connection status changed
The syntax is: