tor_multipath_voip/scripts/thunder-client

16 lines
407 B
Text
Raw Normal View History

2019-09-06 09:20:17 +00:00
#!/bin/bash
2019-09-06 13:28:42 +00:00
mkdir -p $6/{log,shared,res}
2019-09-06 09:20:17 +00:00
donar \
-a thunder \
-c \
2019-09-06 13:28:42 +00:00
-o $6/shared/onion_services.pub \
2019-09-06 09:20:17 +00:00
-l $4 \
2019-09-06 13:28:42 +00:00
-p $5 \
2019-09-06 09:20:17 +00:00
-b \
-r 9000 \
> $5/log/client-donar-stdout.log 2> $5/log/client-donar-stderr.log &
sleep 2
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > $5/res/thunder.csv 2> $5/log/client-measlat-stderr.log