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

Fails to Geo lookup IPv4-mapped IPv6 addresses #3515

Closed
mmoya opened this issue Nov 4, 2012 · 3 comments
Closed

Fails to Geo lookup IPv4-mapped IPv6 addresses #3515

mmoya opened this issue Nov 4, 2012 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mmoya
Copy link

mmoya commented Nov 4, 2012

Hello

Piwik fails to recognize IPv4-mapped IPv6 addresses and GeoIp lookup fails because a plain IPv4 address is expected.

It seems to be enough to remove the initial '::ffff:' string.

Regards,
maykel

@mmoya
Copy link
Author

mmoya commented Nov 4, 2012

Attachment:
fix-ipv4-mapped.patch

@mattab
Copy link
Member

mattab commented Nov 6, 2012

Thanks for the report & patch! :)

@Capedfuzz please check patch looks good and if it needs to be applied in other places.

@diosmosis
Copy link
Member

(In [7469]) Fixes #3458, fixes #3515, improved geoip diagnostics/help & allowed IPv4-mapped IP addresses to be geo-located.

@mmoya mmoya added this to the 1.10 - Piwik 1.10 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

3 participants