RE: [squid-users] Memory Error when using large acl files

From: Carsten Jensen <cj@dont-contact.us>
Date: Tue, 28 Feb 2006 11:18:49 +0100

you can see my config here below
as to why.. well I don't want my users to surf porn.
the dstdomain_regex because the file contains fx sex.com
but the homepage can be www.sex.com

If I use .sex.com in the file domains (path below) with the acl dstdomain
I won't even be able to access www.google.com (where the browser then shows
page not found)

acl porn_domains dstdomain_regex "/usr/local/squid/blacklists/porn/domains"
http_access deny all porn_domains

best regards
Carsten Jensen

mån 2006-02-27 klockan 14:30 +0100 skrev Carsten Jensen:
> Hello.
>
> I have this problem that I have a large file in which I have a lot of
> domainnames
> for which I want to block all. The file is around 9 megs.

What kind of acl are you using, and why that kind of acl?

> aclParseRegexList: Invalid regular expression 'domain.tld': out of memory

Looks to me you are esing regex based acls. why?

Regards
Henrik

Received on Tue Feb 28 2006 - 03:20:03 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST