Re: [squid-users] Deny URLs with Transparent proxy

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 31 Aug 2012 18:14:55 +1200

On 31/08/2012 4:11 p.m., Usuário do Sistema wrote:
> Helo, what I want appear easy but I can't to solve my issue alone.
>
> I have just to Install a box ( CentOS 5.8 ) with squid Transparent and
> I want DENY the url facebook.com but isn't work. follow my acls and
> http_access
>
> acl lan src 10.0.0.0/20
>
> acl sites_bloqueados url_regex -i /etc/squid/acls/sites_bloqueados.txt
>
> http_access deny sites_bloqueados
>
> http_access allow lan
>
> in the sites sites_bloqueados.txt there is the url facebook.com but
> the proxy doesn't DENY it.
>
> so....I wonder how to deny sites by transparent proxy ?
>
> any tips are welcome

Order and position are very important. The http_access rules you mention
would work in the right position.

With regex the exact pattern used as well. What is the *exact* file
contents?

Amos
Received on Fri Aug 31 2012 - 06:15:17 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 31 2012 - 12:00:06 MDT