Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL

Message Too Old, No Replies

Which Proxy headers do you capture?

There are so many



4:14 am on Oct 26, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Google is becoming useless for research. I started trying to google these individually...waste of time...site after site of garbage....

Even tried to search just for the squid documentation on this...couldn't find it... :(

Anyhow, these are the Server Headers I've found to be indicative that we're dealing w/ a proxy:


but I bet that most of them show practically nothing...so I figured you old pros probably know better than anyone which are worth tracking?

I was thinking of:


Am I missing any? Are all of the above useful?


12:34 am on Oct 27, 2010 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Via and X-Forwarded-For the ones most often received on my servers. Via most often, often with X-Forwarded-For, rarely with Forwarded, and even more rarely with any of the other proxy-related headers.

However, I only log all these headers when responding with a 403-Forbidden, and that may well skew my view of how common each of these headers may be in "acceptable" requests.

To be clear, I do not block requests solely because a proxy is being used. I may block that proxy's IP address range, I may block because *any* of the HTTP request headers are malformed, missing, or inappropriate to the request being made, but not simply because a proxy is in use.

Again, since I only log these proxy headers for rejected requests, take care in interpreting my data...



11:11 pm on Oct 27, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Thanks Jim. I coded it to grab everything. After I launch and give it some time to populate, I'll report back with my findings too.

Featured Threads

Hot Threads This Week

Hot Threads This Month