<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div><pre style="font-family: courier; padding: 15px; caret-color: rgb(30, 30, 30); color: rgb(30, 30, 30); font-size: 12px;">
        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
</pre><br class="Apple-interchange-newline"><div><br></div><div>You can add any ACL with time based needs…</div><div><br></div><div>Is this what you're looking for?</div><div><blockquote type="cite"><div>On Mar 16, 2025, at 08:41, Jonathan Lee <jonathanlee571@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto">This would block everything during a time frame <div><div><br></div><div>acl block_hours time 00:30-05:00</div><div>ssl_bump terminate all block_hours</div><div>http_access deny all block_hours</div></div><div><br></div><div>Squid’s time directive is what you need. </div><div><br id="lineBreakAtBeginningOfSignature"><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Mar 16, 2025, at 01:52, NgTech LTD <ngtech1ltd@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>I was wondering if there is a ready to use solution with web-ui for kid time limit.</div><div>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.</div><div>The src options are by:</div><div>* username</div><div>* src ip address</div><div>* src mac address</div><div><br></div><div>There should be a schedule in a DB per user ID.</div><div>The external ACL helper should cache for about 30 seconds and the table should be by an hour and day of the week.</div><div>This way it would be pretty simple to build a web ui to manage the schedule.</div><div><br>I would like to get some input on things that kid control might be good doing.</div><div><br></div><div>Thanks,</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">----<br>Eliezer Croitoru<br>Tech Support<br>Mobile: +972-5-28704261<br>Email: <a href="mailto:ngtech1ltd@gmail.com" target="_blank">ngtech1ltd@gmail.com</a><br></div></div></div></div>
<span>_______________________________________________</span><br><span>squid-users mailing list</span><br><span>squid-users@lists.squid-cache.org</span><br><span>https://lists.squid-cache.org/listinfo/squid-users</span><br></div></blockquote></div></div></div></blockquote></div><br></body></html>