On 17 Jun 99, at 16:39, Thilo Manske wrote:
Date forwarded: Thu, 17 Jun 1999 07:55:00 -0700 (PDT)
Date sent: Thu, 17 Jun 1999 16:39:46 +0200
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
To: Narasimha Murthy <lnm@sasi.com>
Copies to: squid-users@ircache.net
Subject: Re: Acl list Problem
Send reply to: Thilo.Manske@HEH.Uni-Oldenburg.DE
Forwarded by: squid-users@ircache.net
> On Thu, Jun 17, 1999 at 06:42:53PM +0530, Narasimha Murthy wrote:
> > I have configure squid.conf to block porn site and to allow
> > notporn site through acl list consist of the same which is
> > availabe on the site but still notpron sites are also not
> > accessible
>
> > acl porn url_regex "/usr/local/squid/etc/porn.block.txt"
> > acl noporn url_regex "/usr/local/squid/etc/pron.unblock.txt"
> > http access deny porn
> > http access allow noporn
> AFAIK position matters (first match wins), so try
> http access allow noporn
> http access deny porn
>
> BTW: Is this really worth the afford?
> Clever people will probably start using IP-#, encoding some letters etc.
Trying to get around blocked sites by using IP numbers
can also be circumvented by using dstdom_regex rather than
url_regex. Of-course this would only work for the host
portion and not the full URL!
It is definitely worth the effort when some staff members
start hogging the bandwidth to satisfy their sexual fantasies
and thereby slow down others going about their daily work.
> --
> Dies ist Thilos Unix Signature! Viel Spass damit.
>
>
+--------------------------------------------------------------+
| Suresh Khatry (Mr.) <Suresh.Khatry@unon.org> |
| Chief, Network Services Unit <Postmaster@unep.org> |
| Information Technology Services |
| United Nations Office at Nairobi (UNON) <NIC Handle: SK465> |
| P.O. Box 47074, Nairobi, Kenya <RIPE Handle: SK136-RIPE> |
| Phone: +254 (2) 621234, [Direct: +254 (2) 623427] |
| Fax: +254 (2) 226890, [Direct: +254 (2) 624297] |
| WWW => http://www.unep.org |
+--------------------------------------------------------------+
K E E P I N G Y O U I N T O U C H W I T H T H E W O R L D
Received on Thu Jun 17 1999 - 09:36:04 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:54 MST