Skip to content

Conversation

@jukkar
Copy link
Member

@jukkar jukkar commented Oct 29, 2024

This implements support for RFC 7217 which describes a method to have stable IPv6 Interface Identifiers to be used with IPv6 Stateless Address Autoconfiguration (SLAAC). The stable IIDs are used to provide enhanced privacy so that an IPv6 address configured using this method is stable within each subnet, but the corresponding Interface Identifier changes when the host moves from one network to another. This method is meant to be an alternative to generating Interface Identifiers based on hardware (MAC) addresses, such that the benefits of stable addresses can be achieved without sacrificing the security and privacy of users.

https://www.rfc-editor.org/rfc/rfc7217

@jukkar jukkar added this to the v4.1.0 milestone Oct 29, 2024
@jukkar jukkar force-pushed the devel/ipv6-stable-iid-with-slaac branch from a33ea52 to e0d73e7 Compare October 30, 2024 09:19
@jukkar
Copy link
Member Author

jukkar commented Oct 30, 2024

  • CI test / conformance fixes

@jukkar jukkar force-pushed the devel/ipv6-stable-iid-with-slaac branch from e0d73e7 to 7758804 Compare October 30, 2024 15:19
@jukkar
Copy link
Member Author

jukkar commented Oct 30, 2024

  • updated according to comments
  • rebased against latest main

@jukkar jukkar force-pushed the devel/ipv6-stable-iid-with-slaac branch from 7758804 to 1805f6a Compare October 31, 2024 12:53
pdgendt
pdgendt previously approved these changes Nov 1, 2024
This implements support for RFC 7217 which describes a method
to have stable IPv6 Interface Identifiers to be used with IPv6
Stateless Address Autoconfiguration (SLAAC). The stable IIDs are used
to provide enhanced privacy so that an IPv6 address configured using
this method is stable within each subnet, but the corresponding
Interface Identifier changes when the host moves from one network
to another. This method is meant to be an alternative to generating
Interface Identifiers based on hardware (MAC) addresses,
such that the benefits of stable addresses can be achieved without
sacrificing the security and privacy of users.

Signed-off-by: Jukka Rissanen <[email protected]>
Add tests that verify that stable IIDs generate a proper IPv6
interface identifier described in RFC 7217.

Signed-off-by: Jukka Rissanen <[email protected]>
Print information in "net ipv6" command how the SLAAC addresses
are generated. There is the default legacy EUI-64 method (RFC 4862) or
the stable method described in RFC 7217.

Signed-off-by: Jukka Rissanen <[email protected]>
The short sleep (10ms) was not enough any more. Increase the sleep
to 100ms so that system stabilizes between checks.

Signed-off-by: Jukka Rissanen <[email protected]>
@jukkar jukkar force-pushed the devel/ipv6-stable-iid-with-slaac branch from 1805f6a to d6d994e Compare November 1, 2024 20:23
@nashif nashif merged commit 8070e7c into zephyrproject-rtos:main Nov 16, 2024
25 checks passed
@jukkar jukkar deleted the devel/ipv6-stable-iid-with-slaac branch November 17, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants