[squid-users] Composite Access Control Lists

From: Kristian Du <kristian@dont-contact.us>
Date: 07 Apr 2003 11:38:25 +0200

Hi,

I am a bit confused on how to define composite access rules.
I have 3 different network subnets,

        acl net1 src 192.168.10.0/24
        acl net2 src 192.168.30.0/24
        acl net3 src 192.168.50.0/24

and an acl for authenticated users,

        acl user_auth proxy_auth REQUIRED

I would like to say that only authenticated users from the above subnets
are allowed to access the proxy. Is the following correct?

        http_access allow user_auth net1
        http_access allow user_auth net2
        http_access allow user_auth net3
        http_access allow user_auth net4
        http_access allow user_auth net5

>From what I have gathered, every http_access rule can be looked at as
ending with an "OR" statement. Hmmm... cryptic! ;)

-- 
Kristian Du <kristian@hitech-sanita.it>
Hi.Tech srl
Received on Mon Apr 07 2003 - 03:38:32 MDT

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