-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp2p_fuzzer_default.conf
73 lines (73 loc) · 2.05 KB
/
p2p_fuzzer_default.conf
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
{
"peer": "172.18.0.101:9732",
"prng_seed": 1234567890,
"max_chunk_size": 65519,
"threads": 15,
"handshake_fuzzing": {
"chunk_options": {
"flip_bits": 0.001,
"split_chunks": 0.01,
"split_bytes": 0.001,
"incomplete_send": 0.001,
"write_bytes_sleep": 0,
"write_bytes_sleep_ms": 0
},
"abort_before_connect": 0.001,
"connect_sleep": 0,
"connect_sleep_ms": 0,
"connect_msg_sleep": 0,
"connect_msg_sleep_ms": 0,
"fuzz_public_key": 0.001,
"fuzz_pow": 0.001,
"fuzz_network_version": 0.001,
"abort_before_metadata": 0.001,
"metadata_msg_sleep": 0,
"metadata_msg_sleep_ms": 0,
"recv_metadata": 1,
"fuzz_metadata": 0.01,
"abort_before_ack": 0.001,
"ack_msg_sleep": 0,
"ack_msg_sleep_ms": 0,
"fuzz_ack": 0.001,
"recv_ack": 1
},
"peer_message_fuzzing": {
"chunk_options": {
"flip_bits": 0.001,
"split_chunks": 0.01,
"split_bytes": 0.001,
"incomplete_send": 0.001,
"write_bytes_sleep": 0,
"write_bytes_sleep_ms": 0
},
"messages_per_chunk": 1,
"push_messages": [
"Disconnect",
"Bootstrap",
"Advertise",
"SwapRequest",
"SwapAck",
"GetCurrentBranch",
"CurrentBranch",
"Deactivate",
"GetCurrentHead",
"CurrentHead",
"GetBlockHeaders",
"BlockHeader",
"GetOperations",
"Operation",
"GetProtocols",
"Protocol",
"GetOperationsForBlocks",
"OperationsForBlocks"
],
"max_push_throughput": 2000,
"reply_options": {
"bootstrap": 0.5,
"get_current_head": 0.5,
"get_current_branch": 0.5,
"get_block_headers": 0.5,
"get_operations_for_blocks": 0.5
}
}
}