[squid-users] How do i implement an ACL for longer duration?

Amos Jeffries squid3 at treenet.co.nz
Fri Aug 4 12:59:45 UTC 2017


On 04/08/17 21:49, Antony Stone wrote:
> On Friday 04 August 2017 at 11:44:10, purvar wrote:
> 
>> Hello everyone ,
>>
>> I have to implement an ACL from 10:00 AM of tuesday to 11:00 AM of
>> thursday. So, how do i make acl rule for such long duartion. Please do the
>> needful.
> 
> You can't do this as a single ACL.  You'll need one for Tuesday, one for
> Wednesday and one for Thursday.

I haven't tried it myself, but it should be possible for one ACL name by 
listing the individual day entries on different lines:

  acl blah time T 10:00-24:00
  acl blah time W
  acl blah time H 0:00-11:00

Amos


More information about the squid-users mailing list