[squid-users] redirect_program doesn't work

From: Techy List <techylist@dont-contact.us>
Date: Thu, 17 Jun 2004 10:40:09 +0800 (CST)

Hi squiders :)

I am setting up squidGuard to run hand in hand with
squid.

I have this in my squid.conf
redirect_program /usr/local/bin/squidGuard -c
/usr/local/squidGuard/squidGuard.conf

squid and squidGuard seem to run well:
# ps aux|grep squid
root 2905 0.0 0.0 3608 4 ? S
May06 0:00 /usr/local/squid/
nobody 2907 0.6 72.8 817176 376272 ? R
May06 378:58 (squid)
root 24732 0.0 0.0 1556 44 pts/1 S
Jun16 0:00 tail -f squidGuar
nobody 6908 4.0 0.1 1656 676 ? S
09:48 0:00 (squidGuard) -c /
nobody 6909 3.5 0.1 1656 676 ? S
09:48 0:00 (squidGuard) -c /
nobody 6910 3.5 0.1 1656 676 ? S
09:48 0:00 (squidGuard) -c /
nobody 6911 4.0 0.1 1656 676 ? S
09:48 0:00 (squidGuard) -c /
nobody 6912 7.0 0.1 1656 676 ? S
09:48 0:00 (squidGuard) -c /
root 6920 0.0 0.1 1672 604 pts/2 S
09:48 0:00 grep squid

In my squidGuard.conf, I have something like this:
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db/porn
dest porno {
         domainlist domains.1
}

acl {
  default {
        pass !porno all
# redirect http://localhost:1080
        redirect http://10.129.2.240
  }
}

domains.1 is located in /usr/local/squidGuard/db/porn

I also have changed the ownerships and permissions as:
#pwd
/usr/local/squidGuard/
#chown nobody.nobody squidGuard.conf
#chown -R nobody.nobody db
#chown -R nobody.nobody log

chmod 644 squidGuard.conf
chmod -R 640 db
chmod -R 644 log
find <path to blacklists> -type d -exec chmod 755 \{\}
\; -print
chmod 755 log/squidGuard.conf

I put one line in domains.1:
www.squidguard.org

But it seems that squidGuard still do not block
www.squidguard.org

I thuink I'd rather send this question to squidguard
list, but since it dosn't exist any more, I am trying
to get secure from you, squid users.

My apology fo this OT

Anyway, any help would be very appreciated.

Luke.

__________________________________________________
Do You Yahoo!?
Log on to Messenger with your mobile phone!
http://sg.messenger.yahoo.com
Received on Wed Jun 16 2004 - 20:40:10 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT