-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.yaml
145 lines (130 loc) · 4.21 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
---
# Path to this configfile
configpath: config/test.yaml
# The Alexa top list, http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
alexa_list: resources/alexa-top10000-2021-07-18.csv.gz
# Versions of QUIC supported in our experiments
quic_versions: ["h3-29"]
# Second level domains that whose representation in the dataset are reduced
frequent_slds: ["blogspot.com", "appspot.com", "myshopify.com", "withgoogle.com",
"translate.goog", "sch.id"]
webpage_graphs:
# The number of dependency graphs collected in each batch
batch_size: 100
# Collect n_batches * batch_size web-page graphs
n_batches: 5
# The log level passed to RUST_LOG for the neqo-client
neqo_log_level: "neqo-transport=info"
# The User-Agent to use for collections
user_agent: >-
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/87.0.4280.88 Safari/537.36
# Wireguard clients and thier ports assignments, which are used to filter
# the packet captures
wireguard:
n_regions: 1
n_clients_per_region: 6
client_ports:
- [51501, 51502, 51503, 51504, 51505, 51506]
interface: "docker0"
# Experiment configurations
experiment:
# Default configurations for FRONT and tamaraw
default:
front_config: &front-default
max_client_packets: 1000
max_server_packets: 1000
packet_size: 1200
peak_minimum: 0.5
peak_maximum: 7
tamaraw_config: &tamaraw-default
rate_in: 5
rate_out: 20
packet_multiple: 300
packet_size: 750
# Defaults for hyperparameters to be used with the deep learning
# classifiers for each defence
hyperparams: &hyperparams-default
front:
varcnn-time: tune
varcnn-sizes: tune
dfnet: tune
tamaraw:
varcnn-time: tune
varcnn-sizes: tune
dfnet: tune
undefended:
varcnn-time: "n_packets=5000"
varcnn-sizes: "n_packets=5000"
dfnet: "n_packets=5000"
# Configuration for checking how well the shaping was performed.
# Associated rules are found in `workflow/rules/shaping-eval.smk`.
shaping_eval:
n_samples: &ovh_samples 50
scores:
ts_offset: {min: 0, max: 200, inc: 5}
resample_rates: ["1ms", "5ms", "25ms", "50ms"]
lcss_eps: {"front": 150, "tamaraw": 250}
# min_pkt_size: [0]
front: *front-default
tamaraw: *tamaraw-default
# Configuration for the ML evaluation in the single-connection setting.
# Associated rules are found in `workflow/rules/ml-eval-conn.smk`.
ml_eval_conn:
dataset:
n_monitored: 10
n_instances: 10
n_unmonitored: 50
classifiers: ["kfp", "dfnet", "varcnn"]
front: &front-conn
<<: *front-default
tamaraw: &tamaraw-conn
<<: *tamaraw-default
packet_size: 1200
msd_limit_excess: 1500
hyperparams: *hyperparams-default
# Configuration for the ML evaluation in the multi-connection setting.
# Associated rules are found in `workflow/rules/ml-eval-mconn.smk`.
ml_eval_mconn:
dataset:
n_monitored: 10
n_instances: 10
n_unmonitored: 50
classifiers: ["kfp", "dfnet", "varcnn"]
front: &mconn-front
<<: *front-default
max_client_packets: 1300
max_server_packets: 1300
use_empty_resources: true
packet_size: 1250
max_udp_payload_size: 1272
tamaraw: &mconn-tamaraw
<<: *tamaraw-default
packet_size: 1250
max_udp_payload_size: 1272
use_empty_resources: true
msd_limit_excess: 1500
hyperparams: *hyperparams-default
# Configuration for the ML evaluation in the browser setting.
# Associated rules are found in `workflow/rules/ml-eval-brows.smk`.
ml_eval_brows:
dataset:
n_monitored: 10
n_instances: 10
n_unmonitored: 50
classifiers: ["kfp", "dfnet", "varcnn"]
front:
<<: *front-default
max_client_packets: 1300
max_server_packets: 1300
packet_size: 1250
max_udp_payload_size: 1272
peak_minimum: 0.2
peak_maximum: 3
hyperparams: *hyperparams-default
# Configuration for the multi-connection overhead evaluation
# Associated rules are found in `workflow/rules/overhead-eval-mconn.smk`.
overhead_eval_mconn:
n_samples: *ovh_samples
front: *mconn-front
tamaraw: *mconn-tamaraw