> 09:59:35 recalculating alarm in 45025 seconds

That's how squidGuard keeps up with your time parameters - it sets
an alarm for the next time something changes based on your config
file. In this case, 45,025 seconds is just over 12.5 hours, added to
the current time of 09:59 gives you 22:30 - matching your
configuration file.

The squidGuard log clip that you posted is from squidGuard startup;
it would have been in the log before your 20 to 30 second wait. When
squidGuard starts you will see a *bunch* of messages in the log
file. Look in squid.conf - let's say you have specified
redirect_children 4. At startup the log will have 4 identical sets
of startup messages, showing the 4 process id numbers [pid] ([26607]
in the clip you posted).

Let's assume you have created the databases, and that you have
specified 4 redirect_children. Based on those assumptions and the
config file you posted, you'd see a minimum of 144 lines added to
the log when squidGuard restarts, something like the following,
repeated once for each process:

init domainlist ...ads/domains
loading dbfile  ...ads/domains.db
init urllist    ...ads/urls
loading dbfile  ...ads/urls.db
init domainlist ...audio-video/domains
loading dbfile  ...audio-video/domains.db
init urllist    ...audio-video/urls
loading dbfile  ...audio-video/urls.db
init domainlist ...drugs/domains
loading dbfile  ...drugs/domains.db
init urllist    ...drugs/urls
loading dbfile  ...drugs/urls.db
init domainlist ...gambling/domains
loading dbfile  ...gambling/domains.db
init urllist    ...gambling/urls
loading dbfile  ...gambling/urls.db
init domainlist ...hacking/domains
loading dbfile  ...hacking/domains.db
init urllist    ...hacking/urls
loading dbfile  ...hacking/urls.db
init domainlist ...porn/domains
loading dbfile  ...porn/domains.db
init urllist    ...porn/urls
loading dbfile  ...porn/urls.db
init domainlist ...violence/domains
loading dbfile  ...violence/domains.db
init urllist    ...violence/urls
loading dbfile  ...violence/urls.db
init domainlist ...warez/domains
loading dbfile  ...warez/domains.db
init urllist    ...warez/urls
loading dbfile  ...warez/urls.db
squidGuard 1.2.0 started
recalculating alarm in xxxxx seconds
squidGuard ready for requests

Would you run your test again and telling us what the log file says
*after* the startup messages? Has anything been written to
stopped.log?

The configuration page <http://www.squidguard.org/config/> lists a
recommended structure for the config file, and you config file
doesn't follow the recommendation. I don't think it will affect
squidGuard's operation since it doesn't look like you have any
forward references, but I wanted to mention it.

Your only source is a single ip, 192.168.0.1. After you run your
test again look in your squid access.log file. Are you seeing your
ip (192.168.0.1) on each line that pertains to your test? (You
should.) If you don't see that ip in the squid log entries, then
squidGuard doesn't match you with source limit_hosts. In your
config, that would mean that you should receive the squidGuard.cgi
redirect. The question earlier about that redirect was probably
because you didn't list the variables being passed, for example:
http://192.168.44.1/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=
%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u&lang=en

But you say your squidGuard.cgi runs fine, so I assume you clipped
the variables to streamline the posted version.

I hope I've mentioned something that will help you. Let us know how
it goes.

Rick Matthews


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David
Hansen
Jr.
Sent: Tuesday, April 30, 2002 10:49 AM
To: squidGuard
Subject: Frustrated


Alright...I'm getting frustrated.  I'm missing something.  Maybe
someone
could give me a hand here.  I've got squid w/squidGuard running.
Now,
every time I try to go someplace, after several seconds (20-30), the
site
will load.  Then, I look at the squidGuard.log file, and it's
(clip):

2002-04-30 09:59:35 [26607] squidGuard 1.2.0 started
(1020185922.241)
2002-04-30 09:59:35 [26607] recalculating alarm in 45025 seconds
2002-04-30 09:59:35 [26607] squidGuard ready for requests
(1020185975.298)

My squidGuard.cgi runs fine.  I'm out of ideas.

Thanks,
David



Reply via email to