aboutsummaryrefslogtreecommitdiff
path: root/pt-spec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pt-spec.txt')
-rw-r--r--pt-spec.txt40
1 files changed, 22 insertions, 18 deletions
diff --git a/pt-spec.txt b/pt-spec.txt
index 4cefcfe..2cc02bd 100644
--- a/pt-spec.txt
+++ b/pt-spec.txt
@@ -139,29 +139,33 @@ Server behavior
then Tor will launch the megaproxy binary twice: once with the option
--foo and once with the option --bar.
- The address that a managed proxy will use to bind can be configured with:
- ServerTransportListenAddr <method> <address:port>
+ Specify bind address
- For example, a valid configuration would be:
- ServerTransportPlugin obfs2,obfs3,stegotorus exec /usr/bin/obfsproxy --managed
- ServerTransportListenAddr obfs2 0.0.0.0:4200
- ServerTransportListenAddr stegotorus 98.23.4.45:6559
+ The address that a managed proxy will use to bind can be configured with:
+ ServerTransportListenAddr <method> <address:port>
- If no ServerTransportListenAddr is specified and it's the first time
- that Tor encounters that transport, Tor will instruct the managed
- proxy to bind to a random TCP port on 0.0.0.0. If Tor has seen the
- trasport before, it will instruct the managed proxy to bind to the
- same TCP port that the transport used last time.
+ For example, a valid configuration would be:
+ ServerTransportPlugin obfs2,obfs3,stegotorus exec /usr/bin/obfsproxy --managed
+ ServerTransportListenAddr obfs2 0.0.0.0:4200
+ ServerTransportListenAddr stegotorus 98.23.4.45:6559
- Further configuration parameters (like the k=v values passed to
- client-transports using the Bridge line) can be passed to
- server-transports using the ServerTransportOptions option.
+ If no ServerTransportListenAddr is specified and it's the first time
+ that Tor encounters that transport, Tor will instruct the managed
+ proxy to bind to a random TCP port on 0.0.0.0. If Tor has seen the
+ trasport before, it will instruct the managed proxy to bind to the
+ same TCP port that the transport used last time.
- The format of the ServerTransportOptions line is:
- ServerTransportOptions <method> <k=v> ...
+ Specify additional configuration parameters
- For example, a valid instance of this line would be:
- ServerTransportOptions trebuchet secret=nou cache=/tmp/cache
+ Further configuration parameters (like the k=v values passed to
+ client-transports using the Bridge line) can be passed to
+ server-transports using the ServerTransportOptions option.
+
+ The format of the ServerTransportOptions line is:
+ ServerTransportOptions <method> <k=v> ...
+
+ For example, a valid instance of this line would be:
+ ServerTransportOptions trebuchet secret=nou cache=/tmp/cache
Managed proxy interface