Re: [squid-users] redirect_program doesn't work

From: Techy <techylist@dont-contact.us>
Date: Fri, 18 Jun 2004 18:00:20 +0800 (CST)

Thaanks for your reply.

Could anyone tell me the performance of squid if such
approach is taken for about 1000 users ?

Does squid remain fast or become slower ?

--- "Didiet D. Praptarya" <didiet@kaori.or.id> wrote:
<br> > i don't know if anyone still used squidguard,
but i
> don't use it anymore.
>
> i only add 2 lines in squid.conf
>
> acl porn url_regex -i
> "/usr/local/squid/etc/porn.txt"
>
> http_access deny porn
>
> and in /usr/local/squid/etc/porn.txt i put all the
> badword/bad website
>
> thats all
>
> cu
> --
> http://www.kaori.or.id
>
> > 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
> >
>
>

__________________________________________________
Do You Yahoo!?
Log on to Messenger with your mobile phone!
http://sg.messenger.yahoo.com
Received on Fri Jun 18 2004 - 04:00:25 MDT

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