getifaddrs does not return MAC addresses (ISC KEA)
Might be vagely related to #7494
The first: getifaddrs does not return MAC addresses, only IPv4 and IPv6 addresses. Either getifaddrs should be fixed (google found a patch for this) to return all addresses or a specific ioctl should be called to get them
As noted by ISC at https://gitlab.isc.org/isc-projects/kea/issues/631#note_60593
Updated by Sebastian Wiedenroth over 4 years ago
This is actually #3729, which despite beeing closed is not yet resolved.
There was a bug in libuv which could not handle AF_LINK entries (MAC addresses) beeing returned and broke node.js.
So that change was backed out. The libuv issue has been fixed since.
A new version of that change was sent for review (https://www.illumos.org/rb/r/318/) which allowes existing binaries to not receive AF_LINK entries and only enables this feature for newly compiled software. That way old node.js binaries will not break.
That workaround is a bit ugly and will likely have to be kept around forever.
There were questions about it that I was not able to really answer.
Maybe someone more qualified than myself can take a look and make sure it's ok.
Updated by Electric Monk over 1 year ago
- Status changed from New to Closed
commit 3ee592424ed4bb7b850d9adccb9f3c493ce7534b Author: Sebastian Wiedenroth <email@example.com> Date: 2022-05-20T00:04:11.000Z 3729 getifaddrs must learn to stop worrying and love the other address families Portions contributed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: C Fraire <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>