aboutsummaryrefslogtreecommitdiff
path: root/proposals/180-pluggable-transport.txt
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2012-12-06 16:38:44 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2012-12-06 16:38:44 +0200
commitaeebf8950ad137478b661cc2b6fa4c47c5f88f2f (patch)
treefff700978049e8e2d1fd063f5cffe93806878f65 /proposals/180-pluggable-transport.txt
parent630b334bb0727653f561b477e3cd1ce8a7905c04 (diff)
downloadtorspec-aeebf8950ad137478b661cc2b6fa4c47c5f88f2f.tar.gz
torspec-aeebf8950ad137478b661cc2b6fa4c47c5f88f2f.zip
Some additions related to the Extended ORPort.
Diffstat (limited to 'proposals/180-pluggable-transport.txt')
-rw-r--r--proposals/180-pluggable-transport.txt34
1 files changed, 2 insertions, 32 deletions
diff --git a/proposals/180-pluggable-transport.txt b/proposals/180-pluggable-transport.txt
index cc279c2..2e63f2e 100644
--- a/proposals/180-pluggable-transport.txt
+++ b/proposals/180-pluggable-transport.txt
@@ -443,39 +443,9 @@ Managed proxy interface
should set the environment variable:
TOR_PT_MANAGED_TRANSPORT_VER=1
-The extended ORPort protocol
+The Extended ORPort protocol
- Server transports may need to connect to the bridge and pass
- additional information about client connections that the bridge
- would ordinarily receive from the kernel's TCP stack. To do this,
- they connect to the "extended server port" as given in
- EXTENDED_SERVER_PORT, send a short amount of information, wait for a
- response, and then send the user traffic on that port.
-
- The extended server port protocol is as follows:
-
- COMMAND [2 bytes, big-endian]
- BODYLEN [2 bytes, big-endian]
- BODY [BODYLEN bytes]
-
- Commands sent from the transport to the server are:
-
- [0x0000] DONE: There is no more information to give. (body ignored)
-
- [0x0001] USERADDR: an address:port string that represents the user's
- address. If the transport doesn't actually do addresses,
- this shouldn't be sent.
-
- Replies sent from tor to the proxy are:
-
- [0x1001] OKAY: Send the user's traffic. (body ignored)
-
- [0x1002] DENY: Tor would prefer not to get more traffic from
- this address for a while. (body ignored)
-
- [We could also use an out-of-band signalling method to tell Tor
- about client addresses, but that's a historically error-prone way
- to go about annotating connections.]
+ The Extended ORPort protocol is described in proposal 196.
Advertising bridge methods