@redbox-cdn opened this Issue on October 29th 2014

Hi

I have one problem regarding X-forworded-for.

If X-forworded-for(proxy IP) and clientIP included in the logs, the visitor log on the piwik has only displayed proxy IP (this means not included clientIP)

In the other hand, If X-forworded-for(proxy IP) did not contain in the access log, the piwik has reported the client ip.

Here is the logformat

■Not via proxy server (it is OK)

  • clientip - - [29/Oct/2014:14:41:27 +0900] "GET /xxxxxx HTTP/1.1" 200 88497 "http://domain/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36

■Via proxy server (only the proxy IP address)
clientip proxyIP - - [29/Oct/2014:14:41:27 +0900] "GET /xxxxxx HTTP/1.1" 200 88497 "http://domain/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36

Please advise me whether My log format is mistaken or other solution.
I would like to report the client ip even if the access via proxy server.

Thanks!

@mattab commented on October 30th 2014 Owner

I don't think this is a bug in Piwik unless you have a bug report?

feel free to ask in forums: http://forum.piwik.org/

see also this faq: http://piwik.org/faq/how-to-install/faq_98/

This Issue was closed on October 30th 2014
Powered by GitHub Issue Mirror