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

[tor-commits] [flashproxy/master] Add ptclient shell script to run a managed transport from the command line.



commit 8101833b81fdf42bb0a6f4dc33891059e365807a
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Nov 11 20:15:37 2012 -0800

    Add ptclient shell script to run a managed transport from the command line.
    
    ./ptclient ./websocket-client --socks=:5000
---
 websocket-transport/ptclient |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/websocket-transport/ptclient b/websocket-transport/ptclient
new file mode 100755
index 0000000..578c4ba
--- /dev/null
+++ b/websocket-transport/ptclient
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Fakes a Tor pluggable transports client environment.
+
+export TOR_PT_MANAGED_TRANSPORT_VER="1"
+export TOR_PT_CLIENT_TRANSPORTS="*"
+
+exec $@



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