Commit ae0c1fb5 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Removed unecessary tcpdump code

parent de77530e
......@@ -48,7 +48,7 @@ def download_file(socks_port):
try:
start = time.time()
subprocess.check_call(["/usr/bin/torsocks", "-P", str(socks_port), "wget", "-O", "/dev/null", "http://mirror.cs.uwaterloo.ca/raspbian/images/apc_apricot_r1.zip"])
subprocess.check_call(["/usr/bin/torsocks", "-P", str(socks_port), "wget", "-O", "/dev/null", "https://mirror.csclub.uwaterloo.ca/ubuntu/dists/bionic/Contents-amd64.gz"])
stop = time.time()
download_time = stop - start
except subprocess.CalledProcessError as e:
......@@ -131,11 +131,6 @@ with open(bridge_lines_file) as f:
try:
logging.info("starting tcpdump for bridge %r" % nickname)
addr = get_address_from_bridge_line(bridge_line)
try:
tcpdump_proc = start_tcpdump(nickname, addr)
except OSError as e:
logging.info("failed to start tcpdump: %s", e)
# Carry on regardless.
logging.info("starting tor for bridge %r" % nickname)
logging.info("Bridge %s" % bridge_line)
......
......@@ -34,8 +34,8 @@ cat("</table>
")
#pdf(width=8.5, height=14)
png(width = 540, height = 840)
pdf(width=8.5, height=14)
#png(width = 540, height = 840)
# runids <- unique(x$runid)
# runids <- runids[order(runids)]
......
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