Re: [squid-users] forwarded_for

This is a discussion on Re: [squid-users] forwarded_for within the Squid Users forums, part of the Web Server and Related Forums category; On Fri, 2003-12-12 at 12:47, Emilio Casbas wrote: > Duane Wessels wrote: > >On Fri, 12 ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2003
Stephen J. McCracken
 
Posts: n/a
Default Re: [squid-users] forwarded_for

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 With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0