Merge branch 'master' of gitlab.inria.fr:qdufour/donar
This commit is contained in:
commit
9b7fe27781
5 changed files with 887 additions and 14 deletions
630
scripts/Makefile
630
scripts/Makefile
|
@ -455,3 +455,633 @@ lightning-guards:
|
||||||
tor2 -f /etc/torrc_guard_9, \
|
tor2 -f /etc/torrc_guard_9, \
|
||||||
tor2 -f /etc/torrc_guard_11, \
|
tor2 -f /etc/torrc_guard_11, \
|
||||||
tor2 -f /etc/torrc_simple.
|
tor2 -f /etc/torrc_simple.
|
||||||
|
|
||||||
|
|
||||||
|
jan_tor_analysis:
|
||||||
|
./run-3 \
|
||||||
|
8,tor_analysis. \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 113400 48 172, \
|
||||||
|
orig-client 91800 59 172, \
|
||||||
|
orig-client 70800 77 172, \
|
||||||
|
orig-client 48600 111 172, \
|
||||||
|
orig-client 27000 200 172, \
|
||||||
|
orig-client 5400 1000 172. \
|
||||||
|
\
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 113400 48 172, \
|
||||||
|
orig-server 91800 59 172, \
|
||||||
|
orig-server 70800 77 172, \
|
||||||
|
orig-server 48600 111 172, \
|
||||||
|
orig-server 27000 200 172, \
|
||||||
|
orig-server 5400 1000 172. \
|
||||||
|
\
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1. \
|
||||||
|
\
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1, \
|
||||||
|
tor3 -f /etc/torrc_guard_1.
|
||||||
|
|
||||||
|
jan_battle_normal:
|
||||||
|
./run-3 \
|
||||||
|
8,battle. \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16. \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16.
|
||||||
|
|
||||||
|
jan_battle_hardened:
|
||||||
|
./run-3 \
|
||||||
|
8,jan_battle_hardened. \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
orig-server 135000 40 172, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
dup2-server 135000 40 172 2, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2. \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2, \
|
||||||
|
tor3 -f /etc/torrc_guard_2.
|
||||||
|
|
||||||
|
jan_battle_light:
|
||||||
|
./run-3 \
|
||||||
|
8,jan_battle_light. \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
orig-client 135000 40 172, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
dup2-client 135000 40 172 2, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-client 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
orig-server-single 135000 40 172, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
dup2-server-single 135000 40 172 2, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
|
lightning-server-single 135000 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16, \
|
||||||
|
tor2 -f /etc/torrc_guard_16. \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16, \
|
||||||
|
tor2 -f /etc/torrc_single_hop_16.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ groupmap = {"0": "fast", "1": "probe"}
|
||||||
redmap = {"1": "orig", "0": "pad"}
|
redmap = {"1": "orig", "0": "pad"}
|
||||||
res = {}
|
res = {}
|
||||||
seen = set()
|
seen = set()
|
||||||
|
vals = 0
|
||||||
|
|
||||||
for line in sys.stdin:
|
for line in sys.stdin:
|
||||||
if "~ measlat ~" in line:
|
if "~ measlat ~" in line:
|
||||||
|
@ -20,8 +21,9 @@ for line in sys.stdin:
|
||||||
red = redmap[m[5]]
|
red = redmap[m[5]]
|
||||||
if (group, red) not in res: res[(group,red)] = 0
|
if (group, red) not in res: res[(group,red)] = 0
|
||||||
res[(group,red)] += 1
|
res[(group,red)] += 1
|
||||||
|
vals += 1
|
||||||
|
|
||||||
print("group,redundancy,count")
|
print("group,redundancy,count")
|
||||||
for key,val in res.items():
|
for key,val in res.items():
|
||||||
g,r = key
|
g,r = key
|
||||||
print(f"{g},{r},{val}")
|
print(f"{g},{r},{val/vals}")
|
||||||
|
|
139
scripts/jantoran.py
Executable file
139
scripts/jantoran.py
Executable file
|
@ -0,0 +1,139 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
import os,sys,re,functools
|
||||||
|
|
||||||
|
default_perc = [0, 0.25, 0.5, 0.75, 0.99, 0.999, 1]
|
||||||
|
|
||||||
|
def tool_distri(arr, perc):
|
||||||
|
r = {}
|
||||||
|
for p in perc:
|
||||||
|
r[str(p)] = arr[round(p * (len(arr) - 1))]
|
||||||
|
return r
|
||||||
|
|
||||||
|
def compute_failure(s):
|
||||||
|
it = s['current']['interval']
|
||||||
|
if it not in s['failure']: s['failure'][it] = []
|
||||||
|
s['failure'][it].append(round(s['current']['max_pkt'] * s['current']['interval'] / 1000 / 60))
|
||||||
|
|
||||||
|
def compute_circuit_distri(s):
|
||||||
|
l = sorted(s['current']['lats'])
|
||||||
|
s['per_circuit_res'].append(tool_distri(l, default_perc))
|
||||||
|
|
||||||
|
def compute_interval_distri(s):
|
||||||
|
print(" + latency distribution for given packet freq.")
|
||||||
|
to_process = len(s['per_interval'])
|
||||||
|
processed = 0
|
||||||
|
for inter, val in s['per_interval'].items():
|
||||||
|
progress = round(processed / to_process * 100)
|
||||||
|
print(f"{progress}%", end="\r")
|
||||||
|
#print(val[0]['lats'][0:10])
|
||||||
|
x = sorted(functools.reduce(lambda acc, v: acc + v['lats'], val, []))
|
||||||
|
s['per_interval_res'][inter] = tool_distri(x, default_perc)
|
||||||
|
processed += 1
|
||||||
|
|
||||||
|
def extract_measlat(log, s):
|
||||||
|
s['current']['max_pkt'] = 0
|
||||||
|
s['current']['lats'] = []
|
||||||
|
with open(log) as f:
|
||||||
|
for l in f:
|
||||||
|
x = re.search(r'Packet (\d+) latency (\d+)µs with', l)
|
||||||
|
if x:
|
||||||
|
pkt = int(x.groups()[0])
|
||||||
|
lat = int(x.groups()[1])
|
||||||
|
s['current']['max_pkt'] = max(s['current']['max_pkt'], pkt)
|
||||||
|
s['current']['lats'].append(lat)
|
||||||
|
|
||||||
|
def extract_info(inf, s):
|
||||||
|
with open(inf) as f:
|
||||||
|
full = ''.join(f.readlines())
|
||||||
|
x = re.search(r'orig-server (\d+) (\d+) \d+', full)
|
||||||
|
if x:
|
||||||
|
s['current']['npkt'] = int(x.groups()[0])
|
||||||
|
s['current']['interval'] = int(x.groups()[1])
|
||||||
|
return True
|
||||||
|
else:
|
||||||
|
print("read error for",inf)
|
||||||
|
return False
|
||||||
|
|
||||||
|
def extract_folder(p, s):
|
||||||
|
if not extract_info(p + '/info.txt', s): return False
|
||||||
|
extract_measlat(p + '/log/client-measlat-stdout.log', s)
|
||||||
|
|
||||||
|
compute_failure(s)
|
||||||
|
compute_circuit_distri(s) if s['current']['interval'] == 40 else None
|
||||||
|
|
||||||
|
def categorize(folder, s):
|
||||||
|
s[folder] = s['current']
|
||||||
|
|
||||||
|
i = str(s['current']['interval'])
|
||||||
|
if i not in s['per_interval']: s['per_interval'][i] = []
|
||||||
|
s['per_interval'][i].append(s['current'])
|
||||||
|
|
||||||
|
def extract(p, s):
|
||||||
|
item_count = functools.reduce(lambda acc, prev: acc + 1, os.listdir(p), 0)
|
||||||
|
|
||||||
|
counter = 0
|
||||||
|
print("extracting...")
|
||||||
|
for folder in os.listdir(p):
|
||||||
|
s['current'] = {}
|
||||||
|
extract_folder(p + '/' + folder, s) and categorize(folder, s)
|
||||||
|
counter += 1
|
||||||
|
progress = round(counter / item_count * 100)
|
||||||
|
print(f"{progress}%", end="\r")
|
||||||
|
print("done")
|
||||||
|
|
||||||
|
def compute_global(s):
|
||||||
|
print("computing on global values...")
|
||||||
|
compute_interval_distri(s)
|
||||||
|
|
||||||
|
def analyze_failure(s):
|
||||||
|
with open('jan_failure.csv', 'w') as f:
|
||||||
|
f.write(f"rate,duration,ecdf\n")
|
||||||
|
for k, v in s['failure'].items():
|
||||||
|
v = sorted(v)
|
||||||
|
total = len(v)
|
||||||
|
rate = round(1000 / k)
|
||||||
|
score = 0
|
||||||
|
f.write(f"{rate},0,0\n")
|
||||||
|
for idx,e in enumerate(v,start=1):
|
||||||
|
if e >= 90:
|
||||||
|
f.write(f"{rate},90,{score}\n")
|
||||||
|
break
|
||||||
|
score = idx/total
|
||||||
|
f.write(f"{rate},{e},{score}\n")
|
||||||
|
|
||||||
|
def analyze_interval(s):
|
||||||
|
with open('jan_interval.csv', 'w') as f:
|
||||||
|
f.write(f"rate,perc,lat\n")
|
||||||
|
for inter, entr in s['per_interval_res'].items():
|
||||||
|
rate = round(1000 / int(inter))
|
||||||
|
for perc, lat in entr.items():
|
||||||
|
f.write(f"{rate},{float(perc)*100}%,{lat/1000}\n")
|
||||||
|
|
||||||
|
def analyze_circuit(s):
|
||||||
|
a = sorted(s['per_circuit_res'], key=lambda v: v['0.5'])
|
||||||
|
with open('jan_circuit_median.csv', 'w') as f:
|
||||||
|
f.write(f"id,perc,lat\n")
|
||||||
|
for idx,e in enumerate(a,start=1):
|
||||||
|
for perc, lat in e.items():
|
||||||
|
f.write(f"{idx},{float(perc)*100}%,{lat/1000}\n")
|
||||||
|
|
||||||
|
a = sorted(s['per_circuit_res'], key=lambda v: v['1'])
|
||||||
|
with open('jan_circuit_max.csv', 'w') as f:
|
||||||
|
f.write(f"id,perc,lat\n")
|
||||||
|
for idx,e in enumerate(a,start=1):
|
||||||
|
for perc, lat in e.items():
|
||||||
|
f.write(f"{idx},{float(perc)*100}%,{lat/1000}\n")
|
||||||
|
|
||||||
|
def analyze(s):
|
||||||
|
print("analyzing...")
|
||||||
|
analyze_failure(s)
|
||||||
|
analyze_interval(s)
|
||||||
|
analyze_circuit(s)
|
||||||
|
|
||||||
|
state = {'failure': {}, 'per_interval': {}, 'per_interval_res': {}, 'per_circuit_res': []}
|
||||||
|
extract(sys.argv[1], state)
|
||||||
|
compute_global(state)
|
||||||
|
analyze(state)
|
||||||
|
|
||||||
|
#for key, value in state.items():
|
||||||
|
# print(value)
|
101
scripts/jantoran_2.py
Executable file
101
scripts/jantoran_2.py
Executable file
|
@ -0,0 +1,101 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
import os,sys,re,functools
|
||||||
|
|
||||||
|
default_perc = [0, 0.25, 0.5, 0.75, 0.99, 0.999, 1]
|
||||||
|
|
||||||
|
def tool_distri(arr, perc):
|
||||||
|
r = {}
|
||||||
|
for p in perc:
|
||||||
|
r[str(p)] = arr[round(p * (len(arr) - 1))]
|
||||||
|
return r
|
||||||
|
|
||||||
|
def compute_failure(s):
|
||||||
|
it = s['current']['strat']
|
||||||
|
if it not in s['failure']: s['failure'][it] = []
|
||||||
|
s['failure'][it].append(round(s['current']['max_pkt'] * s['current']['interval'] / 1000 / 60))
|
||||||
|
return True
|
||||||
|
|
||||||
|
def extract_measlat(log, s):
|
||||||
|
s['current']['max_pkt'] = 0
|
||||||
|
s['current']['lats'] = []
|
||||||
|
try:
|
||||||
|
with open(log) as f:
|
||||||
|
for l in f:
|
||||||
|
x = re.search(r'Packet (\d+) latency (\d+)µs with', l)
|
||||||
|
if x:
|
||||||
|
pkt = int(x.groups()[0])
|
||||||
|
lat = int(x.groups()[1])
|
||||||
|
s['current']['max_pkt'] = max(s['current']['max_pkt'], pkt)
|
||||||
|
#s['current']['lats'].append(lat)
|
||||||
|
return True
|
||||||
|
except:
|
||||||
|
return False
|
||||||
|
|
||||||
|
def extract_info(inf, s):
|
||||||
|
try:
|
||||||
|
with open(inf) as f:
|
||||||
|
full = ''.join(f.readlines())
|
||||||
|
w = re.search(r'identifier=jan_', full)
|
||||||
|
if not w: return False
|
||||||
|
x = re.search(r'server= (\S+) (\d+) (\d+) \d+ (\d+ (\S+))?', full)
|
||||||
|
if x:
|
||||||
|
s['current']['strat'] = x.groups()[0]
|
||||||
|
if x.groups()[4] != None:
|
||||||
|
y = re.search(r'tick_tock=(\d)', x.groups()[4])
|
||||||
|
if y:
|
||||||
|
s['current']['strat'] += "-ticktock" if y.groups()[0] == '1' else "-duplicate"
|
||||||
|
s['current']['npkt'] = int(x.groups()[1])
|
||||||
|
s['current']['interval'] = int(x.groups()[2])
|
||||||
|
return True
|
||||||
|
else:
|
||||||
|
print("parse error for",inf)
|
||||||
|
return False
|
||||||
|
except Exception as e:
|
||||||
|
print("read error", inf, e)
|
||||||
|
return False
|
||||||
|
|
||||||
|
def extract_folder(p, s):
|
||||||
|
return extract_info(p + '/info.txt', s) and extract_measlat(p + '/log/client-measlat-stdout.log', s) and compute_failure(s)
|
||||||
|
|
||||||
|
def categorize(folder, s):
|
||||||
|
s[folder] = s['current']
|
||||||
|
|
||||||
|
i = str(s['current']['strat'])
|
||||||
|
if i not in s['per_strat']: s['per_strat'][i] = []
|
||||||
|
s['per_strat'][i].append(s['current'])
|
||||||
|
|
||||||
|
def extract(p, s):
|
||||||
|
item_count = functools.reduce(lambda acc, prev: acc + 1, os.listdir(p), 0)
|
||||||
|
|
||||||
|
counter = 0
|
||||||
|
print("extracting...")
|
||||||
|
for folder in os.listdir(p):
|
||||||
|
s['current'] = {}
|
||||||
|
extract_folder(p + '/' + folder, s) and categorize(folder, s)
|
||||||
|
counter += 1
|
||||||
|
progress = round(counter / item_count * 100)
|
||||||
|
print(f"{progress}%", end="\r")
|
||||||
|
print("done")
|
||||||
|
|
||||||
|
def analyze_failure(s):
|
||||||
|
with open('jan2_failure.csv', 'w') as f:
|
||||||
|
f.write(f"strat,duration,ecdf\n")
|
||||||
|
for strat, v in s['failure'].items():
|
||||||
|
v = sorted(v)
|
||||||
|
total = len(v)
|
||||||
|
score = 0
|
||||||
|
f.write(f"{strat},0,0\n")
|
||||||
|
for idx,e in enumerate(v,start=1):
|
||||||
|
if e >= 90:
|
||||||
|
f.write(f"{strat},90,{score}\n")
|
||||||
|
break
|
||||||
|
score = idx/total
|
||||||
|
f.write(f"{strat},{e},{score}\n")
|
||||||
|
|
||||||
|
def analyze(s):
|
||||||
|
print("analyzing...")
|
||||||
|
analyze_failure(s)
|
||||||
|
|
||||||
|
state = {'failure': {}, 'per_strat': {}, 'per_interval_res': {}, 'per_circuit_res': []}
|
||||||
|
extract(sys.argv[1], state)
|
||||||
|
analyze(state)
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
die() { echo "$*" 1>&2 ; exit 1; }
|
die() { echo "$*" 1>&2 ; exit 1; }
|
||||||
|
|
||||||
WAITFOR=1200 # 15min
|
DOCKNAME=`mktemp -u XXXXX`
|
||||||
|
WAITFOR=7200 # 2 hours
|
||||||
|
|
||||||
# SPLIT CLIENT AND SERVER TARGETS
|
# SPLIT CLIENT AND SERVER TARGETS
|
||||||
OLD_IFS=$IFS; IFS="."
|
OLD_IFS=$IFS; IFS="."
|
||||||
|
@ -54,14 +55,14 @@ echo "__reset containers"
|
||||||
for i in $(seq 0 $(expr $instances - 1)); do
|
for i in $(seq 0 $(expr $instances - 1)); do
|
||||||
|
|
||||||
echo "____clear $i"
|
echo "____clear $i"
|
||||||
docker container inspect donarxp_server_${i} > /dev/null 2>&1 && docker kill donarxp_server_${i}
|
docker container inspect ${DOCKNAME}_donarxp_server_${i} > /dev/null 2>&1 && docker kill ${DOCKNAME}_donarxp_server_${i}
|
||||||
docker container inspect donarxp_client_${i} > /dev/null 2>&1 && docker kill donarxp_client_${i}
|
docker container inspect ${DOCKNAME}_donarxp_client_${i} > /dev/null 2>&1 && docker kill ${DOCKNAME}_donarxp_client_${i}
|
||||||
|
|
||||||
echo "____spawning container for instance=$i..."
|
echo "____spawning container for instance=$i..."
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
-d \
|
-d \
|
||||||
--name "donarxp_server_${i}" \
|
--name "${DOCKNAME}_donarxp_server_${i}" \
|
||||||
--privileged \
|
--privileged \
|
||||||
--cap-add=SYS_PTRACE \
|
--cap-add=SYS_PTRACE \
|
||||||
--security-opt seccomp=unconfined \
|
--security-opt seccomp=unconfined \
|
||||||
|
@ -76,15 +77,15 @@ for i in $(seq 0 $(expr $instances - 1)); do
|
||||||
--privileged \
|
--privileged \
|
||||||
--cap-add=SYS_PTRACE \
|
--cap-add=SYS_PTRACE \
|
||||||
--security-opt seccomp=unconfined \
|
--security-opt seccomp=unconfined \
|
||||||
--name "donarxp_client_${i}" \
|
--name "${DOCKNAME}_donarxp_client_${i}" \
|
||||||
-e HOME='/tmp' \
|
-e HOME='/tmp' \
|
||||||
-v `pwd`/out:/home/donar/out \
|
-v `pwd`/out:/home/donar/out \
|
||||||
registry.gitlab.inria.fr/qdufour/donar \
|
registry.gitlab.inria.fr/qdufour/donar \
|
||||||
${TOR_DAEMON_CLIENT[$i]}
|
${TOR_DAEMON_CLIENT[$i]}
|
||||||
|
|
||||||
echo "____create folder struct..."
|
echo "____create folder struct..."
|
||||||
docker exec donarxp_client_${i} sh -c "mkdir -p $run_fold-$i; echo repeat=$REPEAT,identifier=$IDENTIFIER > $run_fold-$i/info.txt"
|
docker exec ${DOCKNAME}_donarxp_client_${i} sh -c "mkdir -p $run_fold-$i; echo repeat=$REPEAT,identifier=$IDENTIFIER > $run_fold-$i/info.txt"
|
||||||
docker exec donarxp_client_${i} sh -c "echo instance=$i - server=${SERVER_TARGETS[$i]} - client=${CLIENT_TARGETS[$i]} - tor server=${TOR_DAEMON_SERVER[$i]} - tor client=${TOR_DAEMON_CLIENT[$i]}>> $run_fold-$i/info.txt"
|
docker exec ${DOCKNAME}_donarxp_client_${i} sh -c "echo instance=$i - server=${SERVER_TARGETS[$i]} - client=${CLIENT_TARGETS[$i]} - tor server=${TOR_DAEMON_SERVER[$i]} - tor client=${TOR_DAEMON_CLIENT[$i]}>> $run_fold-$i/info.txt"
|
||||||
done
|
done
|
||||||
|
|
||||||
sleep 10
|
sleep 10
|
||||||
|
@ -92,7 +93,7 @@ sleep 10
|
||||||
echo "__launch servers"
|
echo "__launch servers"
|
||||||
for i in $(seq 0 $(expr $instances - 1)); do
|
for i in $(seq 0 $(expr $instances - 1)); do
|
||||||
echo " instance=$i - exec=${SERVER_TARGETS[$i]}"
|
echo " instance=$i - exec=${SERVER_TARGETS[$i]}"
|
||||||
docker exec donarxp_server_$i ${SERVER_TARGETS[$i]} ${run_fold}-$i &
|
docker exec ${DOCKNAME}_donarxp_server_$i ${SERVER_TARGETS[$i]} ${run_fold}-$i &
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -103,15 +104,15 @@ echo "__launch clients"
|
||||||
(sleep $WAITFOR; echo " timeout"; kill -9 $subshellpid) &
|
(sleep $WAITFOR; echo " timeout"; kill -9 $subshellpid) &
|
||||||
(for i in $(seq 0 $(expr $instances - 1)); do
|
(for i in $(seq 0 $(expr $instances - 1)); do
|
||||||
echo " instance=$i - exec=${CLIENT_TARGETS[$i]}"
|
echo " instance=$i - exec=${CLIENT_TARGETS[$i]}"
|
||||||
docker exec donarxp_client_$i ${CLIENT_TARGETS[$i]} ${run_fold}-$i &
|
docker exec ${DOCKNAME}_donarxp_client_$i ${CLIENT_TARGETS[$i]} ${run_fold}-$i &
|
||||||
sleep 1
|
sleep 1
|
||||||
done;
|
done;
|
||||||
wait;
|
wait;
|
||||||
echo " ok";
|
echo " ok";
|
||||||
|
|
||||||
for i in $(seq 0 $(expr $instances - 1)); do
|
for i in $(seq 0 $(expr $instances - 1)); do
|
||||||
docker exec donarxp_client_${i} killall -15 donar;
|
docker exec ${DOCKNAME}_donarxp_client_${i} killall -15 donar;
|
||||||
docker exec donarxp_server_${i} killall -15 donar;
|
docker exec ${DOCKNAME}_donarxp_server_${i} killall -15 donar;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
kill -15 $subshellpid
|
kill -15 $subshellpid
|
||||||
|
@ -124,6 +125,6 @@ done
|
||||||
echo ":: Clear Resources"
|
echo ":: Clear Resources"
|
||||||
for i in $(seq 0 $(expr $instances - 1)); do
|
for i in $(seq 0 $(expr $instances - 1)); do
|
||||||
echo "clear $i"
|
echo "clear $i"
|
||||||
docker kill "donarxp_server_${i}"
|
docker kill "${DOCKNAME}_donarxp_server_${i}"
|
||||||
docker kill "donarxp_client_${i}"
|
docker kill "${DOCKNAME}_donarxp_client_${i}"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue