#3515 closed Bug (fixed)

Fails to Geo lookup IPv4-mapped IPv6 addresses

Reported by: mmoya Owned by:
Priority: major Milestone: 1.10 - Piwik 1.10
Component: Core Keywords:
Cc: Sensitive: no



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.


Attachments (1)

fix-ipv4-mapped.patch (995 bytes) - added by mmoya 18 months ago.

Download all attachments as: .zip

Change History (3)

Changed 18 months ago by mmoya

comment:1 Changed 18 months ago by matt (mattab)

  • Milestone set to 1.9.2 - Piwik 1.9.2
  • Priority changed from normal to major

Thanks for the report & patch! :)

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

comment:2 Changed 17 months ago by capedfuzz (diosmosis)

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.