[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Squid acl help



On Fri Nov 16 2001 at 03:37:47PM +0200 'Charl Matthee' <charl@infosat.net> wrote:

> I'm no squid ACL expert but what about:
> 
> acl bigbrothersa dstdomain bigbrothersa.com
> acl all src 0.0.0.0/0.0.0.0
> acl allowtime1 time SMTWTFA !08:00-16:00
> acl allowtime2 time SMTWTFA 13:00-13:30
> acl disallowtime time SMTWTFA 08:00-16:00
> 
> http_access allow all allowtime1 allowtime2
> http_access deny  bigbrothersa disallowtime

This may be a little more sensible:

acl all     src 0.0.0.0/0.0.0.0
acl bbsadom dstdomain_regex -i .*bigbrothersa\.com
acl nobbsa  time SMTWTFA 08:00-13:00
acl nobbsa  time SMTWTFA 13:30-16:00

http_access deny  bbsadom nobbsa
http_access allow all


Ciao

Charl
__________________________________________________________________________

        The significant problems we face cannot be solved at the 
        same level of thinking we were at when we created them.
				   -- Albert Einstein
__________________________________________________________________________

      [ Charl Matthee ]                             [ +27-11-721-3800 ]
      [ Reality Manufacturing ]                     [ +27-11-405-6508 ]
__________________________________________________________________________



Reply to: