-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 https://regex101.com/ is great resource...... Hm? 07.02.2015 2:06, Walter H. пишет: > On 06.02.2015 20:38, Amos Jeffries wrote: >> On 7/02/2015 8:27 a.m., Amos Jeffries wrote: >>> On 7/02/2015 8:19 a.m., Walter H. wrote: >>>> the file blockurls-regex-acl.squid >>>> contains e.g. >>>> ^http:\/\/s[0-9]\.domain\.tld\/ >>>> >>>> the file allowurls-regex-acl.squid >>>> contains e.g. >>>> ^http:\/\/s[1-2]+\.domain\.tld\/[a-z0-9\_\-\.]+\.gif >>>> >>>> the purpose should be, that only gif images of root directory of only >>>> the subdomains beginning with s1 or s2 of domain.tld should be allowed >> Also, NO that is not what your rules do. Take another look at all the >> sub-domains s[1-2]+ will match against... >> >> s1, s2, >> s11, s12, s21, s22, >> s111, s112, s121, s122, s211, s212, s221, s222, >> s1111 ... >> ... >> >> > of, course my mistake ... >>>> the following url is blocked >>>> >>>> http://s2443.domain.tld/ghfhfhf.gif >>>> >>>> why? >>> "4" != "\." >>> > thats right ... > > should the following be allowed or blocked? > http://s1.domain.tld/file.gif > http://s2.domain.tld/file.gif > > I'd say the must be allowed ... > > Greetings, > Walter > > > > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJU1SoQAAoJENNXIZxhPexGlCwIALzTWCzuQjVd9zBVX8NdvEav dlH0sAAJ8mzTOinFLFfW6djpZKMaXx68NQmNBnSBpg21+N/+Ado6lktzASu2Ktie qg+GEZ+tZ8G9bn4vgowb+htoF7btRkH/ahzPq82x56qwomwc5uwMOQUCL07aI+mj Uqd+ot+/BIvfKQkgjmR0rFenpexHASTMJdsbDpAd+jkIAUqhOESORgbm/if9s/7u oreRwTHw+IUjcsbWJfxMP3zP/fUs/WBa3utX7zn2ngXv+hEmEMM9krUxHCF/nfOP +XAYpQNVsmG9v4zgi3iHNtFQt19DkgYvr6uQMq8qCzDPIjirvORw+IiOMHXE9Ls= =rBi7 -----END PGP SIGNATURE----- |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users