-
Notifications
You must be signed in to change notification settings - Fork 25
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
IPParser doesn't handle IPv4-Mapped IPv6 Address #14
Comments
@brbaker I have a pull request pending usage of 'ip-address' module. I think this handles all the IPv4 mapped types. I would like you to review and see if this fits the bill and we can make the switch easily going forward. ip-address: https://www.npmjs.com/package/ip-address Pull Request: #17 |
I'm having the same problem. What would be best way to tackle this problem? |
Same issue. |
The code doesn't properly handle IPv4 addresses that are mapped into the IPv6 address space.
http://tools.ietf.org/html/rfc4291#section-2.5.5.2
Code currently passes off to the IPv4 parser when it finds a '.', however the IPv4 parser doesn't handle it. Probably best to extract the IPv4 mapped address and then pass it into the ipv4 parser.
The text was updated successfully, but these errors were encountered: