[squid-users] Regex difficulties

Amos Jeffries squid3 at treenet.co.nz
Mon May 4 16:10:59 UTC 2015


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



More information about the squid-users mailing list