Re: [squid-users] forwarded_for

From: Stephen J. McCracken <smccrack@dont-contact.us>
Date: 12 Dec 2003 13:15:02 -0500

On Fri, 2003-12-12 at 12:47, Emilio Casbas wrote:
> 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.
[snip]
> >>>
> >>Here, in our third level of proxys fail. with forwarded_for off
> appear
> >>the ips of clients instead the string unknown
[snip]

Are you expecting it to OVERWRITE (sobre-escribir) instead of APPEND
(agregar)?

As Duane said, "Squid does not remove or replace X-Forwarded-For
entries, it only adds to them. If you want to remove the header
completely, use the 'header_access' and 'header_replace' directives."
Received on Fri Dec 12 2003 - 11:15:23 MST

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