-
Notifications
You must be signed in to change notification settings - Fork 2
/
manifest.toml
113 lines (88 loc) · 4.33 KB
/
manifest.toml
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
name = "discv5-testground"
[defaults]
builder = "docker:generic"
runner = "local:docker"
[builders."docker:generic"]
enabled = true
[runners."local:docker"]
enabled = true
# #############################################################################
# FINDNODE
# #############################################################################
[[testcases]]
name = "find-node"
instances = { min = 3, max = 100, default = 3 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# #############################################################################
# Eclipse attack by monopolizing by incoming nodes
# #############################################################################
[[testcases]]
name = "eclipse-attack-monopolizing-by-incoming-nodes"
# The number of `instances` is fixed to 20 in this test case. For more detail,
# see `compositions/eclipse-attack-monopolizing-by-incoming-nodes.toml`.
instances = { min = 20, max = 20, default = 20 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# Params for the `victim` group
incoming_bucket_limit = { type = "int", desc = "A maximum limit to the number of incoming nodes per bucket.", default = 16 }
# #############################################################################
# Concurrent requests
# #############################################################################
[[testcases]]
name = "concurrent-requests"
instances = { min = 2, max = 2, default = 2 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# A test case where WHOAREYOU packet times out.
[[testcases]]
name = "concurrent-requests_whoareyou-timeout"
instances = { min = 2, max = 2, default = 2 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# A test case where a node attempts to send requests in parallel before establishing a session.
[[testcases]]
name = "concurrent-requests_before-establishing-session"
instances = { min = 2, max = 2, default = 2 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# #############################################################################
# IP change
# #############################################################################
[[testcases]]
name = "ip-change"
instances = { min = 3, max = 100, default = 3 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# discv5 params
vote_duration = { type = "int", desc = "The interval over which votes are remembered when determining our external IP.", unit = "sec", default = 5 }
ping_interval = { type = "int", desc = "The time between pings to ensure connectivity amongst connected nodes.", unit = "sec", default = 1 }
# simulation params
duration_before = { type = "int", desc = "Duration to run the simulation before changing IP address.", default = 5, unit="sec" }
duration_after = { type = "int", desc = "Duration to run the simulation after changing IP address.", default = 15, unit="sec" }
# #############################################################################
# ENR update
# #############################################################################
[[testcases]]
name = "enr-update"
instances = { min = 11, max = 100, default = 11 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# discv5 params
ping_interval = { type = "int", desc = "The time between pings.", unit = "sec", default = 30 }
# #############################################################################
# Sandbox
# #############################################################################
[[testcases]]
name = "sandbox"
instances = { min = 2, max = 3, default = 2 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }
# #############################################################################
# Talk
# #############################################################################
[[testcases]]
name = "talk"
instances = { min = 2, max = 2, default = 2 }
[testcases.params]
latency = { type = "int", desc = "Latency between peers.", unit = "ms", default = 100 }