[squid-users] ACL with the same name
Alex Rousskov
rousskov at measurement-factory.com
Wed Apr 16 21:22:27 UTC 2025
On April 16, 2025 23:19:13 Francesco Chemolli <gkinkie at gmail.com> wrote:
> acl SSL_ports port 82
> acl SSL_ports port 443
> acl SSL_ports port 563
>
> is exactly the same as:
>
> acl SSL_ports port 82 443 563
>
>
> ACLs with the same name need to be of the same type, and they get appended
To be more precise, their conditions are ORed.
For more information, see the following wiki page, especially its Notes
section:
https://wiki.squid-cache.org/SquidFaq/SquidAcl
HTH,
Alex.
>
>
> On Wed, Apr 16, 2025 at 5:48 PM Renzo Marengo <buckroger2011 at gmail.com> wrote:
>>
>> I don't understand what happens if I have multiple acl with same name, e.g.
>> (only for educational purposes)
>>
>> acl SSL_ports port 82 # ImageScope - Anatomia Patologica
>> acl SSL_ports port 443 # https
>> acl SSL_ports port 563 # news
>>
>> http_access deny CONNECT !SSL_ports
>>
>> SSL_port includes last acl that is 563 or all ports ?
>> Wheh http_access directive is processed, all 3 SSL_ports acl are scanned ?
>> Or only the last one is checked ?
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> https://lists.squid-cache.org/listinfo/squid-users
>
>
>
> --
> Francesco
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list