Re: [squid-users] no filtering with DB files

From: Jeff Donovan <donovan@dont-contact.us>
Date: Fri, 4 Feb 2005 09:04:44 -0500

On Feb 4, 2005, at 3:14 AM, Elsen Marc wrote:

>
>
>>
>> Greetings
>>
>> squidguard -C porn/domain
>> squidguard -C porn/urls
>>
>>
>> builds domain.db
>> builds urls.db
>>
>> squidguard.conf
>> logdir /var/log/squidguard
>> dbhome /usr/local/blacklists
>>
>>
>> dest porn {
>> domainlist porn/domains
>> urllist porn/urls
>> redirect http://10.0.1.3/index.html
>> logfile blocked.log
>> }
>>
>> dest pornexp {
>> expressionlist adult/expressions
>> redirect http://10.0.1.3/exp.html
>> logfile expblocked.log
>> }
>>
>> acl {
>> default {
>> pass !porn !pornexp all
>> }
>> }
>>
>> squid.conf
>> (snip)
>> redirect_program /usr/local/bin/squidGuard -c
>> /usr/local/squid/etc/squidguard.conf
>> redirect_children 32
>>
>> start squid; everything is fine, no errors
>> No filtering except my exporessions list. Urls and Domains do not get
>> filtered.
>> Take them out and load the lists into memory from text files and it
>> works fine, I can block a million sites, except it takes forever to
>> load 32 children.
>>
>> am i doing something wrong?
>>
>>
> Check squidGuard.log, on 'squid -k reconfigure' (e.g).
> Check whether squidguard find and loads the db file(s).
>
> You can also create them with :
>
> % squidGuard -C all.
>
> Check whether they are created in the dir that squidguard expects
> them (e.g).

here is what i used;
/usr/local/bin/squidguard -c /usr/local/squid/squidguard.conf -C
porn/domains

and in the blacklists dir
-rw-r--r-- 1 squid squid 8909215 31 Jan 20:10 domains
-rw-r--r-- 1 squid squid 24142848 3 Feb 11:25 domains.db
-rw-r--r-- 1 squid squid 788 31 Aug 01:46 expressions
-rw-r--r-- 1 squid squid 5237030 31 Aug 01:46 urls
-rw-r--r-- 1 squid squid 11108352 3 Feb 11:28 urls.db

the expressions works but not the db's. I'm going to try using Berkly
db 3.2.9. any suggestions?

tnx
-----------------------------------
jeff donovan
basd network operations
(610) 807 5571 x41
AIM xtdonovan
Received on Fri Feb 04 2005 - 07:04:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST