Hi all,

I am have written a very basic squid authenticator module. Code is as
follows:


#!/bin/sh
PASSWORDFILE="/usr/local/etc/squid/users.txt"
TEST="123"
while [ ! -z $TEST ]
do
read AUTH
if [ ! -z "`grep -x "$AUTH" $PASSWORDFILE`" ]; then
echo "OK"
else
echo "ERR"
fi
done



It all works fine and authenticates users from a plain text file (/usr/local/etc/squid/users.txt) whose format is:

user password
user password


The only problem is that the authenicator module processes that squid spawns don't get killed when squid is killed. It also seems to keep opening many more authenicator module processes while it runs even though I have limited it to 5 children in squid.conf.

Any suggestions? I'd really appreciate some direction.


Many thanks in advance......

Reply via email to