[autobackport: sssd-2-9] Filter IPv6 addresses not suitable for DNS updates#8249
Conversation
68e8ecd to
2755ab1
Compare
|
I had to cherry-pick b821c77 due to its |
|
|
The presence of the disable_netlink option in the sssd.conf man page is now conditional to HAVE_LIBNL, that is, to the present of the library and to value of the --with-libnl ./configure wasi executed. Reviewed-by: Alexey Tikhonov <atikhono@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com> (cherry picked from commit b821c77)
IPv6 brings a concept of address states defined in several RFCs (RFC 2462, RFC 3041, RFC 4862). Adresses that are marked as temporary, deprecated or tentative should not be used in DNS updates. This PR reads those flags via netlink interface and it excludes addresses with those flags. Resolves: SSSD#8089 Reviewed-by: Alexey Tikhonov <atikhono@redhat.com> Reviewed-by: Justin Stephenson <jstephen@redhat.com> (cherry picked from commit b1d425a)
IPv6 address can be marked as temporary, deprecated or tentative. We should exclude them from DNS updates. Reviewed-by: Alexey Tikhonov <atikhono@redhat.com> Reviewed-by: Justin Stephenson <jstephen@redhat.com> (cherry picked from commit 637b7bc)
|
The pull request was accepted by @alexey-tikhonov with the following PR CI status: 🟢 CodeQL (success) There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging. |
2755ab1 to
56fd99a
Compare
This is an automatic backport of PR#8142 Filter IPv6 addresses not suitable for DNS updates to branch sssd-2-9, created by @thalman.
Caution
@thalman The patches did not apply cleanly. It is necessary to resolve conflicts before merging this pull request. Commits that introduced conflict are marked with
CONFLICT!.You can push changes to this pull request
Original commits
b1d425a - Filter IPv6 addresses not suitable for DNS updates
637b7bc - test: check temporary address exclusion
Backported commits
Conflicting Files Information (check for deleted and re-added files)