Andrew,

It doesn't sound like a squidguard problem since the command-line interface is working. It sounds like squid isn't handing the request off to squidguard. Have you tried restarting squid? Perhaps instead of "squid -k reconfigure" you should try stopping and then starting the squid proxy service.

Chip Burkitt

Andrew Nelson wrote:

Hi,

I've had this problem a few times in the past and it's driving me crazy.

I have squidguard working fine, blocking some sites for some groups of
users and allows some for others..  It's quite a large squidGuard.conf
file (~780 lines) because there's various sites, various user groups
within the sites and I allow them to manipulate their various allow/deny
lists through an interface that the 'site managers' can add users into.

Occasionally after I make a change (ie add a new block list or
user group to the squidGuard conf),  and restart everything,
rebuild the databases,  squid just allows everything through.

SquidGuard is DEFINATELY NOT in emergency mode,  the log
file just looks like it normally does, and trying direct commands
to squidGuard like:

echo "www.playboy.com 192.168.102.140 testuser GET" | squidGuard -c /usr/local/squid/etc/squidGuard.conf

ALWAYS returns the correct response (ie blocking playboy), but
when you point a browser at squid with this username and IP,  it
just allows it.

The line in squid is:
redirect_program /usr/local/bin/squidGuard -c /usr/local/squid/etc/squidGuard.conf

I've fixed this problem in the past by starting with a completely fresh
config file, and adding back in the sites one by one, restarting and
rebuilding each time and checking that it's working after each one.
When I get to the bottom (and have the same file I had to start with),
it's still working and the problem has gone away...

Is there a bug somewhere? the config file is too big to rebuild one-by-one
now and I don't know what that does to make it work anyway.

Can anyone help?

Thanks,
Andrew.



begin:vcard
fn:Chip Burkitt
n:Burkitt;Chip
org:Chip Burkitt Consulting
adr;dom:;;385 Page St E;Saint Paul;MN;55107
email;internet:[EMAIL PROTECTED]
tel;work:651 290-9303
tel;fax:651 290-9306
x-mozilla-html:FALSE
url:http://www.orderingchaos.com
version:2.1
end:vcard

Reply via email to