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

Reply via email to