Search squid archive

Re: regex for normal websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/27/22 5:19 AM, Amos Jeffries wrote:
Also, the "^.*" in your pattern does nothing useful, it should be omitted.

On 27.07.22 10:44, Grant Taylor wrote:
Is the bounding to the beginning /implicit/? Or will adobe.com also match hackadobe.com?

in regexp, it will.


However,
adobe\.com$
and
^.*adobe\.com$

have the same effect, but second one is more CPU effective.

the problem the OP mentions is that it should match

\.adobe\.com$
^adobe\.com$

which leads me back to the question:
wasn't "dstdomain .adobe.com" supposed to match both?

https://wiki.squid-cache.org/SquidFaq/SquidAcl#Squid_doesn.27t_match_my_subdomains

indicates that since squid 2.4 it should.

and so, shouldn't ssl::server_name match both too?

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux