Final script
This commit is contained in:
parent
6b217eebb7
commit
da4e270d87
3 changed files with 7 additions and 11 deletions
|
@ -84,7 +84,7 @@ ggplot(data=xz, aes(y=lat, x=conf)) +
|
||||||
theme_classic()
|
theme_classic()
|
||||||
|
|
||||||
xa <- sqldf("select packet_id,1.0 * MIN(latency) / 1000.0 as lat,way,conf,run from xy group by packet_id,way,conf,run")
|
xa <- sqldf("select packet_id,1.0 * MIN(latency) / 1000.0 as lat,way,conf,run from xy group by packet_id,way,conf,run")
|
||||||
ggplot(data=sqldf("select * from xa where run='L6woUXrfE3XkJLyt-0'"), aes(x=packet_id, y=lat, color=way)) +
|
ggplot(data=sqldf("select * from xa where run='out/I0mj7t5OJu9DGMq1-6'"), aes(x=packet_id, y=lat, color=way)) +
|
||||||
geom_line() +
|
geom_line() +
|
||||||
geom_hline(yintercept=400) +
|
geom_hline(yintercept=400) +
|
||||||
geom_hline(yintercept=200) +
|
geom_hline(yintercept=200) +
|
||||||
|
|
|
@ -12,7 +12,7 @@ echo "[+] Started Tor"
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
echo "[+] Please enter links and finish with an empty line"
|
echo "[+] Please enter links and finish with an empty line"
|
||||||
while read -r $line; do
|
while read line; do
|
||||||
[ -z "$line" ] && break
|
[ -z "$line" ] && break
|
||||||
echo $line >> onion_services.pub
|
echo $line >> onion_services.pub
|
||||||
done
|
done
|
||||||
|
@ -23,7 +23,6 @@ donar \
|
||||||
-o onion_services.pub \
|
-o onion_services.pub \
|
||||||
-l $NLINKS \
|
-l $NLINKS \
|
||||||
-p $SCHED \
|
-p $SCHED \
|
||||||
-b \
|
|
||||||
-e $LPORT \
|
-e $LPORT \
|
||||||
-r $RPORT \
|
-r $RPORT \
|
||||||
> $LOGS/client-donar-stdout.log 2> $LOGS/client-donar-stderr.log &
|
> $LOGS/client-donar-stdout.log 2> $LOGS/client-donar-stderr.log &
|
||||||
|
@ -51,8 +50,9 @@ connections=0
|
||||||
while [ $connections -ne $NLINKS ]; do
|
while [ $connections -ne $NLINKS ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
connections=$(grep 'Succeeded,' $LOGS/client-donar-stdout.log | wc -l)
|
connections=$(grep 'Succeeded,' $LOGS/client-donar-stdout.log | wc -l)
|
||||||
echo -ne "Connecting: $connections/$NLINKS%\033[0K\r"
|
echo -ne "Connecting: $connections/$NLINKS\033[0K\r"
|
||||||
done
|
done
|
||||||
echo "Ready"
|
echo "Ready"
|
||||||
|
|
||||||
echo "[+] Let's rocks!"
|
echo "[+] Let's rocks!"
|
||||||
|
wait
|
||||||
|
|
|
@ -16,7 +16,6 @@ donar \
|
||||||
-s \
|
-s \
|
||||||
-l $NLINKS \
|
-l $NLINKS \
|
||||||
-p $SCHED \
|
-p $SCHED \
|
||||||
-b \
|
|
||||||
-e $LPORT \
|
-e $LPORT \
|
||||||
-r $RPORT \
|
-r $RPORT \
|
||||||
> $LOGS/server-donar-stdout.log 2> $LOGS/server-donar-stderr.log &
|
> $LOGS/server-donar-stdout.log 2> $LOGS/server-donar-stderr.log &
|
||||||
|
@ -46,12 +45,9 @@ gst-launch-1.0 \
|
||||||
echo "[+] Started GStreamer"
|
echo "[+] Started GStreamer"
|
||||||
|
|
||||||
echo "[+] Waiting for connections"
|
echo "[+] Waiting for connections"
|
||||||
connections=0
|
until grep "requested circuits are now up" $LOGS/server-donar-stdout.log; do
|
||||||
while [ $connections -ne $NLINKS ]; do
|
sleep 1;
|
||||||
sleep 1
|
|
||||||
connections=$(grep 'Succeeded,' $LOGS/server-donar-stdout.log | wc -l)
|
|
||||||
echo -ne "Connecting: $connections/$NLINKS%\033[0K\r"
|
|
||||||
done
|
done
|
||||||
echo "Ready"
|
|
||||||
|
|
||||||
echo "[+] Let's rocks!"
|
echo "[+] Let's rocks!"
|
||||||
|
wait
|
||||||
|
|
Loading…
Reference in a new issue