Hi,

I have quite a large squidguard.conf file  (around 80k or 890 lines).
I noticed SG had stopped filtering and first checked it hadn't
gone into emergency mode..  the log didn't report any errors.
So I tried:

echo "http://www.pornsite.com 10.10.9.8 /- testuser GET" | /usr/local/bin/squidGuard -c /usr/local/squid/etc/squidGuard.conf

and it doesn't redirect the URL as it should.

When I fiddled around with the config file, I found this weird
problem where if I insert some empty lines at the top it starts
working again..  I remove the empty lines  (and they are empty),
it stops filtering  (without spitting out any errors).  seems flakey
but not directly related to filesize.

Anyone else seen this?  I've c&p'ed the top of my conf file below.

Thanks,
Adrian.

--


# This is the squidguard configuration file
#
# Last updated 2005-10-03
#


dbhome /var/db/squidguard
logdir /var/log

# GLOBAL CONTROL LISTS  (OVERRIDES EVERYTHING)    #
# ------------------------------------------------#

dest global_allow { domainlist global_lists/allowlist }
dest global_deny  { domainlist global_lists/denylist }

.....
.....

Reply via email to