Fix scripts
This commit is contained in:
parent
9d0a02e011
commit
36443827ed
4 changed files with 10 additions and 22 deletions
|
@ -1,8 +1,5 @@
|
|||
#!/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
|
||||
mkdir -p $4/{log,shared}
|
||||
donar -a dup2 -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
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
#!/bin/bash
|
||||
mkdir -p $1/log
|
||||
tor -f /etc/torrc > $1/log/server-tor-stdout.log 2> $1/log/server-tor-stderr.log &
|
||||
sleep 2
|
||||
mkdir -p $1/shared
|
||||
mkdir -p $1/{log,shared}
|
||||
cd $1/shared
|
||||
pwd
|
||||
( sleep 180; dump_circuits > $1/log/server-circuits.txt ) &
|
||||
donar -a dup2 -s -e 9000 > $1/log/server-donar-stdout.log 2> $1/log/server-donar-stderr.log &
|
||||
udpecho -p 9000 > $1/log/server-udpecho-stdout.log 2> $1/log/server-udpecho-stderr.log
|
||||
( sleep 180; dump_circuits > ../log/server-circuits.txt ) &
|
||||
donar -a dup2 -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
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/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
|
||||
mkdir -p $4/{log,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
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
#!/bin/bash
|
||||
mkdir -p $1/log
|
||||
tor -f /etc/torrc > $1/log/server-tor-stdout.log 2> $1/log/server-tor-stderr.log &
|
||||
sleep 2
|
||||
mkdir -p $1/shared
|
||||
mkdir -p $1/{log,shared}
|
||||
cd $1/shared
|
||||
pwd
|
||||
( sleep 180; dump_circuits > $1/log/server-circuits.txt ) &
|
||||
donar -a rr -l 8 -b -h -d 1,1 -s -e 9000 > $1/log/server-donar-stdout.log 2> $1/log/server-donar-stderr.log &
|
||||
udpecho -p 9000 > $1/log/server-udpecho-stdout.log 2> $1/log/server-udpecho-stderr.log
|
||||
( 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 &
|
||||
udpecho -p 9000 > ../log/server-udpecho-stdout.log 2> ../log/server-udpecho-stderr.log
|
||||
|
|
Loading…
Reference in a new issue