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

From: Kyle Davenport <Kyle_Davenport@dont-contact.us>
Date: Fri, 4 Feb 2005 11:07:20 -0600

*** Authentication Certificate ***

I can confirm it doesn't work for me either. Normally I use "in memory
db", so I don't know why "pre-built" wouldn't work. This was in my log
file:

2005-02-04 10:51:28 [22067] init domainlist /var/lib/squidGuard/domains
2005-02-04 10:51:28 [22067] loading dbfile /var/lib/squidGuard/domains.db
2005-02-04 10:51:28 [22067] domainlist empty, removed from memory <====?
2005-02-04 10:51:28 [22067] init urllist /var/lib/squidGuard/urls
2005-02-04 10:51:28 [22067] squidGuard 1.2.0 started (1107535888.635)
2005-02-04 10:51:28 [22067] squidGuard ready for requests (1107535888.640)

domains.db is not empty and apparently contains the contents of domains.

I've been using squidGuard-1.2.0-4 from src.rpm - dependency listed was
"db3x" What's the x? - I have db3-d.1.17. Docs say db2 required and I
have 2.7.7-3 of that.

Kyle

                                                                                                                         
                      Jeff Donovan
                      <donovan@beth.k12 To: squidguard@squidguard.org
                      .pa.us> cc: Squid List <squid-users@squid-cache.org>
                                               Subject: [squid-users] no filtering with DB files
                      02/03/05 10:18 PM
                                                                                                                         
                                                                                                                         

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?

--jeff

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

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