dhcp: add support for MUD URL (RFC 8520)

System Internals / NetworkManager - Eliot Lear [ofcourseimright.com] - 24 April 2020 08:07 EDT

[thaller@redhat.com: rewritten commit message]

https://tools.ietf.org/html/rfc8520 https://blog.apnic.net/2019/05/14/protecting-the-internet-of-things-with-mud/

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/402

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/463

295e6678d dhcp: add support for MUD URL (RFC 8520)
clients/common/nm-meta-setting-desc.c | 3 +
clients/common/settings-docs.h.in | 1 +
.../test-client.check-on-disk/test_002.expected | 10 +-
.../test-client.check-on-disk/test_003.expected | 482 ++++++++-------
.../test-client.check-on-disk/test_004.expected | 678 ++++++++++++---------
libnm-core/nm-setting-connection.c | 57 ++
libnm-core/nm-setting-connection.h | 3 +
libnm-core/tests/test-general.c | 1 +
libnm/libnm.ver | 1 +
src/devices/nm-device.c | 10 +-
src/dhcp/nm-dhcp-client.c | 23 +
src/dhcp/nm-dhcp-client.h | 2 +
src/dhcp/nm-dhcp-dhclient-utils.c | 26 +-
src/dhcp/nm-dhcp-dhclient-utils.h | 1 +
src/dhcp/nm-dhcp-dhclient.c | 6 +
src/dhcp/nm-dhcp-manager.c | 6 +
src/dhcp/nm-dhcp-manager.h | 2 +
src/dhcp/nm-dhcp-nettools.c | 10 +
src/dhcp/nm-dhcp-options.c | 3 +-
src/dhcp/nm-dhcp-options.h | 2 +
src/dhcp/nm-dhcp-systemd.c | 11 +
src/dhcp/tests/test-dhcp-dhclient.c | 59 +-
src/nm-iface-helper.c | 2 +
.../plugins/ifcfg-rh/nms-ifcfg-rh-reader.c | 6 +
src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-utils.c | 1 +
src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-utils.h | 3 +-
.../plugins/ifcfg-rh/nms-ifcfg-rh-writer.c | 5 +-
27 files changed, 890 insertions(+), 524 deletions(-)

Upstream: cgit.freedesktop.org


  • Share