2019-03-11 15:41:42 +01:00
|
|
|
#!/bin/bash
|
2019-05-21 16:41:03 +02:00
|
|
|
mkdir -p $4/{log,shared,res}
|
2019-05-22 16:30:54 +02:00
|
|
|
|
2019-05-23 11:03:25 +02:00
|
|
|
pushd $4/shared
|
2019-05-22 16:30:54 +02:00
|
|
|
HS="`cat onion_services.pub | head -n1`.onion"
|
|
|
|
popd
|
|
|
|
|
|
|
|
measlat -h $HS -p 7500 -t tor > /dev/null 2> $4/log/client-bootstrap-stderr.log # Used to wait for connections
|
2019-05-21 16:41:03 +02:00
|
|
|
measlat -h $HS -p 7500 -t tor -c $1 -i $2 -s $3 > $4/res/orig.csv 2> $4/log/client-measlat-stderr.log
|