tor_multipath_voip/scripts/xp1-client
Quentin Dufour ba8dcc53ab Quick fixes
2019-03-05 16:32:01 +01:00

7 lines
271 B
Bash
Executable file

#!/bin/bash
tor -f /etc/torrc &
sleep 2
mkdir -p ./shared
donar -a naive -c -o ./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`