[squid-users] ACL question...

From: Xpression <admin@dont-contact.us>
Date: Wed, 17 Dec 2003 13:05:59 -0500

Hi list, I'm trying to deny some users to navigate at
certain times, I've created two users group (FULL_USERS [1]
and LIMITED_USERS [2]) and TIMES acl to achieve it, but it
doesn't works, group1 cannot access the cache, any clues ???
Thanks...

acl LAN src 192.168.1.0/24
 acl CUBA src 192.168.2.8/29
 acl INTERNET src 192.168.2.16/29
acl DOMAIN_CU dstdomain .cu
 acl BLOCKED_WORDS url_regex -i
"/usr/local/squid-2.5/etc/blocked_words"
 acl BLOCKED_IPS dst "/usr/local/squid-2.5/etc/blocked_ips"
 acl BLOCKED_SITES dstdom_regex -i
"/usr/local/squid-2.5/etc/blocked_sites"
 acl FULL_USERS proxy_auth
"/usr/local/squid-2.5/etc/full_users"
 acl LIMITED_USERS proxy_auth
"/usr/local/squid-2.5/etc/limited_users"
 acl TIMES time M-F 8: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 CUBA DOMAIN_CU FULL_USERS
 http_access allow CUBA DOMAIN_CU TIMES LIMITED_USERS
 http_access allow INTERNET FULL_USERS
 http_access allow INTERNET TIMES LIMITED_USERS
 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 BLOCKED_WORDS
 http_access deny BLOCKED_IPS
 http_access deny BLOCKED_SITES
 http_access deny all
Received on Wed Dec 17 2003 - 11:06:11 MST

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