Hi Amos,
I tried troubleshooting you've mentioned. I just enabled one file containing regexes.root@OpenWrt:~# wc -c /etc/squid/blacklists/regex_allow
1636 /etc/squid/blacklists/regex_allow
Starting up squid I'm getting these:
2015/05/04 23:17:44| aclParseRegexList: Invalid regular _expression_ '(.*(acoon\.de|openacoon\.de|omgili\.com|youtube\.com|slug\.ch|\/search\?|mister-wong\.de|mister-wong\.com|abacho\.|seekport\.|flickr\.com|altavista|ask\..com|answers\.com|clusty\.com|exalead\.com|metacrawler|dogpile|lycos|google|yahoo|dmoz|search\.|wikise': Unmatched ( or \(
2015/05/04 23:17:44| aclParseRegexList: Invalid regular _expression_ '(.*(acoon\.de|openacoon\.de|omgili\.com|youtube\.com|slug\.ch|\/search\?|mister-wong\.de|mister-wong\.com|abacho\.|seekport\.|flickr\.com|altavista|ask\..com|answers\.com|clusty\.com|exalead\.com|metacrawler|dogpile|lycos|google|yahoo|dmoz|search\.|wikise': Unmatched ( or \(
I've created a file with just that part in the error message, and it seems to be 256 bytes (wc -c again).
Isn't that possible, that this is the limit, you've mentioned?
Thanks,
Balazs
2015-05-04 18:10 GMT+02:00 Amos Jeffries <squid3@xxxxxxxxxxxxx>:
On 4/05/2015 10:02 p.m., Amos Jeffries wrote:
> On 4/05/2015 4:49 a.m., Balázs Szabados wrote:
>> Hi,
>>
>> I'm trying to hook up these regex files for url filtering:
>> http://www.squidguard.org/Doc/Examples/08.expressionlist
>> http://www.squidguard.org/Doc/Examples/09.whiteexpression
>>
Looking at those files, they contain single pattern lines exceeding 2KB
in length.
Squid will not read more than 2048 bytes on any single file line.
Including the line terminator. The result will be that the regex parser
is presented with a truncated line.
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users