10 lines
503 B
Bash
Executable file
10 lines
503 B
Bash
Executable file
#!/bin/bash
|
|
mkdir -p $4/log
|
|
tor -f /etc/torrc > $4/log/client-tor-stdout.log 2> $4/log/client-tor-stderr.log &
|
|
sleep 2
|
|
mkdir -p $4/shared
|
|
donar -a rr -b -h -l 8 -d 1,1 -c -o $4/shared/onion_services.pub -r 9000 > $4/log/client-donar-stdout.log 2> $4/log/client-donar-stderr.log &
|
|
sleep 2
|
|
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
|
|
dump_circuits > $4/log/circuits.txt
|
|
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > $4/res/rrh.csv 2> $4/log/client-measlat-stderr.log
|