2019-02-22 14:22:06 +00:00
|
|
|
#!/bin/bash
|
2019-03-06 15:39:39 +00:00
|
|
|
mkdir -p ./log
|
|
|
|
tor -f /etc/torrc > ./log/client-tor-stdout.log 2> ./log/client-tor-stderr.log &
|
2019-02-22 16:45:48 +00:00
|
|
|
sleep 2
|
|
|
|
mkdir -p ./shared
|
2019-04-01 09:12:38 +00:00
|
|
|
donar -a rr -b -c -o ./shared/onion_services.pub -r 9000 > ./log/client-donar-stdout.log 2> ./log/client-donar-stderr.log &
|
2019-03-06 15:39:39 +00:00
|
|
|
sleep 2
|
|
|
|
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
|
2019-03-28 15:59:03 +00:00
|
|
|
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > ./res/rr.csv 2> ./log/client-measlat-stderr.log
|