[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Add ptserver to fake a pluggable transports server environment.



commit 05ec772527b481c96adbeb468ba5cf36e2bb9b6f
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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 $@



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits