Project

General

Profile

Bug #11196

getifaddrs does not return MAC addresses (ISC KEA)

Added by Jorge Schrauwen 23 days ago. Updated 16 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

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


Related issues

Is duplicate of illumos gate - Bug #3729: getifaddrs must learn to stop worrying and love the other address familiesNew2013-04-19

Actions

History

#1

Updated by Sebastian Wiedenroth 16 days 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.

#2

Updated by Gergő Mihály Doma 15 days ago

  • Is duplicate of Bug #3729: getifaddrs must learn to stop worrying and love the other address families added

Also available in: Atom PDF