1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00
systemd-stable/test/fuzz/fuzz-network-parser
Lennart Poettering 2a71d57f4e network: clean-up DHCP lease server data configuration
This is an attempt to clean up the POP3/SMTP/LPR/… DHCP lease server
data logic in networkd. This reduces code duplication and fixes a number
of bugs.

This removes any support for collecting POP3/SMPT/LPR servers acquired
via local DHCP client releases since noone uses that, and given how old
these protocols are I doubt this will change. It keeps support for
configuring them for the dhcp server however.

The differences between the DNS/NTP/SIP/POP3/SMTP/LPR configuration
logics are minimized.

This removes the relevant symbols from sd-network.h (which is an
internal API only at this point after all).

This is unfortunately not well test, given the old code for this had
barely any tests. But the new code should not perform worse at least,
and allow us to release, since it corrects some interfaces visible in
the .network configuration format.

Fixes: #15943
2020-06-18 13:08:18 +09:00
..
21-vlan.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
23-active-slave.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
23-bond199.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
23-emit-lldp.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
23-primary-slave.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
23-test1-bond199.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
24-lldp.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
24-search-domain.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-address-link-section.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-address-section-miscellaneous.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-address-section.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-fibrule-port-range.network network: rename Protocol= in [RoutingPolicyRule] to IPProtocol= 2018-12-02 06:13:47 +01:00
25-ipv6-address-label-section.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-link-section-unmanaged.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-neighbor-section.network networkd: Static neighbor support 2018-12-09 16:56:37 -08:00
25-route-section.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-route-tcp-window-settings.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-route-type.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
25-sysctl.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
26-bridge-slave-interface-1.network networkd: bridge add support to configure multicast_to_unicast 2018-12-03 23:49:46 +05:30
26-bridge-slave-interface-2.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
27-xfrm.network Added support for xfrm interfaces 2019-07-10 23:02:19 +09:00
bridge99.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
configure-without-carrier.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-anonymize.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-critical-connection.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-ipv4-dhcp-settings.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-ipv4-only-ipv6-disabled.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-ipv4-only.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-ipv6-only.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-ipv6-rapid-commit.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-listen-port.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-route-metric.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-route-table.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client-timezone-router.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-client.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-server-timezone-router.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-server-veth-peer.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-server.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
dhcp-v4-server-veth-peer.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
directives.network network: clean-up DHCP lease server data configuration 2020-06-18 13:08:18 +09:00
github-10639 tests: add a reporoducer for https://github.com/systemd/systemd/issues/10639 2018-11-06 19:01:32 +01:00
github-13938 test: add testcase for issue #13938 2019-11-05 10:49:07 +09:00
github-15885 tests: add a testcase for https://github.com/systemd/systemd/issues/15885 2020-05-22 13:35:00 +02:00
github-15951 network: fix memleaks 2020-05-29 14:49:40 +02:00
gretap.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
gretun.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
ip6gretap.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
ip6tnl.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
ipip.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
ipv6-prefix-veth.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
ipv6-prefix.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
ipvlan.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
macvlan.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
macvtap.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
oss-fuzz-11285 fuzz: add a testcase for oss-fuzz#11285 2018-11-08 12:31:02 +09:00
oss-fuzz-11302 fuzz: add testcases of recent issues 2018-11-09 11:45:43 +09:00
oss-fuzz-11314 fuzz: add testcases of recent issues 2018-11-09 11:45:43 +09:00
oss-fuzz-11345 fuzz: add testcase of oss-fuzz#11345 2018-11-11 12:03:52 +09:00
oss-fuzz-13059 tests: shorten the fuzz test case 2019-02-21 12:30:13 +01:00
oss-fuzz-13354 networkd: refuse more than 128 NTP servers 2019-02-27 14:52:33 +01:00
oss-fuzz-13433 networkd: fix memleak when the same NetDev is specified twice 2019-02-27 14:31:28 +01:00
oss-fuzz-13888 fuzz: add testcases for the bug in condition_free_list_type() 2019-03-24 00:35:39 +09:00
oss-fuzz-15678 network: fix memleak 2019-07-10 12:27:48 +02:00
oss-fuzz-20548 network: fix ABRT 2020-02-07 17:18:58 +09:00
routing-policy-rule.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
sit.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
test-static.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
vti6.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
vti.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00
vxlan.network tests: add some data that can be fed to fuzz-network-parser 2018-11-06 19:01:32 +01:00