Ignore RFC1918 proxy client IP addresses #2077
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
When a client with a private IP address logs its visit through a proxy, the private IP address is logged, but not the proxy address that will be much more precious: a visitor log showing an IP address as 192.168.x.x is not very useful...
The attached patch directs Piwik to ignore proxy client IP addresses belonging to private networks, thus replacing them in the log by the true proxy address.
The text was updated successfully, but these errors were encountered: