Fix orig script
This commit is contained in:
parent
51da1d96bb
commit
761e3f7b78
3 changed files with 5 additions and 12 deletions
|
@ -1,8 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p ./log
|
mkdir -p $4/{log,shared,res}
|
||||||
tor -f /etc/torrc > ./log/client-tor-stdout.log 2> ./log/client-tor-stderr.log &
|
|
||||||
sleep 2
|
|
||||||
mkdir -p ./shared
|
|
||||||
HS="`cat ./shared/onion_services.pub | head -n1`.onion"
|
HS="`cat ./shared/onion_services.pub | head -n1`.onion"
|
||||||
measlat -h $HS -p 7500 -t tor # Used to wait for connections
|
measlat -h $HS -p 7500 -t tor # Used to wait for connections
|
||||||
measlat -h $HS -p 7500 -t tor -c $1 -i $2 -s $3 > ./res/orig.csv 2> ./log/client-measlat-stderr.log
|
measlat -h $HS -p 7500 -t tor -c $1 -i $2 -s $3 > $4/res/orig.csv 2> $4/log/client-measlat-stderr.log
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p ./log
|
mkdir -p $1/{log,shared}
|
||||||
tor -f /etc/torrc > ./log/server-tor-stdout.log 2> ./log/server-tor-stderr.log &
|
cd $1/shared
|
||||||
sleep 2
|
|
||||||
mkdir -p ./shared
|
|
||||||
cd ./shared
|
|
||||||
torecho > ../log/server-udpecho-stdout.log 2> ../log/server-udpecho-stderr.log
|
torecho > ../log/server-udpecho-stdout.log 2> ../log/server-udpecho-stderr.log
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p $1/{log,shared}
|
mkdir -p $1/{log,shared}
|
||||||
cd $1/shared
|
cd $1/shared
|
||||||
pwd
|
#( sleep 180; dump_circuits > ../log/server-circuits.txt ) &
|
||||||
( sleep 180; dump_circuits > ../log/server-circuits.txt ) &
|
|
||||||
donar -a rr -l 8 -b -h -d 1,1 -s -e 9000 > ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
donar -a rr -l 8 -b -h -d 1,1 -s -e 9000 > ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
udpecho -p 9000 > ../log/server-udpecho-stdout.log 2> ../log/server-udpecho-stderr.log
|
udpecho -p 9000 > ../log/server-udpecho-stdout.log 2> ../log/server-udpecho-stderr.log
|
||||||
|
|
Loading…
Reference in a new issue