#!/bin/bash tor -f /etc/torrc & sleep 2 mkdir -p ./shared donar -a naive -c ./shared/onion_services.pub -r 9000 & measlat -h 127.13.3.7 -p 9000 # Used to wait for connections measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > `mktemp -p ./res res-XXXXXXXXXXXXXXXX.txt`