Try to fix orig-client bug

This commit is contained in:
Quentin 2019-05-22 16:30:54 +02:00
parent 761e3f7b78
commit 15cf936c6d

View file

@ -1,5 +1,10 @@
#!/bin/bash
mkdir -p $4/{log,shared,res}
HS="`cat ./shared/onion_services.pub | head -n1`.onion"
measlat -h $HS -p 7500 -t tor # Used to wait for connections
pushd
cd $4/shared
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
measlat -h $HS -p 7500 -t tor -c $1 -i $2 -s $3 > $4/res/orig.csv 2> $4/log/client-measlat-stderr.log