aboutsummaryrefslogtreecommitdiff
path: root/spec/pt-spec/example-client-session.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/pt-spec/example-client-session.md')
-rw-r--r--spec/pt-spec/example-client-session.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/pt-spec/example-client-session.md b/spec/pt-spec/example-client-session.md
new file mode 100644
index 0000000..2f20f5d
--- /dev/null
+++ b/spec/pt-spec/example-client-session.md
@@ -0,0 +1,19 @@
+<a id="pt-spec.txt-A"></a>
+
+# Appendix A: Example Client Pluggable Transport Session
+
+Environment variables:
+
+TOR_PT_MANAGED_TRANSPORT_VER=1
+TOR_PT_STATE_LOCATION=/var/lib/tor/pt_state/
+TOR_PT_EXIT_ON_STDIN_CLOSE=1
+TOR_PT_PROXY=socks5://127.0.0.1:8001
+TOR_PT_CLIENT_TRANSPORTS=obfs3,obfs4
+
+Messages the PT Proxy writes to stdin:
+
+VERSION 1
+PROXY DONE
+CMETHOD obfs3 socks5 127.0.0.1:32525
+CMETHOD obfs4 socks5 127.0.0.1:37347
+CMETHODS DONE