tor_multipath_voip/scripts/dup2-server

10 lines
397 B
Bash
Executable file

#!/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
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