RE: [squid-users] Why squid doesn't log anything when applying transparent proxy?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 06 Jul 2014 22:53:31 +1200

On 2014-07-06 11:49, Mark jensen wrote:
> so is my configuration is bad for transparent proxt espically the line
> added by me (for forwarding):
>
> #added by Mark
> request_header_access Referer deny all
> request_header_access X-Forwarded-For deny all
> request_header_access Via deny all
> request_header_access Cache-Control deny all
>
> visible_hostname proxy.example.com
>
> forwarded_for off
>  

If your version of Squid supports it you should use forwarded_for option
"transparent" or "delete" and drop the "request_header_access
X-Forwarded-For deny all"

Also, Cache-Control is an important header. Unless you have a very, very
good reason to be erasing it please leave it alone.

Amos
Received on Sun Jul 06 2014 - 10:53:48 MDT

This archive was generated by hypermail 2.2.0 : Sun Jul 06 2014 - 12:00:05 MDT