OK, I'll make a run at it, using the information that you've given
us below.

You should get into the habit of checking your squidGuard log file
whenever you are making changes. You'll get a feel for the
information that is there, and be much more likely to check there
first when you have a problem. Check out
/usr/local/squidGuard/logs/squidGuard.log

Move the blacklists.tar.gz file that you downloaded into your dbhome
directory:
/usr/local/squidGuard/db/blacklists.tar.gz

Type the following command:
gzip -dc /usr/local/squidGuard/db/blacklists.tar.gz | tar xvf -
This will create the appropriate directories as it unpacks the text
files.

Let's define a destination in your configuration file. Here's your
current squidGuard.conf:
-------- Current squidGuard.conf file ---------
logdir /usr/local/squidGuard/logs
dbhome /usr/local/squidGuard/db

acl {
         default {
             pass all
         }
}
---- End of current squidGuard.conf file -------

Make these changes:
-------- NEW squidGuard.conf file ------------
logdir /usr/local/squidGuard/logs
dbhome /usr/local/squidGuard/db

dest porn {
        domainlist      blacklists/porn/domains
        urllist blacklists/porn/urls
        redirect        http://yahoo.com
        logfile porn.log
}

acl {
         default {
             pass !porn all
         }
}
---- End of new squidGuard.conf file -------

Issue the following commands:

chmod -R 640 /usr/local/squidGuard/db/blacklists

/usr/bin/squidGuard -C all
        This will create .db files from the
        domains and urls text files in the
        porn directory (the only one defined).
        Check your squidGuard log to see what
        it is reporting.

chown -R squid.squid /usr/local/squidGuard/db/blacklists

squid -k reconfigure

Check your squidGuard.log file again and give us an update.

Rick


-----Original Message-----
From: Robin Lynn Frank [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 3:19 PM
To: Rick Matthews
Subject: Re: At the risk of appearing stupid

Thanks , Rick.  Since I was using the rpm that came with the distro,
installation wasn't much of a problem.  I placed
"redirect_program /usr/bin/squidGuard" in my squid.conf and there is
a /usr/local/squidGuard/squidGuard.conf that currently has :

logdir /usr/local/squidGuard/logs
dbhome /usr/local/squidGuard/db
     acl {
         default {
             pass all
         }
     }

This should let everything through and I have used my browser thru
squid and
it appears to work.

I have d/l'd a copy of the blacklist, but don't have a clue what to
do with
it and other things that need to be done.
--
Robin Lynn Frank
Director of Operations
Paradigm-Omega, LLC

Current Linux kernel 2.4.8-26mdk uptime: 0 hours 13 minutes.
(This computer runs on solar power.
Do not look for long uptimes.)
 www.paradigm-omega.com * www.paradigm-omega.net

Reply via email to