diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:52 +0000 |
commit | 55944e5e40b1be2afc4855d8d2baf4b73d1876b5 (patch) | |
tree | 33f869f55a1b149e9b7c2b7e201867ca5dd52992 /test/fuzz/fuzz-network-parser/dhcp-client | |
parent | Initial commit. (diff) | |
download | systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.tar.xz systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.zip |
Adding upstream version 255.4.upstream/255.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
9 files changed, 73 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-network-parser/dhcp-client b/test/fuzz/fuzz-network-parser/dhcp-client new file mode 100644 index 0000000..5629bc4 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client @@ -0,0 +1,5 @@ +[Match] +Name=veth99 + +[Network] +DHCP=yes diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-anonymize b/test/fuzz/fuzz-network-parser/dhcp-client-anonymize new file mode 100644 index 0000000..a910cba --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-anonymize @@ -0,0 +1,16 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv4 +IPv6AcceptRA=false + +[DHCP] +Anonymize=true +UseMTU=true +UseRoutes=true +SendHostname=true +UseHostname=true +Hostname=test-hostname +ClientIdentifier=mac +VendorClassIdentifier=SusantVendorTest diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-no-ipv6 b/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-no-ipv6 new file mode 100644 index 0000000..c980bf9 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-no-ipv6 @@ -0,0 +1,6 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv4 +IPv6AcceptRA=false diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-only b/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-only new file mode 100644 index 0000000..9bc019a --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-only @@ -0,0 +1,5 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv4 diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-ipv6-only b/test/fuzz/fuzz-network-parser/dhcp-client-ipv6-only new file mode 100644 index 0000000..1f70c3b --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-ipv6-only @@ -0,0 +1,5 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv6 diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-listen-port b/test/fuzz/fuzz-network-parser/dhcp-client-listen-port new file mode 100644 index 0000000..73ac364 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-listen-port @@ -0,0 +1,8 @@ +[Match] +Name=veth99 + +[Network] +DHCP=yes + +[DHCP] +ListenPort=5555 diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-route-metric b/test/fuzz/fuzz-network-parser/dhcp-client-route-metric new file mode 100644 index 0000000..aa04aae --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-route-metric @@ -0,0 +1,10 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv4 +IPv6AcceptRA=false + +[DHCP] +UseRoutes=true +RouteMetric=24 diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-route-table b/test/fuzz/fuzz-network-parser/dhcp-client-route-table new file mode 100644 index 0000000..75f16aa --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-route-table @@ -0,0 +1,10 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv4 +IPv6AcceptRA=false + +[DHCP] +UseRoutes=true +RouteTable=12 diff --git a/test/fuzz/fuzz-network-parser/dhcp-client-tz-router b/test/fuzz/fuzz-network-parser/dhcp-client-tz-router new file mode 100644 index 0000000..6316f9c --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-tz-router @@ -0,0 +1,8 @@ +[Match] +Name=veth99 + +[Network] +IPv6AcceptRA=false +DHCP=ipv4 +UseRoutes=true +UseTimezone=true |