Support to proxy?

Hi all,

I’m new on this field and want know if this software support client IP differentiation in case that client use a web proxy like squid. I know that exist an HTTP header that have the real (and not the proxy) client IP, but, this software catch it??

Cheers
Frank Abel

Piwik captures the address provided by the Proxy if there is one, e.g., HTTP_CLIENT_IP or HTTP_X_FORWARDED_FOR.

thanks for your reply

Have HTTP_X_FORWARDED_FOR precedence over the proxy IP? I mean stats will show for real client IP(HTTP_X_FORWARDED_FOR) instead of proxy IP?

Cheers
Frank Abel

Piwik currently gives precedence to HTTP_CLIENT_IP (which is the header used by some proxies) over X_FORWARDED_FOR (which is used by others), before falling back to REMOTE_ADDR.

This should not be considered reliable in any case since the headers don’t show the order if mixed proxies are used; also proxies may send “unknown”, forge, or suppress information.