Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way to tell from HTTP headers with a page if a proxy server has been involved in the connection?

share|improve this question

3 Answers 3

If the headers are enabled. Just for example I've got a Squid installation on pfSense (basically Squid on my router with a GUI). There I have 2 relevant options:

"Disable X-Forward
If not set, Squid will include your system's IP address or name in the HTTP requests it forwards.

Disable VIA
If not set, Squid will include a Via header in requests and replies as required by RFC2616."

share|improve this answer

Not with certainty. Nice ones may add some headers. Less forthcoming ones might not. Your milage may vary depending on why/how you use the information.

share|improve this answer

There are headers like X-Real-IP X-Forwared-For wich can help you to detect proxies.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.