tor_multipath_voip/scripts/xp1-client

8 lines
271 B
Text
Raw Normal View History

2019-02-22 14:22:06 +00:00
#!/bin/bash
tor -f /etc/torrc &
2019-02-22 16:45:48 +00:00
sleep 2
mkdir -p ./shared
2019-03-05 15:32:01 +00:00
donar -a naive -c -o ./shared/onion_services.pub -r 9000 &
2019-02-22 16:45:48 +00:00
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`