On April 16, 2025 23:19:13 Francesco Chemolli <gkin...@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 <buckroger2...@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@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users



--
   Francesco
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users




_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users

Reply via email to