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-19 07:52:13 +00:00
|
|
|
-p jitter=$5 \
|
2019-09-06 09:20:17 +00:00
|
|
|
-b \
|
|
|
|
-r 9000 \
|
2019-09-06 14:26:19 +00:00
|
|
|
> $6/log/client-donar-stdout.log 2> $6/log/client-donar-stderr.log &
|
2019-09-06 09:20:17 +00:00
|
|
|
sleep 2
|
|
|
|
|
|
|
|
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
|
2019-09-06 14:26:19 +00:00
|
|
|
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > $6/res/thunder.csv 2> $6/log/client-measlat-stderr.log
|