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.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to