-
Notifications
You must be signed in to change notification settings - Fork 2k
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
EUI-64 calculation #4233
Comments
Looks alright on first side 👍 |
SHA1 is on its way: #4701. |
Just to be clear, the algorithm described on the RFC still requires the time of date and also describes the creation of a (somewhat) globally unique IPv6 address, right? |
Yes, it requires time and date (most of the devices have an RTC and even if not |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
It is however still problematic when the CPU ID is very similar (see e.g. last week's discussion to the users list) |
Is there a small hash algorithm that produces 64 bit output? Hashing the CPU ID would provide better results than just xor in a loop. |
IMO this can be closed. @benpicco: ping :) |
The algorithm described in RFC 4193 won't work for us as it depends on the time - and we want stable L2 addresses. But our current algorithm appears to be working quite well, so let's close this. (also, see #15239) |
I just discovered that RFC4193 describes an algorithm to generate a Pseudo-Random Global ID from either a MAC address or "a suitably unique identifier, local to the node, should be used (e.g., system serial number)". Maybe we can use this algorithm for creating an EUI-64 from the CPUID?
The text was updated successfully, but these errors were encountered: