Support to proxy?

(Frank Abel) #1

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??

Frank Abel

(vipsoft) #2

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

(Frank Abel) #3

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?

Frank Abel

(vipsoft) #4

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.