ip6 icon indicating copy to clipboard operation
ip6 copied to clipboard

normalize return error on ipv4 converted to ipv6

Open ad34 opened this issue 7 years ago • 4 comments

uWebSockets node.js binding return this ip as an ipv6

::ffff:10.0.3.211

looks valid as i m able to find it, but it throws an Invalid adress error.

is it the normal behavior?

According to this online tool , it looks valid http://formvalidation.io/validators/ip/

ad34 avatar Dec 05 '17 14:12 ad34

I'm soooo sorry, I just saw this message here after two years and half. I will look into it.

elgs avatar Mar 16 '20 18:03 elgs

Can you please educate me about what behavior did you expect? This looks like a mix of IPv6 and IPv4 address?

elgs avatar Mar 16 '20 18:03 elgs

Now I am educated by https://tools.ietf.org/html/rfc5952#section-5.

elgs avatar Mar 18 '21 22:03 elgs

But the rfc doesn't seem to mention what this form special ipv6 addresses should be expanded or compressed to. So I am not sure what to do. If you know what they should be represented, please let me know, and I will fix it. Thanks.

elgs avatar Mar 18 '21 22:03 elgs