tor_multipath_voip/scripts/orig-client

9 lines
351 B
Text
Raw Normal View History

2019-03-11 14:41:42 +00:00
#!/bin/bash
mkdir -p ./log
tor -f /etc/torrc > ./log/client-tor-stdout.log 2> ./log/client-tor-stderr.log &
sleep 2
mkdir -p ./shared
HS="`cat ./shared/onion_services.pub | head -n1`.onion"
2019-03-11 14:48:57 +00:00
measlat -h $HS -p 7500 -t tor # Used to wait for connections
2019-03-28 15:59:03 +00:00
measlat -h $HS -p 7500 -t tor -c $1 -i $2 -s $3 > ./res/orig.csv 2> ./log/client-measlat-stderr.log