Re: [squid-users] X-Forwarded-For: header

From: Tesla 13 <tesla1313@dont-contact.us>
Date: Wed, 29 Jan 2003 18:34:24 -0500

>That works! amazing.
>I thought "header_access" and "header_replace" only works for
>the headers that come from the client. not the ones (like,
>X-Forwarded-For) that are set from squid itself. I actually tried
>header_replace X-Forwarded-For 1.2.3.4
>a few days ago but still got "unknown".

You probabably forgot to deny it with header_access first.

>btw, if I set "forwarded_for" to off, shouldn't squid stop sending
>the "X-Forwarded-For" header instead of sending a bogus "unknown"?

I prefer to remove X-Forwarded-For from the source. Sometimes it leaks out
from my configs and I am too lazy to find out what went wrong.

Tesla

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
Received on Wed Jan 29 2003 - 16:34:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:58 MST