146 lines
3.7 KiB
Makefile
146 lines
3.7 KiB
Makefile
SHELL := /bin/bash
|
|
.SILENT: test
|
|
|
|
test:
|
|
echo "run,conf,latency"
|
|
. parse_lib.sh && \
|
|
get_xp tor_bw_small | while read r; do \
|
|
for i in 0 1 2 3; do \
|
|
extract_us $$r $$i | while read l; do \
|
|
echo $$r,$$i,$$l;\
|
|
done; \
|
|
done; \
|
|
done;
|
|
|
|
tor_bw_small:
|
|
./run-3 \
|
|
1,tor_bw_small . \
|
|
orig-client 60 1000 100, \
|
|
orig-client 120 500 100, \
|
|
orig-client 600 100 100, \
|
|
orig-client 1200 50 100 . \
|
|
orig-server, \
|
|
orig-server, \
|
|
orig-server, \
|
|
orig-server . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple
|
|
|
|
tor_bw_full:
|
|
./run-3 \
|
|
10,tor_bw_full . \
|
|
orig-client 600 1000 100, \
|
|
orig-client 1200 500 100, \
|
|
orig-client 6000 100 100, \
|
|
orig-client 12000 50 100 . \
|
|
orig-server, \
|
|
orig-server, \
|
|
orig-server, \
|
|
orig-server . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor3 -f /etc/torrc_simple
|
|
|
|
tor_guards_small:
|
|
./run-3 \
|
|
1,tor_guards_small . \
|
|
dup2-client 600 100 100 8, \
|
|
dup2-client 600 100 100 8, \
|
|
dup2-client 600 100 100 8, \
|
|
dup2-client 600 100 100 8 . \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8 . \
|
|
tor3 -f /etc/torrc_guard_1, \
|
|
tor3 -f /etc/torrc_guard_3, \
|
|
tor3 -f /etc/torrc_guard_5, \
|
|
tor3 -f /etc/torrc_simple . \
|
|
tor3 -f /etc/torrc_guard_1, \
|
|
tor3 -f /etc/torrc_guard_3, \
|
|
tor3 -f /etc/torrc_guard_5, \
|
|
tor3 -f /etc/torrc_simple
|
|
|
|
tor_guards_full:
|
|
./run-3 \
|
|
16,tor_guards_full . \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8, \
|
|
dup2-client 6000 100 100 8 . \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8, \
|
|
dup2-server 8 . \
|
|
tor3 -f /etc/torrc_guard_1, \
|
|
tor3 -f /etc/torrc_guard_2, \
|
|
tor3 -f /etc/torrc_guard_3, \
|
|
tor3 -f /etc/torrc_guard_4, \
|
|
tor3 -f /etc/torrc_guard_5, \
|
|
tor3 -f /etc/torrc_guard_6, \
|
|
tor3 -f /etc/torrc_guard_7, \
|
|
tor3 -f /etc/torrc_guard_8, \
|
|
tor3 -f /etc/torrc_simple . \
|
|
tor3 -f /etc/torrc_guard_1, \
|
|
tor3 -f /etc/torrc_guard_2, \
|
|
tor3 -f /etc/torrc_guard_3, \
|
|
tor3 -f /etc/torrc_guard_4, \
|
|
tor3 -f /etc/torrc_guard_5, \
|
|
tor3 -f /etc/torrc_guard_6, \
|
|
tor3 -f /etc/torrc_guard_7, \
|
|
tor3 -f /etc/torrc_guard_8, \
|
|
tor3 -f /etc/torrc_simple
|
|
|
|
tor_relays_full:
|
|
./run-3 \
|
|
16,tor_relays_full . \
|
|
orig-client 6000 100 100, \
|
|
orig-client 6000 100 100, \
|
|
orig-client 6000 100 100 . \
|
|
orig-server, \
|
|
orig-server, \
|
|
orig-server-single . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_simple . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_single_hop
|
|
|
|
tor_relays_small:
|
|
./run-3 \
|
|
1,tor_relays_small . \
|
|
orig-client 600 100 100, \
|
|
orig-client 600 100 100, \
|
|
orig-client 600 100 100 . \
|
|
orig-server, \
|
|
orig-server, \
|
|
orig-server-single . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_simple . \
|
|
tor3 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_simple, \
|
|
tor2 -f /etc/torrc_single_hop
|
|
|