Hi all,
I ame using Squid-2.5.STABLE3-1.i686 on redhat 9.
The Goal:
I want to use squidGuard (1.2.0).
Squid is working fine.
SquidGuard is working fine, in test mode (run as squid user on the
command line)
The Problem :
I added the line redirect_program /usr/local/bin/squigGuard at the end
of my squid.conf.
I modifyed the squidGuard code to display in the log all the lines
received from stdin.
When I run squidGuard from the command line I have in the logs:
2003-12-02 09:11:31 [15829] init domainlist
/etc/squidGuard/db/blacklist/domains
2003-12-02 09:11:31 [15829] init urllist
/etc/squidGuard/db/blacklist/urls
2003-12-02 09:11:31 [15829] squidGuard 1.2.0 started (1070374291.687)
2003-12-02 09:11:31 [15829] squidGuard ready for requests
(1070374291.746)
2003-12-02 09:12:01 [15829] Received squid line: http://toto.fr/
10.1.1.1/- - GET
2003-12-02 09:12:01 [15829] Parsed squid line:
http;toto.fr;http://toto.fr/
so SquidGuard is working well in stand alone.
But whenI start squid and try to access an URL, I have in the log:
2003-12-02 08:39:03 [27432] init domainlist
/etc/squidGuard/db/blacklist/domains
2003-12-02 08:39:03 [27432] init urllist
/etc/squidGuard/db/blacklist/urls
2003-12-02 08:39:03 [27432] squidGuard 1.2.0 started (1070372343.133)
2003-12-02 08:39:03 [27432] squidGuard ready for requests
(1070372343.342)
and nothing else.
I replace the squidGuard by a simple script that print in the log file
all lines comming from the stdin:
#!/bin/bash
while true
do
read toto
logger -t test received: "$toto"
done
and chowned squid:squid and chmod 777
Nothing is received.
All seems to work like squid don't redirect querys to redirect_program.
I any one can help me???
I have to install it on Thursday.
-- Cyril COUPEL <cyril@coupel.homelinux.org>Received on Tue Dec 02 2003 - 07:38:22 MST
This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:04 MST