[tor-commits] [flashproxy/master] Add ptserver to fake a pluggable transports server environment.
dcf at torproject.org
dcf at torproject.org
Wed Jan 30 05:11:38 UTC 2013
commit 05ec772527b481c96adbeb468ba5cf36e2bb9b6f
Author: David Fifield <david at bamsoftware.com>
Date: Sun Nov 25 19:17:24 2012 -0800
Add ptserver to fake a pluggable transports server environment.
---
websocket-transport/ptserver | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/websocket-transport/ptserver b/websocket-transport/ptserver
new file mode 100755
index 0000000..5b74112
--- /dev/null
+++ b/websocket-transport/ptserver
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Fakes a Tor pluggable transports server environment.
+
+export TOR_PT_MANAGED_TRANSPORT_VER="1"
+export TOR_PT_SERVER_TRANSPORTS="*"
+export TOR_PT_SERVER_BINDADDR="websocket-127.0.0.1:0"
+export TOR_PT_ORPORT="127.0.0.1:9001"
+
+exec $@
More information about the tor-commits
mailing list