tor_multipath_voip/scripts/xp1-client

8 lines
268 B
Plaintext
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
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`