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

os.networkInterfaces() returns wrong mac addresses again! #27139

Closed
gev opened this issue Apr 8, 2019 · 4 comments
Closed

os.networkInterfaces() returns wrong mac addresses again! #27139

gev opened this issue Apr 8, 2019 · 4 comments

Comments

@gev
Copy link

gev commented Apr 8, 2019

Hi, guys!

Version: 11.13.0
Platform: OS X 10.14
Subsystem: os

Just upgrade to 11.13.0. All mac address are 00:00:00:00:00:00 on OS X 10.14

os.networkInterfaces()

returns:

{ lo0:
   [ { address: '127.0.0.1',
       netmask: '255.0.0.0',
       family: 'IPv4',
       mac: '00:00:00:00:00:00',
       internal: true,
       cidr: '127.0.0.1/8' },
     { address: '::1',
       netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
       family: 'IPv6',
       mac: '00:00:00:00:00:00',
       internal: true,
       cidr: '::1/128',
       scopeid: 0 },
     { address: 'fe80::1',
       netmask: 'ffff:ffff:ffff:ffff::',
       family: 'IPv6',
       mac: '00:00:00:00:00:00',
       internal: true,
       cidr: 'fe80::1/64',
       scopeid: 1 } ],
  en0:
   [ { address: 'fe80::cd5:8b0a:d35:1fc5',
       netmask: 'ffff:ffff:ffff:ffff::',
       family: 'IPv6',
       mac: '00:00:00:00:00:00',
       internal: false,
       cidr: 'fe80::cd5:8b0a:d35:1fc5/64',
       scopeid: 7 },
     { address: '192.168.88.191',
       netmask: '255.255.255.0',
       family: 'IPv4',
       mac: '00:00:00:00:00:00',
       internal: false,
       cidr: '192.168.88.191/24' } ],
  awdl0:
   [ { address: 'fe80::142f:dff:fef6:7fa6',
       netmask: 'ffff:ffff:ffff:ffff::',
       family: 'IPv6',
       mac: '00:00:00:00:00:00',
       internal: false,
       cidr: 'fe80::142f:dff:fef6:7fa6/64',
       scopeid: 9 } ],
  utun0:
   [ { address: 'fe80::3a9b:1876:fcc8:5857',
       netmask: 'ffff:ffff:ffff:ffff::',
       family: 'IPv6',
       mac: '00:00:00:00:00:00',
       internal: false,
       cidr: 'fe80::3a9b:1876:fcc8:5857/64',
       scopeid: 13 } ] }
@mscdex
Copy link
Contributor

mscdex commented Apr 8, 2019

What do you mean by 'again'? Did this work in a previous version of node? If so, which version? If this still happens on the node master branch, it's probably a good idea to submit an issue to the libuv issue tracker, as that is where the network interface information comes from.

@santigimeno
Copy link
Member

This should be fixed on libuv once libuv/libuv#2153 lands.

@gev
Copy link
Author

gev commented Apr 9, 2019

like @santigimeno have fixed this issue pull request for libuv is here libuv/libuv#2247

@targos
Copy link
Member

targos commented Jun 13, 2020

Closing, assuming this was fixed in libuv.

@targos targos closed this as completed Jun 13, 2020
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

No branches or pull requests

4 participants