Re: [squid-users] i have trouble with my acl list

From: Syed Mohammad Talha <talha@dont-contact.us>
Date: Tue, 16 Oct 2001 11:02:44 +0300

Hi,

use the acl like this, this will solve ur problem

http_access deny porn
http_access allow notporn password

Good Luck

Talha

----- Original Message -----
From: "Colin Campbell" <sgcccdc@citec.qld.gov.au>
To: <schmitz@iae.de>
Cc: <squid-users@squid-cache.org>
Sent: Tuesday, October 16, 2001 10:48 AM
Subject: Re: [squid-users] i have trouble with my acl list

> Hi,
>
> What happens if you remove the (undefined?) "password" http_access line?
>
> On Tue, 16 Oct 2001 schmitz@iae.de wrote:
>
> >
> > Hello
> >
> > I have trouble with my acl list. The log file show me no errors. This is
my
> > ACL list. ind the two porn list is the word xxx sex ... inside. This
sites
> > must be Access-Denied. But it doesn't work. Why??
> >
> >
> > acl password proxy_auth REQUIRED
> >
> > acl all src 0.0.0.0/0.0.0.0
> > acl manager proto cache_object
> > acl localhost src 127.0.0.1/255.255.255.255
> > acl SSL_ports port 443 563
> > acl Dangerous_ports port 7 9 19 8001
> > acl Safe_ports port 80
> > acl Safe_ports port 21
> > acl Safe_ports port 443 563
> > acl Safe_ports port 70
> > acl Safe_ports port 210
> > acl Safe_ports port 1025-65535
> > acl Safe_ports port 280
> > acl Safe_ports port 488
> > acl Safe_ports port 591
> > acl Safe_ports port 777
> > acl porn url_regex "/usr/local/squid/etc/domains.regexp"
> > acl notporn url_regex "/usr/local/squid/etc/domains.exclude"
> > acl CONNECT method CONNECT
> > acl localclient src 192.168.1.0/24
> > # http_access deny all
> > http_access allow password
> > http_access deny porn
> > http_access allow notporn
> > http_access deny !Safe_ports
> > http_access deny Dangerous_ports
> > http_access deny CONNECT !SSL_ports
> > http_access deny all
>
> Colin
>
Received on Tue Oct 16 2001 - 02:04:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:45 MST