tor_multipath_voip/scripts/orig-client
2019-09-02 17:09:58 +02:00

9 lines
348 B
Bash
Executable file

#!/bin/bash
mkdir -p $4/{log,shared,res}
pushd $4/shared > /dev/null
HS="`cat onion_services.pub | head -n1`.onion"
popd > /dev/null
measlat -h $HS -p 7500 -t tor > /dev/null 2> $4/log/client-bootstrap-stderr.log # Used to wait for connections
measlat -h $HS -p 7500 -t tor -c $1 -i $2 -s $3 > $4/res/orig.csv 2> $4/log/client-measlat-stderr.log