Re: [squid-users] Squid as an education tool

2024-02-09 Thread Marcus Kool
Hi Eliezer, I am not aware of a tool that has all functionality that you seek so you probably have to make it yourself. I know that you are already familiar with ufdbGuard for Squid to block access, but you can also use ufdbGuard for temporary access by including a time-restricted whitelist in t

Re: [squid-users] Squid as an education tool

2024-02-09 Thread Francesco Chemolli
Hi Eliezer, Marcus, what you describe seems very similar to a captive portal, just with a very dynamic allowlist policy. I'm confident that it can be implemented with Squid, a few helpers, and a side webserver plus a small website. In fact, it would probably be a nice project to release to the co

Re: [squid-users] stale-if-error returning a 502

2024-02-09 Thread Robin Carlisle
Hi, Thanks for the info Alex. Patching code and building is a little beyond me tbh, especially as I would need this as a debian package to deploy to many machines. With that in mind I am trying the config workaround approach. Below is the config snippet I have added.I made the assumption tha

Re: [squid-users] stale-if-error returning a 502

2024-02-09 Thread Alex Rousskov
On 2024-02-09 08:53, Robin Carlisle wrote: I am trying the config workaround approach. Please keep us posted on your progress.  Below is the config snippet I have added.    I made the assumption that for the /refresh_pattern, max-stale=NN /config, the NN is in minutes as per the rest of tha