diff options
Diffstat (limited to '')
11 files changed, 96 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-dhcp-settings b/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-dhcp-settings new file mode 100644 index 0000000..5c4ca22 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-ipv4-dhcp-settings @@ -0,0 +1,15 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv4 +IPv6AcceptRA=false + +[DHCP] +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-ipv6-rapid-commit b/test/fuzz/fuzz-network-parser/dhcp-client-ipv6-rapid-commit new file mode 100644 index 0000000..52fa587 --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-ipv6-rapid-commit @@ -0,0 +1,8 @@ +[Match] +Name=veth99 + +[Network] +DHCP=ipv6 + +[DHCP] +RapidCommit=false 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-timezone-router b/test/fuzz/fuzz-network-parser/dhcp-client-timezone-router new file mode 100644 index 0000000..6316f9c --- /dev/null +++ b/test/fuzz/fuzz-network-parser/dhcp-client-timezone-router @@ -0,0 +1,8 @@ +[Match] +Name=veth99 + +[Network] +IPv6AcceptRA=false +DHCP=ipv4 +UseRoutes=true +UseTimezone=true |