[squid-users] Upper limit on the number of regular expressions in url_regex?
Ralf Hildebrandt
Ralf.Hildebrandt at charite.de
Tue Aug 8 14:30:17 UTC 2017
* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
> But why is it failing?
I reordered the file
sort -r /etc/squid5/generated-rw_urlbl.acl > /etc/squid5/generated-rw_urlbl.acl.new
mv /etc/squid5/generated-rw_urlbl.acl.new /etc/squid5/generated-rw_urlbl.acl
and reconfigured squid:
2017/08/08 16:27:50.463| 28,2| RegexData.cc(212) compileOptimisedREs: 10775 REs are optimised into one RE.
2017/08/08 16:27:50.463| 28,2| RegexData.cc(214) compileOptimisedREs: /etc/squid5/squid.conf line 1710: acl rw_urlbl url_regex "/etc/squid5/generated-rw_urlbl.acl"
2017/08/08 16:27:50.463| 28,2| RegexData.cc(216) compileOptimisedREs: WARNING: there are more than 100 regular expressions. Consider using less REs or use rules without expressions like 'dstdomain'.
and it's working...
--
Ralf Hildebrandt Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de Campus Benjamin Franklin
https://www.charite.de Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
More information about the squid-users
mailing list