Search squid archive

Re: Regex difficulties

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

 



On 5/05/2015 9:25 a.m., Balázs Szabados wrote:
> Hi Amos,
> 
> I tried troubleshooting you've mentioned. I just enabled one file
> containing regexes.
> I've measured it:
> root@OpenWrt:~# wc -c /etc/squid/blacklists/regex_allow
> 1636 /etc/squid/blacklists/regex_allow
> 
> Since the whole file is 1636 bytes, I assume ever line of regexes is in
> must be smaller than that.
> 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 \(
> 
> 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?

It maybe... in very old Squid. The line limit was raised to KBs some
years ago.

Amos

_______________________________________________
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