Claudiu Balciza" <[EMAIL PROTECTED]> wrote:

>if I configure squid as follows:
>
>acl acl1 src claudiu.altex.ro
>acl acl2 dstdomain btr.ro
>http_access allow acl1 acl2
>http_access deny all
>
>will the acls be ANDed or ORed
>(I want to allow specific hosts to access a specific domain)

Assuming that 'claudiu.altex.ro' is a host, it appears as though it will be
allowed to any site in the 'btr.ro' domain and nowhere else.

I don't think squid's ACLs are really an AND/OR type of operation - more
like a "first match".  Squid uses the first match it finds and doesn't look
at any other rules, much like ipfwadm or router ACLs.

-Eric


Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]

Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to