tor_multipath_voip/scripts/rrhr-server

11 lines
413 B
Text
Raw Normal View History

2019-05-14 12:56:58 +00:00
#!/bin/bash
2019-05-15 09:23:42 +00:00
mkdir -p $1/log
tor -f /etc/torrc > $1/log/server-tor-stdout.log 2> $1/log/server-tor-stderr.log &
2019-05-14 12:56:58 +00:00
sleep 2
2019-05-15 09:23:42 +00:00
mkdir -p $1/shared
cd $1/shared
2019-05-14 12:56:58 +00:00
pwd
2019-05-15 09:23:42 +00:00
( 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