> I assume since I didn't get errors running the test that I got the
> formatting right. Unfortunately, I still can't get it to test out
> properly.

Are you expecting errors to return to you at the command line? The
test is not interactive; are you checking your squidGuard log for
messages? You should find messages there - an empty log is *not*
a good thing.

Rick

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Jensen
> Sent: Wednesday, July 31, 2002 1:39 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Trouble testing new setup.
> 
> 
> I'm sorry, but I don't think it's redirect issue. I changed my filter.conf
> to look like yours; I assume since I didn't get errors running the test that
> I got the formatting right. Unfortunately, I still can't get it to test out
> properly. I don't know what my problem is, must have something
> misconfigured.
> 
> -----Original Message-----
> From: Stefan Wach [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 30, 2002 9:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Trouble testing new setup.
> 
> 
> See my conf file below:
> logdir /usr/local/squidGuard/log
> 
> dbhome /usr/local/squidGuard/db
> 
> dest porn {
> 
> domainlist /usr/local/squidGuard/blacklists/porn/domains
> 
> urllist /usr/local/squidGuard/blacklists/porn/urls
> 
> log /usr/local/squidGuard/log/porn.log
> 
> }
> 
> acl {
> 
> default {
> 
> pass !porn all
> 
> redirect 302:http://www.wherever.you.want.to.redirect.to
> 
> }
> 
> }
> 
> It is pretty simple, first you create your groups in the "dest" section, and
> then you create ACLs to determine how to handle those groups. The first two
> lines only define the log file and db locations. The trick is to have the
> "302:" on the redirect line.
> 
> 
> ----- Original Message -----
> From: "Chris Jensen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 31, 2002 9:50 AM
> Subject: RE: Trouble testing new setup.
> 
> 
> > I'm sorry, I just don't understand that. There's no redirect in my
> > filter.conf; there's hardly anything at all. Just the path to the log file
> > and a statement to pass all traffic. Why would this need a redirect?
> >
> > -----Original Message-----
> > From: Stefan Wach [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, July 28, 2002 3:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Trouble testing new setup.
> >
> >
> > No, the redirect within the conf file needs to contain the line mentioned.
> >
> >
> > ----- Original Message -----
> > From: "Chris Jensen" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, July 27, 2002 3:57 AM
> > Subject: RE: Trouble testing new setup.
> >
> >
> > > I did the BerkeleyDB install from source and without errors so I think
> > it's
> > > OK. I'm not sure that I understand your comment about the redirect. Are
> > you
> > > saying that the script in test.pass and test.block needs to include a
> > > redirect command?
> > >
> > > -----Original Message-----
> > > From: Stefan Wach [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, July 25, 2002 3:50 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Trouble testing new setup.
> > >
> > >
> > > I actually found that I could only get SquidGuard to work with
> BerkeleyDB
> > > 2.4, any of the others (later versions caused me problems) You do need
> to
> > > install from source though, RPM doesn't give you the directory.
> > >
> > > What did cause a problem though was in the line to redirect to a
> different
> > > URL I had to do the following:
> > > redirect 302:http://url.to.redirect.to
> > >
> > >
> > > ----- Original Message -----
> > > From: "Chris Jensen" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, July 26, 2002 2:59 AM
> > > Subject: RE: Trouble testing new setup.
> > >
> > >
> > > > I'm sorry. I should have checked the version first. I do have 4.0
> > > installed.
> > > > If the version of Berkeley DB is correct, what else could be causing
> it
> > to
> > > > not return the correct results?
> > > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Rick
> Matthews
> > > > Sent: Wednesday, July 24, 2002 6:46 PM
> > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > > Subject: RE: Trouble testing new setup.
> > > >
> > > >
> > > > > I recently setup 1.2.0 on my OpenBSD/Squid proxy. I followed the
> > > > > instructions as best I could (I'm not hugely familiar with *nix)
> from
> > > the
> > > > > "Installing squidGuard" doc. I started by installing Berkeley 2.4
> > > without
> > > > > incident.
> > > >
> > > > In spite of what the documentation says, squidGuard 1.2.0 requires
> > > > version 3.29 of the Berkeley DB (available here:
> > > > <http://www.sleepycat.com/update/>).
> > > >
> > > > Rick
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
> Jensen
> > > > > Sent: Wednesday, July 24, 2002 12:21 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Trouble testing new setup.
> > > > >
> > > > >
> > > > > Hi all,
> > > > >
> > > > > I recently setup 1.2.0 on my OpenBSD/Squid proxy. I followed the
> > > > > instructions as best I could (I'm not hugely familiar with *nix)
> from
> > > the
> > > > > "Installing squidGuard" doc. I started by installing Berkeley 2.4
> > > without
> > > > > incident. I installed squidGuard into
> > /usr/local/share/squidGuard-1.2.0
> > > > and
> > > > > compiled it with
> > > > > "--with-sg-config=/usr/local/share/squidGuard-1.2.0/filter.conf" (no
> > > > > quotes). It ran make, make test and make install without incident.
> > > Here's
> > > > my
> > > > > filter.conf:
> > > > >
> > > > > logdir /usr/local/squidGuard/log/squidGuard.log
> > > > > acl {
> > > > > default {
> > > > > pass all
> > > > > }
> > > > > }
> > > > >
> > > > > I created test.pass and test.block. Contents of test.pass:
> > > > > "http://www.youthetc.org/ 209.238.173.134/fdgh GET" (no quotes).
> > > Contents
> > > > of
> > > > > test.block: "http://www.whitehouse.com/ 209.67.27.248/- - GET (no
> > > quotes).
> > > > I
> > > > > run "/usr/local/bin/squidGuard -c
> > > > > /usr/local/share/squidGuard-1.2.0/filter.conf < test.pass >
> > > test.pass.out"
> > > > > successfully. For wc -l on test.pass, I get 0. For wc -l on
> > > test.pass.out,
> > > > I
> > > > > get 1. For wc -w on test.pass.out, I get 0. Results for test.block
> and
> > > > > test.block.out are the same. According to the install doc, the
> results
> > > for
> > > > > wc -l on test.pass and test.pass.out should be that same. What do I
> > not
> > > > have
> > > > > configured properly? Forgive me for using Outlook to send this.
> > Thanks.
> > > > >
> > > > > Chris Jensen
> > > > > IS Coordinator
> > > > > Youth ETC
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 

Reply via email to