NetworkManager/clients/common
Thomas Haller 800e226334
device: add "ipv4.dhcp-client-id=ipv6-duid" property for RFC4361
RFC4361 intends to set the same IAID/DUID for both DHCPv4 and DHCPv6.
Previously, we didn't have a mode for that.

Of course, you could always set "ipv4.dhcp-client-id" and
"ipv6.dhcp-duid" to (the same) hex string, but there was no
automatic mode. Instead we had:

- "ipv4.dhcp-client-id=duid" which sets the client ID to a stable,
  generated DUID. However, there was no option so that the same
  DUID/IAID would be automatically used for DHCPv6.

- there are various special values for "ipv6.dhcp-duid" which generate
  a stable DUIDs. However, those values did not work for
  "ipv4.dhcp-client-id".

Solve that by adding "ipv4.dhcp-client-id=ipv6-duid" which indicates to use
the DUID from DHCPv6's "ipv6.dhcp-duid" setting. As IAID it will prefer "ipv4.dhcp-iaid"
(if set), but fallback to "ipv6.dhcp-iaid".

https://tools.ietf.org/html/rfc4361

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

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/718
2021-01-11 18:59:01 +01:00
..
tests clients: fix compiler warning in _do_test_parse_passwd_file() 2021-01-08 19:06:44 +01:00
meson.build all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-client-utils.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-client-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-meta-setting-access.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-meta-setting-access.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-meta-setting-desc.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-meta-setting-desc.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-polkit-listener.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-polkit-listener.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-secret-agent-simple.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-secret-agent-simple.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-helpers.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-helpers.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
qrcodegen.c all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
qrcodegen.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
settings-docs.h.in device: add "ipv4.dhcp-client-id=ipv6-duid" property for RFC4361 2021-01-11 18:59:01 +01:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00