You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since nodejs server listen's to ipv4 and ipv6 addresses on the same socket, net.Socket.remoteAddress gives us an ipv4 address in ipv6 format like ::ffff:127.0.0.1. This needs to be converted to ipv4 if the policy evaluation condition is specified in ipv4. https://github.com/whitequark/ipaddr.js seems to be a good module to accomplish that replacing the current node-ip module.
The text was updated successfully, but these errors were encountered:
Since nodejs server listen's to ipv4 and ipv6 addresses on the same socket,
net.Socket.remoteAddress
gives us an ipv4 address in ipv6 format like::ffff:127.0.0.1
. This needs to be converted to ipv4 if the policy evaluation condition is specified in ipv4.https://github.com/whitequark/ipaddr.js seems to be a good module to accomplish that replacing the current
node-ip
module.The text was updated successfully, but these errors were encountered: