Re: [squid-users] forwarded_for

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Fri, 12 Dec 2003 18:47:52 +0100

Duane Wessels wrote:

>
>On Fri, 12 Dec 2003, Emilio Casbas wrote:
>
>
>
>>Duane Wessels wrote:
>>
>>
>>
>>>Here is how X-Forwarded-For works:
>>>
>>>Each proxy in the hierarchy is going to append something to the
>>>X-Forwarded-For header. If 'forwarded_for' is on, then Squid appends
>>>the client's IP address.
>>>
>>>
>>>
>>Yes, it works in our first level of proxys.
>>
>>
>>
>>> If it is off, then Squid appends the
>>>string 'unknown'.
>>>
>>>
>>>
>>>
>>Here, in our third level of proxys fail. with forwarded_for off appear
>>the ips of clients instead the string unknown
>>
>>
>
>I don't think there are any bugs with the 'forwarded_for' directive.
>Perhaps you have the directive repeated in your config file and it
>is really set to on when you think it is off? You can request 'config'
>from the cache manager and see what Squid has the value set to internally.
>
>
>
This is from cache manager:

tcp_recv_bufsize 0 bytes
err_html_text
memory_pools on
memory_pools_limit 0 bytes
forwarded_for off <---------------
log_icp_queries on
icp_hit_stale off
minimum_direct_hops 4

I don't know what it can be happening.

>Duane W.
>
>
>
Thanks.
Emilio.

Received on Fri Dec 12 2003 - 10:47:56 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:11 MST