[squid-users] ACL question...

From: Xpression <admin@dont-contact.us>
Date: Sun, 14 Dec 2003 18:01:43 -0500

Hi list, I recently installed squid-2.5.STABLE4, everything
is fine, now I'm trying to set up some acls but with no
hope, indeed, I want to allow some users (A) and others (B)
on the same and differents pool addresses to navigate at
sometime (e.g. M-F 8:00-16:00) any help ???

Here is the revelant part of my squid.conf

acl all src 0.0.0.0/0.0.0.0
 acl manager proto cache_object
 acl localhost src 127.0.0.1/255.255.255.255
 acl to_localhost dst 127.0.0.0/8
 acl lan src 192.168.1.0/24
 acl rest src 192.168.2.8/29
 acl internet src 192.168.2.16/29
 acl domainX dstdomain .domX
 acl denied_custom url_regex
"/usr/local/squid-2.5/etc/deny_custom"
 acl denied_ips dst "/usr/local/squid-2.5/etc/deny_ips"
 acl denied_domains dstdomain
"/usr/local/squid-2.5/etc/deny_domains"
 acl passwords proxy_auth REQUIRED
 acl times time M-F 7:00-18:00
 acl SSL_ports port 443 563
 acl Safe_ports port 80 # http
 acl Safe_ports port 21 # ftp
 acl Safe_ports port 443 563 # https, snews
 acl CONNECT method CONNECT

http_access allow lan
 http_access allow rest domainX passwords
 http_access allow internet passwords

#
# I have user on rest and internet that I want to navigate
all the time, but have others that only can navigate
# from M-F 8:00 16:00
#

 http_access allow manager localhost

 http_access deny manager
 http_access deny !Safe_ports
 http_access deny CONNECT !SSL_ports
 http_access deny to_localhost
 http_access deny denied_custom
 http_access deny denied_ips
 http_access deny denied_domains
 http_access deny all
Received on Sun Dec 14 2003 - 16:01:57 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:11 MST