This is a discussion on RE: [squid-users] forwarded_for within the Squid Users forums, part of the Web Server and Related Forums category; Hi Emilio, This is my outbound squid config located on my firewall - which is the = last squid in the chain ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 >=20 >=20 > See squid.conf or the FAQ. >=20 > Regards > Henrik >=20 > On Fri, 12 Dec 2003, Emilio Casbas wrote: >=20 > > Hi, > > In one jerarquia of 3 levels of proxy-cache, we have=20 > configured so that=20 > > the first level shows ips of the clients (forwarded on) and=20 > works well,=20 > > and in proxis-cache of third-level of exit (forwarded off),=20 > but here is=20 > > where it does not work and shows the following thing: > >=20 > > 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. > >=20 > > instead of: > >=20 > > X-Forwarded-For: unknown > >=20 > >=20 > > The squid version is squid-2.5Stable4 > >=20 > > Thanks in advanced. > > Emilio > >=20 > >=20 > >=20 > >=20 >=20 >=20 |