diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:35:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:35:18 +0000 |
commit | b750101eb236130cf056c675997decbac904cc49 (patch) | |
tree | a5df1a06754bdd014cb975c051c83b01c9a97532 /test/fuzz/fuzz-network-parser/dhcp-server | |
parent | Initial commit. (diff) | |
download | systemd-b750101eb236130cf056c675997decbac904cc49.tar.xz systemd-b750101eb236130cf056c675997decbac904cc49.zip |
Adding upstream version 252.22.upstream/252.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
4 files changed, 60 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-network-parser/dhcp-server b/test/fuzz/fuzz-network-parser/dhcp-server new file mode 100644 index 0000000..9e49691 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-server @@ -0,0 +1,12 @@ +[Match] +Name=veth-peer + +[Network] +Address=192.168.5.1/24 +DHCPServer=yes + +[DHCPServer] +PoolOffset=10 +PoolSize=50 +DNS=192.168.5.1 +NTP=192.168.5.1 diff --git a/test/fuzz/fuzz-network-parser/dhcp-server-static-lease b/test/fuzz/fuzz-network-parser/dhcp-server-static-lease new file mode 100644 index 0000000..e14e7c0 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-server-static-lease @@ -0,0 +1,29 @@ +[Match] +Name=veth-peer + +[Network] +Address=10.1.1.1/24 +DHCPServer=true +IPMasquerade=true +IPForward=true + +[DHCPServer] +PoolOffset=0 +PoolSize=20 +EmitDNS=yes +DNS=9.9.9.9 + +[DHCPServerStaticLease] +MACAddress=12:34:56:78:9a:bc +Address=10.1.1.2 + +[DHCPServerStaticLease] +MACAddress=12:34:56:78:9a:bc +Address=10.1.1.3 + +[DHCPServerStaticLease] +Address=10.1.1.4 + +[DHCPServerStaticLease] +MACAddress=12:34:56:78:9a:bf +Address=10.1.1.5 diff --git a/test/fuzz/fuzz-network-parser/dhcp-server-timezone-router b/test/fuzz/fuzz-network-parser/dhcp-server-timezone-router new file mode 100644 index 0000000..3ebbf05 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-server-timezone-router @@ -0,0 +1,13 @@ +[Match] +Name=veth-peer + +[Network] +IPv6AcceptRA=false +Address=192.168.5.1/24 +DHCPServer=yes + +[DHCPServer] +PoolOffset=10 +PoolSize=50 +EmitRouter=yes +Timezone=Europe/Berlin diff --git a/test/fuzz/fuzz-network-parser/dhcp-server-veth-peer b/test/fuzz/fuzz-network-parser/dhcp-server-veth-peer new file mode 100644 index 0000000..7b38e72 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-server-veth-peer @@ -0,0 +1,6 @@ +[Match] +Name=veth-peer + +[Network] +Address=2600::1 +Address=192.168.5.1/24 |