Closed dannyzaken closed 6 days ago
I am not sure what the correct address value should be used. The link-local format is valid but is not handled correctly by some applications. The previous behavior of node.js 20 (remoteAddress without the link-local suffix) worked for us, so I patched it, but only on ice.js. If we will see other failures as a result of this address suffix we will consider a more general fix.
Explain the changes
socket.remoteAddress
contains a link-local suffix, e.g.:fe80::858:aff:fe83:2e%eth0
ip_module.isPrivate()
(npmip
module), and throws an errorinvalid ipv4 address
ice.js
only to remove the %[interface] suffix.ip_module.isPrivate()
with a non-throwing functionIssues: Fixed #xxx / Gap #xxx
Testing Instructions: