WIP script
This commit is contained in:
parent
99188dffb2
commit
882196850f
8 changed files with 38 additions and 2 deletions
|
@ -6,4 +6,4 @@ mkdir -p ./shared
|
||||||
valgrind donar -a naive -c -o ./shared/onion_services.pub -r 9000 > ./log/client-donar-stdout.log 2> ./log/client-donar-stderr.log &
|
valgrind donar -a naive -c -o ./shared/onion_services.pub -r 9000 > ./log/client-donar-stdout.log 2> ./log/client-donar-stderr.log &
|
||||||
sleep 2
|
sleep 2
|
||||||
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
|
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # 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` 2> ./log/client-measlat-stderr.log
|
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > ./res/naive.csv 2> ./log/client-measlat-stderr.log
|
|
@ -5,4 +5,4 @@ sleep 2
|
||||||
mkdir -p ./shared
|
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/xp2.csv 2> ./log/client-measlat-stderr.log
|
measlat -h $HS -p 7500 -t tor -c $1 -i $2 -s $3 > ./res/orig.csv 2> ./log/client-measlat-stderr.log
|
9
scripts/rr-client
Executable file
9
scripts/rr-client
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
mkdir -p ./log
|
||||||
|
tor -f /etc/torrc > ./log/client-tor-stdout.log 2> ./log/client-tor-stderr.log &
|
||||||
|
sleep 2
|
||||||
|
mkdir -p ./shared
|
||||||
|
valgrind donar -a rr -b -c -o ./shared/onion_services.pub -r 9000 > ./log/client-donar-stdout.log 2> ./log/client-donar-stderr.log &
|
||||||
|
sleep 2
|
||||||
|
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
|
||||||
|
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > ./res/rr.csv 2> ./log/client-measlat-stderr.log
|
9
scripts/rr-server
Executable file
9
scripts/rr-server
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
mkdir -p ./log
|
||||||
|
tor -f /etc/torrc > ./log/server-tor-stdout.log 2> ./log/server-tor-stderr.log &
|
||||||
|
sleep 2
|
||||||
|
mkdir -p ./shared
|
||||||
|
cd ./shared
|
||||||
|
pwd
|
||||||
|
valgrind donar -a rr -b -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
|
9
scripts/rrh-client
Executable file
9
scripts/rrh-client
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
mkdir -p ./log
|
||||||
|
tor -f /etc/torrc > ./log/client-tor-stdout.log 2> ./log/client-tor-stderr.log &
|
||||||
|
sleep 2
|
||||||
|
mkdir -p ./shared
|
||||||
|
valgrind donar -a rr -b -h -c -o ./shared/onion_services.pub -r 9000 > ./log/client-donar-stdout.log 2> ./log/client-donar-stderr.log &
|
||||||
|
sleep 2
|
||||||
|
measlat -h 127.13.3.7 -p 9000 > /dev/null 2>&1 # Used to wait for connections
|
||||||
|
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > ./res/rrh.csv 2> ./log/client-measlat-stderr.log
|
9
scripts/rrh-server
Executable file
9
scripts/rrh-server
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
mkdir -p ./log
|
||||||
|
tor -f /etc/torrc > ./log/server-tor-stdout.log 2> ./log/server-tor-stderr.log &
|
||||||
|
sleep 2
|
||||||
|
mkdir -p ./shared
|
||||||
|
cd ./shared
|
||||||
|
pwd
|
||||||
|
valgrind donar -a rr -b -h -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
|
Loading…
Reference in a new issue