2019-05-06 15:06:01 +00:00
|
|
|
#!/bin/bash
|
2019-09-02 14:35:01 +00:00
|
|
|
mkdir -p $5/{log,shared,res}
|
|
|
|
donar \
|
|
|
|
-a dup2 \
|
|
|
|
-c \
|
|
|
|
-o $5/shared/onion_services.pub \
|
2019-09-04 09:06:47 +00:00
|
|
|
-l $4 \
|
|
|
|
-b \
|
2019-09-02 14:35:01 +00:00
|
|
|
-r 9000 \
|
|
|
|
> $5/log/client-donar-stdout.log 2> $5/log/client-donar-stderr.log &
|
2019-05-06 15:06:01 +00:00
|
|
|
sleep 2
|
2019-09-02 13:50:48 +00:00
|
|
|
|
2019-05-06 15:06:01 +00:00
|
|
|
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
|
2019-09-02 14:35:01 +00:00
|
|
|
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > $5/res/dup2.csv 2> $5/log/client-measlat-stderr.log
|