more on ACLs

From: Francis A. Vidal <francis@dont-contact.us>
Date: Wed, 24 Jun 1998 17:00:13 +0800 (PST)

hello everyone!

i have the following ACLs on my squid server. i wanted to allow full
access (without restrictions) to selected workstations.

acl clients src xxx.xxx.xxx.xxx/24 # restricted clients
acl pa_clients src xxx.xxx.xxx.xxx/24 # partial access clients
acl peers src xxx.xxx.xxx.xxx/24 # squid servers
acl admin src xxx.xxx.xxx.xxx/24 # admin clients

acl src-denied dstdomain "/path/to/file" # restricted domains
acl key-denied url_regex "/path/to/file" # restricted keywords
acl files-denied urlpath_regex "/path/to/file" # restricted files
acl weekdays time MTWHF 07:30-18:30 # cache is open from
                                                # 7:30am to 6:30pm on
                                                # weekdays
acl weekends time AS 07:30-13:00 # cache is open from
                                                # 7:30am to 1:00pm on
                                                # weekends

# Allow or deny access here
############################
http_access deny sites-denied
http_access deny urls-denied
http_access deny files-denied
http_access allow clients weekdays
http_access allow clients weekends
http_access deny all

will this config work? where do i insert the line for 'pa_clients',
'peers', and 'admin'? i wanted 'peers' (other squid servers in my network)
to have full access and 'pa_clients' to be denied access to sites-denied
and urls-denied and of course, the 'admin' clients should have
unrestricted access. can someone help me revise my access list? thanks!

---
u s l s N E T   university of st. la salle, bacolod city, philippines
. . . . . . .   PGP key at ftp://ftp.usls.edu/pub/pgpkeys/francis.pgp
francis vidal   tel. nos. (6334).435.2324 / 433.3526
Received on Wed Jun 24 1998 - 02:02:15 MDT

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