Search squid archive

Re: Time based ACL

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

 



Nyamul Hassan wrote:
Hi,

I have a few time based ACLs which are used in delay_pools. In the literature, it suggests that the higher limit in time based ACL should always be higher than the lower limit, which works well, but what about if we want to define something like: 6pm to 2am? Will 18:00-02:00 work?

Regards
HASSAN


The Squid time occurs within the single days specified in the pattern (default any) and doesn't let you cross midnight to other unspecified days.

6pm to 2am is configured like this:

 acl t time 02:00-18:00
 *_access ... !t

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux