Commit 87832ff8 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Save snowflake client log output for each probe

parent 36a15954
......@@ -125,13 +125,13 @@ for x in range(0, 10):
logging.info("starting tor for bridge %r" % nickname)
tor_config = {
"DataDirectory": datadir,
"Log": "notice file %s" % os.path.join(".", "%s.log" % nickname),
"Log": "notice file %s" % os.path.join(".", "%s-tor.log" % nickname),
"UseBridges": "1",
"ClientTransportPlugin": "snowflake exec %s \
"ClientTransportPlugin": "snowflake exec {} \
-url https://snowflake-broker.torproject.net.global.prod.fastly.net/ \
-front cdn.sstatic.net \
-log snowflake.log \
-ice stun:stun.voip.blackberry.com:3478,stun:stun.altar.com.pl:3478,stun:stun.antisip.com:3478,stun:stun.bluesip.net:3478,stun:stun.dus.net:3478,stun:stun.epygi.com:3478,stun:stun.sonetel.com:3478,stun:stun.sonetel.net:3478,stun:stun.stunprotocol.org:3478,stun:stun.uls.co.za:3478,stun:stun.voipgate.com:3478,stun:stun.voys.nl:3478" % SNOWFLAKE_PATH,
-log {}-client.log \
-ice stun:stun.voip.blackberry.com:3478,stun:stun.altar.com.pl:3478,stun:stun.antisip.com:3478,stun:stun.bluesip.net:3478,stun:stun.dus.net:3478,stun:stun.epygi.com:3478,stun:stun.sonetel.com:3478,stun:stun.sonetel.net:3478,stun:stun.stunprotocol.org:3478,stun:stun.uls.co.za:3478,stun:stun.voipgate.com:3478,stun:stun.voys.nl:3478".format(SNOWFLAKE_PATH, nickname),
"Bridge": "snowflake 192.0.2.3:1",
}
try:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment