Skip to content
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

Don't delete the dhcp6c_duid file when trying to signal the dhcp client that it should get a new ipv6 address #5

Closed
bogdap opened this issue Dec 12, 2016 · 3 comments
Assignees
Labels

Comments

@bogdap
Copy link

bogdap commented Dec 12, 2016

According to Section 9 from RFC 3315 "The DUID is designed to be unique across all DHCP clients and servers, and stable for any specific client or server - that is, the DUID used by a client or server SHOULD NOT change over time if at all possible; for example, a device's DUID should not change as a result of a change in the device's network hardware"

According to tour comment from September 26th :

To acquire an ipv6 address the app checks if the dhcp6c process is running, if that's the case it will use the "communicator binary" dhcp6ctl to signal the dhcp client that it should get a new ipv6 address.

Although this does not always work, therefore the app first deletes /data/misc/dhcp/dhcp6c_duid in order for the dhcp client to get a new address.

Deleting dhcp6c_duid forces the dhcpv6 client to generate a new DUID.

@realmar realmar added the bug label Dec 12, 2016
@realmar realmar self-assigned this Dec 12, 2016
@realmar
Copy link
Owner

realmar commented Dec 12, 2016

Thank you for your Issue.

This behavior is now removed in version 1.5.4 (28) commit: 834581f

Signed build is uploaded to google play.

@bogdap
Copy link
Author

bogdap commented Dec 12, 2016

Tested the new version, it's OK now. The DUID is the same even between reboots.

@realmar
Copy link
Owner

realmar commented Dec 12, 2016

Thank you for testing and confirming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants