> > 1) I see you are using squidGuard version
> > 1.2.0 - what version of the Berkeley db are
> > you using?
> squidGuard -v
> SquidGuard: 1.2.0 Sleepycat Software: Berkeley
> DB 3.3.11: (July 12, 2001)

It is said that squidGuard 1.2.0 works best with db 3.2.9:
---- From http://www.maynidea.com/squidguard/faq-plus.html ---
Squidguard 1.20 requires version 3.29 of the Berkely db. It won't
work with version 2.27, nor will it work with 4.0. The assertion
that configure makes about requiring 3.2.* or later is not really
correct.  SquidGuard needs 3.2.x ( not sure which version is too
low) and we know  specifically that it works quite nicely with
3.2.9.  I have tried it with 3.3.x and it craps out every time.
Same with 2.7.7. (Thanks to Robert Nickel for these specifics).
(It has been reported that squidguard 1.20 will work with other
versions of the db if you are using plain text files for your
blacklists; in other words, if there are no *.db files in your
blacklist directories. This can really slow down the startup time of
squid/squidguard, but otherwise may not be harmful.)
--------------------------------------------------------------

> > 3) What messages do you get in
/var/log/squidGuard/squidGuard.log
> > when you do a "squid -k reconfigure"?
> I get something like this ...
> init iplist /usr/share/squidGuard-1.2.0/db//privilegedsource/ips
> sourceblock privilegedsource missing active content, set inactive
> init iplist /usr/share/squidGuard-1.2.0/db//privilegedsource/ips
> sourceblock privilegedsource missing active content, set inactive

Here's your source definition from your config file (made
human-readable):
# SOURCE ADDRESSES:
src privilegedsource
        iplist privilegedsource/ips
src bannedsource
        iplist bannedsource/ips
src lansource
        iplist lansource/lan

You've told squidGuard that you've divided your users into 3
groups -  privilegedsource, bannedsource, and lansource. You've also
told it that the membership of each of those groups is contained in
the 3 files:

privilegedsource/ips
bannedsource/ips
lansource/lan

The ip address listings in each of those files tells squidGuard
which devices belong to which groups. squidGuard is complaining in
the log that it doesn't like the format of those 3 files. You might
want to recheck them.

Rick Matthews


-----Original Message-----
From: Payal [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 8:14 AM
To: Squidguard Mailing List
Cc: Rick Matthews
Subject: Re: help in use


Hi all,
Thanks for the mails.
> 1) I see you are using squidGuard version 1.2.0 - what version of
> the Berkeley db are you using?
squidGuard -v
SquidGuard: 1.2.0 Sleepycat Software: Berkeley DB 3.3.11: (July 12,
2001)
> 2) Please post the full contents of /etc/squid/squidGuard.conf (be
> sure to anonymize any private information)
There is nothing to anonymize as the file is almost similar to the
sample
file. I have attached it.
> 3) What messages do you get in /var/log/squidGuard/squidGuard.log
> when you do a "squid -k reconfigure"?
I get something like this ...
2002-04-05 08:55:52 [2406] init iplist
/usr/share/squidGuard-1.2.0/db//privilegedsource/ips
2002-04-05 08:55:52 [2406] sourceblock privilegedsource missing
active
content, set inactive
2002-04-05 08:55:52 [2407] init iplist
/usr/share/squidGuard-1.2.0/db//privilegedsource/ips
2002-04-05 08:55:52 [2407] sourceblock privilegedsource missing
active
content, set inactive
2002-04-05 08:55:52 [2408] init iplist
/usr/share/squidGuard-1.2.0/db//privilegedsource/ips
.
.
2002-04-05 08:55:53 [2409] init urllist
/usr/share/squidGuard-1.2.0/db//advertising/urls
2002-04-05 08:55:53 [2409] urllist empty, removed from memory
etc...
#ls -l /usr/share/squidGuard-1.2.0/
total 2916
-rw-r--r--    1 squid    squid     2968828 Apr  4 18:42
blacklists.tar.gz
drwxr-xr-x    2 squid    squid        4096 Mar 30 18:32 contrib/
drwxr-xr-x   24 squid    squid        4096 Apr  4 18:42 db/
drwxr-xr-x    2 squid    squid        4096 Mar 30 18:32 samples/
Florin has suggested that I remove .db files and run squidGuard -C.
Well, I
went into the directory /usr/share/squidGuard-1.2.0/ and did
squidGuard -C all
But it just returned teh prompt. I didn't any file .db? It just
created
domains.db files in all the directories. I don't at all
understand how exactly squidGuard works.
Now what can be the problem???? squidGuard was installed from the
Mandrake
Linux CD only during the Linux installation.
Thanks again and bye.
-Payal
> If you'll post those we can go from there.
> Rick Matthews
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Payal
> Sent: Thursday, April 04, 2002 7:27 PM
> To: [EMAIL PROTECTED]
> Subject: help in use
>
>
> Hello all,
> I had squidGuard installed as part of Mandrake Linux 8.2. i copied
> the
> squidGuard.conf file in /etc/squid/. I have
> dbhome /usr/share/squidGuard-1.2.0/db/
> logdir /var/log/squidGuard
> I have
> redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
> in /etc/squid/squid.conf
> I have many directories like ads, adults, bannedsource, etc in
> /usr/share/squidGuard-1.2.0/db
> I thought that is all, but when I tried to visit sites from the
> list, they
> wern't been blocked.
> I haven't changed anything else than mentioned above.
> Is there something I should do?
> I have
> src privilegedsource {
>         iplist  privilegedsource/ips
> }
> dest warez {
>     domainlist warez/domains
>     urllist warez/urls
> }
> etc.... in my squidGuard.conf file
> Can someone help me, I have used the sample configuration file
> supplied with
> squidGuard.
> Do I need to put my ips or anything else?
> Thanks a lot and waiting for the answers>
> -Payal

Reply via email to