tor_multipath_voip/scripts/xp1-client
2019-02-22 17:45:48 +01:00

8 lines
268 B
Bash
Executable file

#!/bin/bash
tor -f /etc/torrc &
sleep 2
mkdir -p ./shared
donar -a naive -c ./shared/onion_services.pub -r 9000 &
measlat -h 127.13.3.7 -p 9000 # Used to wait for connections
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > `mktemp -p ./res res-XXXXXXXXXXXXXXXX.txt`