[squid-users] problems with the ACL

From: Ing. Rafael Almeida O. <ralmeida@dont-contact.us>
Date: Thu, 21 Aug 2003 17:27:30 -0500

Greetings, the following is the configuration of my squid.conf, but the
restrictions per hours do not work, can help me please of urgency.

*************
acl localhost src 127.0.0.1/32
acl consejo src 192.168.0.1-192.168.0.5/255.255.255.0
acl rosarito src 192.168.0.96/32
acl bloquear urlpath_regex -i \.exe$ \.mp3$ \.wav$ \.zip$ \.pps$ \.mpg$ \.rar$
acl bloquear1 url_regex "/home/admin/porno.txt"
acl manana src "/home/admin/ipsmanana.txt"
acl morning time M T W H F 10:00-12:00
acl tarde src "/home/admin/ipstarde.txt"
acl afternon time M T W H F 14:00-16:00
acl tododia src "/home/admin/ipstododia.txt"
acl everyday time M T W H F 07:56-18:15
acl especiales src "/home/admin/ipsespeciales.txt"
acl especial time M T W H F 10:03-18:00
acl manager proto cache_object
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access allow manager localhost
http_access allow consejo
http_access allow rosarito
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny bloquear
http_access deny bloquear1
http_access allow manana morning
http_access allow tarde afternon
http_access allow tododia everyday
http_access allow especiales especial
http_access deny all
**********
Thnz
Received on Thu Aug 21 2003 - 16:28:54 MDT

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