When anonimize IP is enabled, consider doing Provider / GeoIP lookup faking the last IP byte to 1 ? #3023

Closed
mattab opened this Issue Mar 8, 2012 · 3 comments

3 participants

@mattab
Piwik Open Source Analytics member

It is suggested in the forums that major internet providers own the full range of IP.

When IP has only 1 byte anonimized, could we use the assumption that they own the x.y.z.1 IP, and do the provider lookup on this IP, instead of x.y.z.0 which does not work (and is currently disabled)?

It might fail to return the proper Provider in some cases, but for most cases, it should work. Thoughts?

@mattab
Piwik Open Source Analytics member

We should also consider GeoIP which has the same issue, how about replacing bytes by 0 and doing lookup in GeoIP based on that? I have the feeling I had this discussion already...

@anonymous-piwik-user

Hi,
this issue is also important to me. Because I don't have the ability to look deep in the code I don't know why this is not possible, but for me the best solution will be

  • getting the provider
  • anonimize the ip afterwards

I saw in the forum that this is maybe due tu privacy reasons, but for me this is not the case. the ip address is not needed to be saved to any database, its just used in the code (ram) and then anonymized directly.

rgds.
Michael

@diosmosis
Piwik Open Source Analytics member

Anonymization works w/ GeoIP, though can become less accurate (depending on number of bytes anonymized).

@mattab mattab added this to the 1.12.x - Piwik 1.12.x 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