[squid-users] Kids control and time limit function

Jonathan Lee jonathanlee571 at gmail.com
Mon Mar 17 01:26:53 UTC 2025



	acl aclname time [day-abbrevs] [h1:m1-h2:m2]
	  # [fast]
	  #  day-abbrevs:
	  #	S - Sunday
	  #	M - Monday
	  #	T - Tuesday
	  #	W - Wednesday
	  #	H - Thursday
	  #	F - Friday
	  #	A - Saturday
	  #  h1:m1 must be less than h2:m2


You can add any ACL with time based needs…

Is this what you're looking for?
> On Mar 16, 2025, at 08:41, Jonathan Lee <jonathanlee571 at gmail.com> wrote:
> 
> This would block everything during a time frame 
> 
> acl block_hours time 00:30-05:00
> ssl_bump terminate all block_hours
> http_access deny all block_hours
> 
> Squid’s time directive is what you need. 
> 
> Sent from my iPhone
> 
>> On Mar 16, 2025, at 01:52, NgTech LTD <ngtech1ltd at gmail.com> wrote:
>> 
>> 
>> I was wondering if there is a ready to use solution with web-ui for kid time limit.
>> I am using mikrotik kid-control which is very nice and I was wondering if anyone have implemented a similar function for squid with an external-acl helper.
>> The src options are by:
>> * username
>> * src ip address
>> * src mac address
>> 
>> There should be a schedule in a DB per user ID.
>> The external ACL helper should cache for about 30 seconds and the table should be by an hour and day of the week.
>> This way it would be pretty simple to build a web ui to manage the schedule.
>> 
>> I would like to get some input on things that kid control might be good doing.
>> 
>> Thanks,
>> ----
>> Eliezer Croitoru
>> Tech Support
>> Mobile: +972-5-28704261
>> Email: ngtech1ltd at gmail.com <mailto:ngtech1ltd at gmail.com>
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> https://lists.squid-cache.org/listinfo/squid-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20250316/c51ad67c/attachment.htm>


More information about the squid-users mailing list