tor_multipath_voip/scripts/dup2-client

9 lines
392 B
Text
Raw Normal View History

2019-05-06 15:06:01 +00:00
#!/bin/bash
2019-05-15 13:52:39 +00:00
mkdir -p $4/{log,shared,res}
2019-05-15 09:23:42 +00:00
donar -a dup2 -c -o $4/shared/onion_services.pub -r 9000 > $4/log/client-donar-stdout.log 2> $4/log/client-donar-stderr.log &
2019-05-06 15:06:01 +00:00
sleep 2
2019-09-02 13:50:48 +00:00
2019-05-06 15:06:01 +00:00
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
2019-05-15 09:23:42 +00:00
dump_circuits > $4/log/circuits.txt
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > $4/res/dup2.csv 2> $4/log/client-measlat-stderr.log