It's my "squidGuard.conf". I just titled it so I wouldn't forget what the operative script file was. I still can't get it to test out properly even with Stefan's help. I don't know what I'm doing wrong. :(
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rick Matthews Sent: Wednesday, July 31, 2002 9:36 AM To: [EMAIL PROTECTED] Subject: RE: Trouble testing new setup. What is "filter.conf"? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Jensen > Sent: Tuesday, July 30, 2002 6:50 PM > To: [EMAIL PROTECTED] > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
