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."

Reply via email to