-
Notifications
You must be signed in to change notification settings - Fork 495
(FACT-3171) Fix IPv6 link-local unicast address filtering #2539
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
(FACT-3171) Fix IPv6 link-local unicast address filtering #2539
Conversation
|
Can one of the admins verify this patch? |
791b033 to
78a558d
Compare
78a558d to
ca8d6d0
Compare
Instead of String comparison, check if IP addresses are included into the ignored ranges. No functional change.
RFC4291 define the Link-local unicast range as fe80::/10, not fe80::/16. As a consequence some Link-local unicast addresses where not correctly filtered, e.g. fe87::. While here, add a "working" example with an actual global IPv6 address from the 2001:0DB8::/32 range reserved for documentation (RFC3849).
ca8d6d0 to
c273b76
Compare
|
Awesome! Thanks for the head-up! |
joshcooper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct to me based on https://www.rfc-editor.org/rfc/rfc4291.html#section-2.4
Link-Local unicast 1111111010 FE80::/10 2.5.6
and https://www.rfc-editor.org/rfc/rfc5735.html#section-3
169.254.0.0/16 - This is the "link local" block. As described in
[RFC3927], it is allocated for communication between hosts on a
single link. Hosts obtain these addresses by auto-configuration,
such as when a DHCP server cannot be found.
RFC4291 define the Link-local unicast range as
fe80::/10, notfe80::/16(what we compared against because of the String comparison). As a consequence, some Link-local unicast addresses where not correctly filtered, e.g.fe87::.While here, add a "working" example with an actual global IPv6 address from the
2001:0DB8::/32range reserved for documentation (RFC3849).