Re: [SQU] acl question

From: Bdl31ref <bdl31ref@dont-contact.us>
Date: Wed, 7 Mar 2001 11:08:44 +0100

        acl's restricts Ip of clients, it's his firt usage.

        The better way to restrict domains and URL's is to implement the
squidguard redirector program, that can deny access to listed sites in a
database.

        More infos at http://www.squidguard.org/

                Good luck

----- Original Message -----
From: "Krasi Zlatev" <krasice@yahoo.com>
To: <squid-users@ircache.net>
Sent: Wednesday, March 07, 2001 10:16 AM
Subject: [SQU] acl question

> Is it possible to deny request that have sex in the
> url, but only if the request is made from a specifi ip
> address.
>
> Reading the users gide i see
>
> "This example allows you to deny access to .com or
> .net sites if the request is from the .za domain."
>
> acl bad_dst_TLD dstdom_regex \.com$ \.net$
> acl good_src_TLD srcdom_regex \.za$
> http_access deny bad_dst_TLD
> http_access allow good_src_TLD
>
>
> So i change it to
>
> acl bad url_regex -i sex
> acl good src x.x.x.x/255.255.255.255
> http_access deny bad
> http_access allow good
>
> But it denies all requests not only the ones that com
> from the abvoe ip address.
>
> Thank you!
>
>
> =====
> krasi@freeshell.org
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Mar 07 2001 - 03:34:50 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:33 MST