-
Notifications
You must be signed in to change notification settings - Fork 1
/
udp_simple.yaml
75 lines (60 loc) · 2.02 KB
/
udp_simple.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
# First basic config I'm making to show as an example on what the tool will be able to do.
interface: "ens18"
sequences:
initial:
# If we want to run other configs before this sequence (e.g. establishing a TCP handshake), use includes. THIS IS NOT SUPPORTED YET.
#includes:
# - /etc/sequencecfgs/tcp_handshake.yaml
# Amount of times to generate the packet/sequence.
count: 50
# How many threads to spawn to handle this sequence (use 0 for host's CPU count).
threads: 4
# Ethernet header options.
#eth:
# Source MAC address (don't include to automatically retrieve the MAC address of 'interface').
#srcmac: ""
# Destination MAC address (don't include to automatically retrieve the MAC address of the default gateway).
#dstmac: ""
# Additional IP options.
ip:
# Source IP (Required).
srcip: "192.168.90.3"
# Destination IP (Required).
dstip: "172.16.0.3"
# Layer 4 protocol (e.g. UDP, TCP, ICMP, etc) (Required).
protocol: udp
#tos: 0
#ttl:
#min: 64
#max: 128
# Whether to calculate IP header's checksum (if disabled and you have checksum offload enabled on NIC, will result in higher performance).
#csum: True
# UDP specific options.
udp:
srcport: 27000 # Don't include this for randomized port.
dstport: 27015 # Don't include this for randomized port.
# Whether to calculate layer 4 header's checksum (e.g. UDP/TCP/ICMP).
#l4csum: True
# Payload options.
payload:
# Payload length options.
length:
min: 64
max: 64
# The exact payload is hexadecimal. If this is specified, anything related to the payload length will be ignored.
#exact: "FF FF FF FF 49"
second:
count: 300
threads: 0
ip:
ranges:
- 192.168.90.0/24
dstip: "172.16.0.3"
protocol: udp
csum: True
udp:
srcport: 27000
dstport: 27015
l4csum: True
payload:
exact: "FF FF FF FF 49"