Hey Robert, The docs at http://www.squid-cache.org/Doc/config/acl/ states: acl aclname ssl::server_name_regex [-i] \.foo\.com ... # regex matches server name obtained from various sources [fast] Which and I do not know exactly what it means but it will not work with a helper in most cases. I have found the in the git the next sources: New types ssl::server_name and ssl::server_name_regex to match server name from various sources (CONNECT authority name, TLS SNI domain, or X.509 certificate Subject Name). Which means that there is a set of checks which the acl does and not just a domain name. It’s also even possible that the domain name is not know in the CONNECT state of the connection. If I remember correctly there is a possibility for browsers to use the same exact connection for multiple domains but With Squid once you bump the connection to HTTP/1.x you can make 100% sure the features of the Host header request. At Servername.cc ie: https://github.com/squid-cache/squid/blob/aee3523a768aff4d1e6c1195c4a401b4ef5688a0/src/acl/ServerName.cc#L81 There is a specific logic of what is done and what is matched but I am not sure what would be used in the case of: *.adobe.com Certificate SAN. Specifically This part of the Common Names ie SAN: which to my understanding points to: doesn’t make any sense to me.( didn’t tried that much to understand) If someone might be able to make sense of things in a synchronic fashion it would help. (I do not see any debugs usage there or any helping comment ) Thanks, Eliezer ---- Eliezer Croitoru NgTech, Tech Support Mobile: +972-5-28704261 Email: ngtech1ltd@xxxxxxxxx My-Tube: https://tube.ngtech.co.il/ From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of robert k Wild that's the weird thing, when i try this in "ssl::server_name_regex" it doesnt work you mean escape ie the \ character On Wed, 27 Jul 2022 at 11:05, Matus UHLAR - fantomas <uhlar@xxxxxxxxxxx> wrote:
-- Regards, |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users