Re: Kids control and time limit function

Jonathan Lee <[email protected]>
Newsgroups gmane.comp.web.squid.general
Message-ID <[email protected]>

	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 <[email protected]> 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 <[email protected]> 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: [email protected] <mailto:[email protected]>
>> _______________________________________________
>> squid-users mailing list
>> [email protected]
>> https://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
[email protected]
https://lists.squid-cache.org/listinfo/squid-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.