Hello,
First I want to appologize for somehow sending multiple messages last night. I only
sent one message - but either my mailer sent multiples or the list server reproduced
it.
I did get 3 of each of your messages - so maybe the list server is at fault.
I changed the ownership on the squidGuard files to squid:squid - and now when I start
squid it appears to correctly open squidGuard and writes to the log.
Unfortunately I can't seem to get the rules to work. For instance I put this rules
set
into my filter.conf:
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
acl {
default {
pass none
}
}
I know that it is reading this file - because I had a
dest porn {
domainlist porn/domains
urllist porn/urls
}
And when I removed it from filter.conf and restarted squid - the log entries in
squidGuard.log were changed.
I assume that:
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
acl {
default {
pass none
}
}
will simply stop anyone who tries to access any URL nomatter where/what it is. This
is
not working. I tried URL's that are definitely not in my local cache - and I'm still
opening them up.
Is there possibly a setting in squid.conf that I've set to open up access? I set the
line in squid.conf
http_access allow my_group
And it tried commenting that out.
Do I need something like
http_access redirector my_group?
Any help appreciated
-Rob
On 6 Apr 2002 at 3:54, Rick Matthews wrote:
From: "Rick Matthews" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Copies to: "Squidguard Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Help: New install
Date sent: Sat, 6 Apr 2002 03:54:31 -0600
> Greetings! Welcome to squidGuard from a happy squidGuard user!
>
> > The squidGuard.log file is empty after
> > starting squid. No entries at all.
>
> I'd bet squidGuard is having trouble finding|opening|writing to its
> log file.
>
> Look in your squid.conf file for cache_effective_user and
> cache_effective_group. Since squid will be running squidGuard, *all*
> of the squidGuard files/directories must be owned by the same user
> and group (normally squid.squid). Check both the log file and its
> directory. (During your test you started squidGuard, so it would
> have inherited your user & group. I think that explains why you were
> successfully writing to your log file.)
>
> If that does not correct the problem, I need to ask - are you using
> the default location for the log file
> (/var/log/squidGuard/log/squidGuard.log)? There was a comment posted
> in this group earlier in the week that squidGuard will not start if
> the log is not in the default location, even if the configuration
> file correctly defines the logdir.
>
> Take note: No matter what the documentation says, squidGuard 1.20
> requires Berkeley db version 3.29.
>
> You should be up and running in no time. ;-)
>
> Rick Matthews
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rob
> Jolliffe
> Sent: Saturday, April 06, 2002 12:38 AM
> To: [EMAIL PROTECTED]
> Subject: Help: New install
>
>
> Hi,
>
> I'm very new to squid and obviously squidguard.
>
> I've installed squidguard and I've performed a test using a test
> file with the following
>
> http://www.playboy.com whatever.ip.it.was/- - GET
>
> I then run squidguard
>
> /usr/local/bin/squidGuard -c /usr/local/squidGuard/filter.conf <
> test > test.out
>
> when I run this and checkout the squidGuard.log I see that it's
> opened the db (the
> default porn domains list) and it seems to be working. I added
> www.playboy.com to the
> domains file in the db/porn folder.
>
> Now - when I start squid (I've edited the squid.conf file and set
> the redirect_program
> and redirect_children as per the web page) I don't believe squid is
> starting squidGuard.
>
> redirect_program is set to:
>
> redirect_program /usr/local/bin/squidGuard -c
> /usr/local/squidGuard/filter.conf
>
> The squidGuard.log file is empty after starting squid. No entries
> at all.
>
> Any ideas where I can start.
>
> squid is version 2.4STABLE3
> Redhat 7.1
>
> -Rob
>
> PS: Does squidGuard cache it's DB after it opens it? Otherwise
> things will be pretty
> slow around here.
> -----------------------------------------
> Robert Jolliffe, BASc, CNE, MCSE
> Creative Manufacturing Solutions
> Kitchener, Ontario Canada
> "Programming and Consulting Services"
>
> 519.585.7524
>
> Copyright c 2001 Robert Jolliffe
> All Rights Reserved
>
>
>
-----------------------------------------
Robert Jolliffe, BASc, CNE, MCSE
Creative Manufacturing Solutions
Kitchener, Ontario Canada
"Programming and Consulting Services"
519.585.7524
Copyright c 2001 Robert Jolliffe
All Rights Reserved