Sorry to but in, but you can use squidguard without any database. We have
been blocking site in a production environment for over a year using text
files downloaded from the web.
----- Original Message -----
From: "Con Tassios" <ct@swin.edu.au>
To: <squid-users@squid-cache.org>
Sent: Saturday, May 20, 2006 3:25 AM
Subject: Re: [squid-users] thoughts about squidGuard?
> On Fri, 19 May 2006, Philip Hachey wrote:
>
>> That's what I was hoping for: a package with all of the patches.
>>
>> Unfortunately, I read this:
>> "It needs a recent version of Berkeley Database (> 3.2 but < 4.x) "
>> Since I'm using DB 4.2 and I do not wish to downgrade, I think I'll pass.
>
> squidGuard can be made to use Berkeley DB 4.2 with the following patch
>
>
> --- src/sgDb.c.orig 2004-03-09 03:45:59.000000000 +0100
> +++ src/sgDb.c 2004-03-09 03:48:43.000000000 +0100
> @@ -98,13 +98,13 @@
> if(createdb)
> flag = flag | DB_TRUNCATE;
> if ((ret =
> - Db->dbp->open(Db->dbp, dbfile, NULL, DB_BTREE, flag, 0664)) != 0)
> {
> + Db->dbp->open(Db->dbp, NULL, dbfile, NULL, DB_BTREE, flag, 0664))
> != 0) {
> (void) Db->dbp->close(Db->dbp, 0);
> sgLogFatalError("Error db_open: %s", strerror(ret));
> }
> } else {
> if ((ret =
> - Db->dbp->open(Db->dbp, dbfile, NULL, DB_BTREE, DB_CREATE, 0664))
> != 0) {
> + Db->dbp->open(Db->dbp, NULL, dbfile, NULL, DB_BTREE, DB_CREATE,
> 0664)) != 0) {
> sgLogFatalError("Error db_open: %s", strerror(ret));
> }
> }
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 5/19/2006
>
>
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 5/19/2006Received on Sat May 20 2006 - 10:19:17 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT