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:[EMAIL PROTECTED]
> Sent: Saturday, 13 December 2003 04:47
> To: Emilio Casbas
> Cc: [EMAIL PROTECTED]
> 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
> > 
> > 
> > 
> > 
> 
> 

Reply via email to