Yep,  I think I'm in the same situation.

I think it's better that when we set  "forwarded_for off" in
squid.conf, we should never see "X-Forwarded-For: Unknown." when there
is no X-Forwarded-For previously, and squid will not add  "unknown" 
when we already have one.


On Wed, 17 Nov 2004 10:12:38 +0100, Janno de Wit <[EMAIL PROTECTED]> wrote:
> Hi folks,
> 
> My Squid always modifies the X-Forwarded-For header with the client-IP.
> I'm now in a situation I want to keep the X-Forwarded-For header as it
> is..
> As far as i see it's only possible to disable the X-forwarded-for
> header, which will result the header as:
> X-Forwarded-For: Unknown.
> 
> At this time, I have already a X-Forwarded-For header. My final header
> as Squid will send out is:
> 
> X-Forwarded-For: <my-client-ip-by-other-squid>, <other proxy server>
> 
> I want Squid to keep the header for what it is, thus:
> input:
> X-Forwarded-For: <my-client-ip-by-other-squid>
> ouput:
> X-Forwarded-For: <my-client-ip-by-other-squid>
> 
> Is this possible?
> 
> Thanks, Janno.
>

Reply via email to