[squid-users] Squid delay_access with external acl

Francesco Chemolli gkinkie at gmail.com
Tue Feb 20 08:14:30 UTC 2024


Hello Szilárd,
  quoting from the squid wiki
<https://wiki.squid-cache.org/SquidFaq/SquidAcl#fast-and-slow-acls> :

"A possible workaround which can mitigate the effect of this characteristic
consists in exploiting caching, by setting some “useless” ACL checks in
slow clauses, so that subsequent fast clauses may have a cached result to
evaluate against."

In other words, a simplified example like:

acl users ext_user foo bar gazonk
http_access allow users all  # always allow, verify and cache cache user
auth
delay_access 3 allow users

should do the trick


On Tue, Feb 20, 2024 at 2:15 PM Szilárd Horváth <shorvath at npsh.hu> wrote:

> Good Day!
>
> I try to make limitation bandwidth for some user group. I have an external
> acl which get the users from ldap database server. In the old version of
> config we blocked the internet with http_access deny GROUP, but now i try
> to allow the internet which has limited bandwidth. I know that the
> delay_access work with only fast ACL and external acl or proxy_auth acl are
> slow. I already tried some opportunity but i couldn't solve.
>
> Maybe have you any solution for this? Or any idea how can limitation the
> bandwidth for some user? I need use the username (e-mail address format)
> because that use to login to the proxy.
>
> Version: Squid Cache: Version 5.6
>
>
>
> Thank you so much and i am waiting for your answer!
>
> Have a good day!
>
> Br,
> Szilard Horvath
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users
>


-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20240220/32972595/attachment-0001.htm>


More information about the squid-users mailing list