Skip to content

Fix: ignore loopback NA during IPv6 DAD (RFC 4862, 5.4.3) #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stkim92
Copy link

@stkim92 stkim92 commented Apr 16, 2025

This PR addresses an edge case in Duplicate Address Detection (DAD)
where a node receives its own Neighbor Advertisement (NA) message
(broadcast via ff02::1) and mistakenly considers it as evidence of
address duplication, resulting in the unintended removal of its
link-local address.

According to RFC 4862 Section 5.4.3, such loopbacked messages must
not be interpreted as a sign of address duplication.

This patch adds a check to ensure that the source address of the
incoming NA does not match the node’s own address

  - add edge case for loopback NA during IPv6 DAD Operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant