networkd: Add support for blacklisting servers

System Internals / systemd - Susant Sahani [redhat.com] - 10 May 2019 13:29 EDT

closes #6260

fuzzer: Add DHCP support for blacklisting servers

727b573418 networkd: Add support for blacklisting servers
man/systemd.network.xml | 7 +++
src/libsystemd-network/sd-dhcp-client.c | 11 ++--
src/libsystemd-network/test-dhcp-client.c | 6 ++-
src/network/networkd-dhcp4.c | 57 +++++++++++++++-----
src/network/networkd-network-gperf.gperf | 1 +
src/network/networkd-network.c | 67 +++++++++++++++++++++++-
src/network/networkd-network.h | 2 +
src/systemd/sd-dhcp-client.h | 3 +-
test/fuzz/fuzz-network-parser/directives.network | 1 +
9 files changed, 136 insertions(+), 19 deletions(-)

Upstream: github.com


  • Share