[squid-users] squid-users Digest, Vol 103, Issue 21

Francisco frizquierdo87 at gmail.com
Mon Mar 27 22:09:10 UTC 2023


Sorry, I don't understand how to combine *ext_sql_session_acl* with
anothers acl of type dstdomain for example, becasue I need calc user's
cuote only for an certains sites (domains, and sites).


El lun, 27 mar 2023 a las 8:00, <squid-users-request at lists.squid-cache.org>
escribió:

> Send squid-users mailing list submissions to
>         squid-users at lists.squid-cache.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.squid-cache.org/listinfo/squid-users
> or, via email, send a message with subject or body 'help' to
>         squid-users-request at lists.squid-cache.org
>
> You can reach the person managing the list at
>         squid-users-owner at lists.squid-cache.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of squid-users digest..."
>
>
> Today's Topics:
>
>    1. Re: squid 5.7 Bad request from parent cache after squid -k
>       reconfigure (Amos Jeffries)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Mar 2023 05:05:02 +1300
> From: Amos Jeffries <squid3 at treenet.co.nz>
> To: squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] squid 5.7 Bad request from parent cache
>         after squid -k reconfigure
> Message-ID: <bfd2a571-02d1-2cff-690c-59caf55a0338 at treenet.co.nz>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 24/03/2023 2:34 pm, Francisco wrote:
> > Hi, (first Iapologize for my English) I have a local squid proxy in
> > forward mode, with parent cache. I'm trying calc and restrict
> > authenticated users that reach the assigned cuote on certains domains
> > and sites, and for that I store the access log into database that
> > match determinates ACL.
>
> > Every one minute run an script that calc http_size for every user from
> > database (leaving out logs records derived from TCP_HIT_, zero size,
> > NONE, etc, etc), and those users that get her assigned limit, I put
> > them into a file (that point to an access deny_rule), and make squid
> > -k reconfigure.
>
> Constantly reconfiguring Squid has a large number of side effects such
> as the one you noticed. Avoiding that is a good idea.
>
> I recommend having a table in the database with the details about
> whether a user is allowed (or not). The ext_sql_session_acl helper can
> check that table to allow/deny users.
>  ?<http://www.squid-cache.org/Versions/v4/manuals/ext_sql_session_acl.html
> >
>
>
> HTH
> Amos
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
>
> ------------------------------
>
> End of squid-users Digest, Vol 103, Issue 21
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20230327/48f4c47d/attachment.htm>


More information about the squid-users mailing list