Re: ACL with the same name

Francesco Chemolli <[email protected]> Wed, 16 Apr 2025 21:18:55 +0100
Newsgroups gmane.comp.web.squid.general
Message-ID <CA+Y8hcPZ3K-EWy-3+0CGOfcf4rGv_1N8hKY_eAz+hfSLWkdH-A@mail.gmail.com>
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


On Wed, Apr 16, 2025 at 5:48 PM Renzo Marengo <[email protected]> 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
> [email protected]
> https://lists.squid-cache.org/listinfo/squid-users



-- 
    Francesco
_______________________________________________
squid-users mailing list
[email protected]
https://lists.squid-cache.org/listinfo/squid-users