commit 891da0b80d5f0d35bff64ef28842ef879f10f395 Author: David Fifield david@bamsoftware.com Date: Sun Oct 16 21:08:41 2011 -0700
Add notes on using an SSH proxy so they don't get lost. --- notes.txt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/notes.txt b/notes.txt index 928b921..61babdc 100644 --- a/notes.txt +++ b/notes.txt @@ -15,3 +15,13 @@ a bridge with a lifetime randomly chosen from some distribution. (For example: "simulate proxies connecting according to this Poisson distribution and staying connected according to this exponential distribution.") + +== How to use with an SSH proxy + +Start swfcat, giving it a relay parameter pointing to your SSH server. + http://example.com/swfcat.swf?facilitator=<facilitator_addr>:<facilitator_port>&relay=<ssh_addr>:<ssh_port> +Start the connector. + python connector.py -f <facilitator_addr:facilitator_port> +Start SSH, giving it a proxy command to connect through the connector. + ssh -v -N -D 1080 <ssh_addr> -p <ssh_port> \ + -o 'ProxyCommand=socat - SOCKS4A:localhost:dummy:0,socksport=9001'