[squid-users] ACL with the same name

Francesco Chemolli gkinkie at gmail.com
Wed Apr 16 20:18:55 UTC 2025


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 <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


More information about the squid-users mailing list