Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

AnonymizeIP is not 64bit clean #1735

Closed
anonymous-piwik-user opened this Issue · 3 comments

2 participants

Anonymous Piwik user Anthon Pang
Anonymous Piwik user

I had to realize that the AnonymizeIP plugin is not 64bit clean. It sets either 255.255.255.255 or 0.0.0.0 as IP address, depending on the setting of ip_address_mask_length.

The best workaround I found was masking the result of the anonymization with 0xffffffff, as you can find in the attached patch.

Anthon Pang
Collaborator

(In [3186]) fixes #1735 - thanks arnotron

Anthon Pang
Collaborator

(In [3188]) refs #1735 - oops; my mistake

Anonymous Piwik user anonymous-piwik-user added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.