<div dir="ltr">Sorry, I don't understand how to combine <i>ext_sql_session_acl</i> with anothers acl of type dstdomain for example, becasue I need calc user's cuote only for an certains sites (domains, and sites).<br><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 27 mar 2023 a las 8:00, <<a href="mailto:squid-users-request@lists.squid-cache.org">squid-users-request@lists.squid-cache.org</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send squid-users mailing list submissions to<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:squid-users-request@lists.squid-cache.org" target="_blank">squid-users-request@lists.squid-cache.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:squid-users-owner@lists.squid-cache.org" target="_blank">squid-users-owner@lists.squid-cache.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of squid-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: squid 5.7 Bad request from parent cache after squid -k<br>
reconfigure (Amos Jeffries)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 27 Mar 2023 05:05:02 +1300<br>
From: Amos Jeffries <<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>><br>
To: <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
Subject: Re: [squid-users] squid 5.7 Bad request from parent cache<br>
after squid -k reconfigure<br>
Message-ID: <<a href="mailto:bfd2a571-02d1-2cff-690c-59caf55a0338@treenet.co.nz" target="_blank">bfd2a571-02d1-2cff-690c-59caf55a0338@treenet.co.nz</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
On 24/03/2023 2:34 pm, Francisco wrote:<br>
> Hi, (first Iapologize for my English) I have a local squid proxy in <br>
> forward mode, with parent cache. I'm trying calc and restrict <br>
> authenticated users that reach the assigned cuote on certains domains <br>
> and sites, and for that I store the access log into database that <br>
> match determinates ACL.<br>
<br>
> Every one minute run an script that calc http_size for every user from <br>
> database (leaving out logs records derived from TCP_HIT_, zero size, <br>
> NONE, etc, etc), and those users that get her assigned limit, I put <br>
> them into a file (that point to an access deny_rule), and make squid <br>
> -k reconfigure.<br>
<br>
Constantly reconfiguring Squid has a large number of side effects such <br>
as the one you noticed. Avoiding that is a good idea.<br>
<br>
I recommend having a table in the database with the details about <br>
whether a user is allowed (or not). The ext_sql_session_acl helper can <br>
check that table to allow/deny users.<br>
?<<a href="http://www.squid-cache.org/Versions/v4/manuals/ext_sql_session_acl.html" rel="noreferrer" target="_blank">http://www.squid-cache.org/Versions/v4/manuals/ext_sql_session_acl.html</a>><br>
<br>
<br>
HTH<br>
Amos<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of squid-users Digest, Vol 103, Issue 21<br>
********************************************<br>
</blockquote></div></div>