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

Re: Squid acl help



On Fri Nov 16 2001 at 02:29:26PM +0200 'Craigsc' <craigsc@zdata.co.za> wrote:

> I am trying to setup acl's for squid so that before 8:00 and after 16:00 and
> at 13:00 to 13:30 can surf
> anywhere. But from 8:00 -> 16:00 excluding 13:00 to 13:30 they cannot go to
> bigbrothersa.com.

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

How does that look?


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: