Search squid archive

Re: Allow full access during a limited time period

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

 



On 16/04/11 01:25, Chad Naugle wrote:
I'm not sure about dansguardian, but I'm sure that Squid can open itself
up at a specific time interval for *all* users during the work day, ie:
(Note that the time slot mentioned is in 24-hour format, and only a
quick and dirty example)

acl break_time time M T W H F 12:00-12:15
acl auth_users<auth_routine>
acl blocked_sites dstdomain<...>

http_access allow auth_users break_time
http_access deny blocked_sites

Small optimization on the above lines:

  http_access deny blocked_sites !break_time

http_access allow auth_users
http_access deny all


The above change also removes problems around username logging etc.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.12
  Beta testers wanted for 3.2.0.6


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

  Powered by Linux