Search squid archive

2 redirector programs Squidguard and ClamavRedirector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello 

I hope I'm using the correct forum for this question. Please correct me if
I'm not.
And Sorry if I ask a question which his already was resolve.

I would like to use 2 redirector programs Squidguard and ClamavRedirector

I can easily use 1 redirector program. Just SquidGuard it?s OK or just
ClamavRedirecto it?s OK.

I see on the ML archive

>
> I would like to use two redirect_programs with squid.
> 1. Clamav virus scan
> 2. SquidGuard
>
> I have squidguard running fine now. Is there any way for me to include a
> second such as clamav antivirus?
>


> #!/bin/sh
>
> /path/to/redirector1 |/path/to/redirector2
>

>  Use this script as your redirector.


I Do this:

/etc/squid/redirector.sh

#!/bin/sh

/usr/local/bin/SquidClamAV_Redirector.py -c
/etc/squid/SquidClamAV_Redirector.conf|/usr/bin/squidGuard -c
/etc/squid/squidGuard.conf


/etc/squid/squid.conf

redirect_program /usr/local/bin/SquidClamAV_Redirector.py -c
/etc/squid/SquidClamAV_Redirector.conf|/usr/bin/squidGuard -c
/etc/squid/squidGuard.conf
redirector_access deny localhost
http_reply_access allow all

I restart Squid, his running but with no redirector programs

Thanks for your ideas

Alban Coujard




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux