Support multiple transports in a single transport line.

Support multiple comma-separated transpotrs in a single
{Client,Server}TransportPlugin line.
This commit is contained in:
George Kadianakis 2011-10-05 16:41:09 +02:00
parent 0b0dae8c57
commit ef5a3c9340

View File

@ -188,7 +188,7 @@ Specifications: Client behavior
'trubuchet' connections, and Tor doesn't need to worry about it.
A managed proxy is configured with
ClientTransportPlugin <method> exec <path> [options]
ClientTransportPlugin <methods> exec <path> [options]
as in
"ClientTransportPlugin trebuchet exec /usr/libexec/trebuchet --managed".
This example tells Tor to launch an external program to provide a
@ -197,6 +197,10 @@ Specifications: Client behavior
options, even if the same executable and options are listed for
more than one method.
In managed proxies, <methods> can be a comma-separated list of
pluggable transport method names, as in:
"ClientTransportPlugin pawn,bishop,rook exec /bin/ptproxy --managed".
If instead of a transport method, the torrc lists "*" for a managed
proxy, Tor uses that proxy for all transport methods that the plugin
supports. So "ClientTransportPlugin * exec /usr/libexec/tor/foobar"
@ -235,7 +239,7 @@ Server behavior
configuration information that we'll tell users.
A managed proxy is configured as
ServerTransportPlugin <method> exec </path/to/binary> [options]
ServerTransportPlugin <methods> exec </path/to/binary> [options]
or
ServerTransportPlugin * exec </path/to/binary> [options]