nsmeaton Posted February 2, 2007 Share Posted February 2, 2007 Hi all, Does apache automatically log the client IP address if the client goes through a proxy that sends an X-Forwarded-For header? If i set up a proxy for people, and do NOT want it to be anonymous, will my proxy ip show up in other servers http-access logs? If so, is there any indication of what % of webservers deal with X-Forwarded-For logging (is it common practice to do so for larger companies)? Many thanks in advance, - nick Quote Link to comment Share on other sites More sharing options...
steviewdr Posted February 2, 2007 Share Posted February 2, 2007 Does apache automatically log the client IP address if the client goes through a proxy that sends an X-Forwarded-For header? No - apache will only log the first bounce of client ip. I.e. apache will only log the ip of the proxy been used to access its pages. If i set up a proxy for people, and do NOT want it to be anonymous, will my proxy ip show up in other servers http-access logs? Yes - your ip will show up in other servers http-access logs. If so, is there any indication of what % of webservers deal with X-Forwarded-For logging (is it common practice to do so for larger companies)? By default - apache does not do a lookup on x-forwarded-for. It just logs the ip of whats accessing it - i.e. proxy. Yes - some companies - do log by x-forwarded-for. Some proxies - do NOT send out the x-forwarded-for ip. go to: http://whatsmyip.org/more/ -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.