Skip to content

connman.py: Fix configuration of IPv6 Privacy Extensions#365

Open
dallmair wants to merge 1 commit into
LibreELEC:masterfrom
dallmair:ipv6-privacy-extensions
Open

connman.py: Fix configuration of IPv6 Privacy Extensions#365
dallmair wants to merge 1 commit into
LibreELEC:masterfrom
dallmair:ipv6-privacy-extensions

Conversation

@dallmair

Copy link
Copy Markdown

IPv6 Privacy Extensions as defined in RFC 4941/8981 require stateless auto-configuration (SLAAC). For other address configuration types, the respective kernel setting does not have any effect. Therefore, the Privacy setting in the LE UI should be shown if and only if Method is auto.


PS: There is actually a usability improvement possible here, but I'm not sure how to implement it best. The Privacy values mean:

  • disabled: No temporary IPv6 addresses assigned.
  • enabled: Temporary IPv6 addresses assigned, but not used by default.
  • prefered: Temporary IPv6 addresses assigned and actually used.

In practice, enabled has the same effect as disabled as all outgoing traffic is still sent with a persistent global unicast address (no privacy). Only prefered actually causes the system to send traffic with a temporary address and achieves the desired privacy effect.

Thus, from a user's perspective it would be best to change this to a Boolean option where off sets Privacy=disabled and on sets Privacy=prefered on save. On initialization, Privacy=enabled should probably map to off. But I'm not sure whether enabled needs to be retained or can be changed to disabled automatically on save.

Any thoughts and feedback is highly appreciated.

IPv6 Privacy Extensions as defined in RFC 4941/8981 require stateless
auto-configuration (SLAAC), i.e. the respective setting must be visible
if and only if Method is 'auto'.
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