RE: [squid-users] forwarded_for

From: David <dspezialie@dont-contact.us>
Date: Sat, 13 Dec 2003 16:48:56 +1100

Hi Emilio,

This is my outbound squid config located on my firewall - which is the last
squid in the chain configured as follows utilizing header_access filtering,

#------------------------------------------------
# header filtering
header_access Allow allow all
header_access Authorization allow all
header_access WWW-Authenticate allow all
header_access Cache-Control allow all
header_access Content-Encoding allow all
header_access Content-Length allow all
header_access Content-Type allow all
header_access Date allow all
header_access Expires allow all
header_access Host allow all
header_access If-Modified-Since allow all
header_access Last-Modified allow all
header_access Location allow all
header_access Pragma allow all
header_access Accept-Charset allow all
header_access Accept-Encoding allow all
header_access Accept-Language allow all
header_access Content-Language allow all
header_access Mime-Version allow all
header_access Retry-After allow all
header_access Title allow all
header_access Connection allow all
header_access Proxy-Connection allow all
header_access Set-Cookie allow all
header_access Cookie allow all
header_access Accept allow all
header_access User-Agent allow all
header_access Referer allow all
header_access All deny all
#------------------------------------------------

Which removes all the ugly stuff!.

;-)

-david

> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@squid-cache.org]
> Sent: Saturday, 13 December 2003 04:47
> To: Emilio Casbas
> Cc: squid-users@squid-cache.org
> Subject: Re: [squid-users] forwarded_for
>
>
> See squid.conf or the FAQ.
>
> Regards
> Henrik
>
> On Fri, 12 Dec 2003, Emilio Casbas wrote:
>
> > Hi,
> > In one jerarquia of 3 levels of proxy-cache, we have
> configured so that
> > the first level shows ips of the clients (forwarded on) and
> works well,
> > and in proxis-cache of third-level of exit (forwarded off),
> but here is
> > where it does not work and shows the following thing:
> >
> > X-Forwarded-For: x.x.x.x, x.x.x.x
> > X-Forwarded-For: x.x.x.x, x.x.x.x
> > X-Forwarded-For: x.x.x.x, x.x.x.x
> > X-Forwarded-For: x.x.x.x, x.x.x.x
> > X-Forwarded-For: x.x.x.x, x.x.x.x
> > X-Forwarded-For: x.x.x.x, x.x.x.x
> > where x.x.x.x is ips of our clients.
> >
> > instead of:
> >
> > X-Forwarded-For: unknown
> >
> >
> > The squid version is squid-2.5Stable4
> >
> > Thanks in advanced.
> > Emilio
> >
> >
> >
> >
>
>
Received on Fri Dec 12 2003 - 22:49:35 MST

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