Search squid archive

RE: 2 redirector programs Squidguard and ClamavRedirector

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

 




-----Message d'origine-----
De : Mark Elsen 
Envoyé : mardi 10 janvier 2006 17:27
À : Alban Coujard
Cc : squid-users@xxxxxxxxxxxxxxx
Objet : Re:  2 redirector programs Squidguard and
ClamavRedirector

On 1/10/06, Alban Coujard  wrote:
> 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

>  The idea is that then the redirector directive in squid.conf
> would look like :

> redirect_program /etc/squid/redirector.sh

> redirector_access deny localhost
> http_reply_access allow all
>

>  - Why do you put these 2 commands in squid.conf ?

>  - Check cache.log for errors if redirector problems persist.

>  M.

Sorry I don't know why I write this beacuse I try first  "redirect_program
/etc/squid/redirector.sh" in the squid.conf and I try too the another one.

> redirector_access deny localhost

This one for http access on the server, SquidClamAV site say I need do this

> http_reply_access allow all

This one SquidClamAV site say I need do this too but....

Squid running but it's very slow, and nothing is filtering...


In the cache log everything is ok

2006/01/10 17:37:31| Rebuilding storage in /var/spool/squid (CLEAN)
2006/01/10 17:37:31| Using Least Load store dir selection
2006/01/10 17:37:31| Set Current Directory to /var/spool/squid
2006/01/10 17:37:31| Loaded Icons.
2006/01/10 17:37:32| Accepting HTTP connections at 0.0.0.0, port 3128, FD
33.
2006/01/10 17:37:32| Accepting ICP messages at 0.0.0.0, port 3130, FD 34.
2006/01/10 17:37:32| Accepting HTCP messages on port 4827, FD 35.
2006/01/10 17:37:32| Accepting SNMP messages on port 3401, FD 36.
2006/01/10 17:37:32| WCCP Disabled.
2006/01/10 17:37:32| Ready to serve requests.
2006/01/10 17:37:32| Store rebuilding is 42.6% complete
2006/01/10 17:37:32| Done reading /var/spool/squid swaplog (9612 entries)
2006/01/10 17:37:32| Finished rebuilding storage from disk.
2006/01/10 17:37:32|      9612 Entries scanned
2006/01/10 17:37:32|         0 Invalid entries.
2006/01/10 17:37:32|         0 With invalid flags.
2006/01/10 17:37:32|      9612 Objects loaded.
2006/01/10 17:37:32|         0 Objects expired.
2006/01/10 17:37:32|         0 Objects cancelled.
2006/01/10 17:37:32|         0 Duplicate URLs purged.
2006/01/10 17:37:32|         0 Swapfile clashes avoided.
2006/01/10 17:37:32|   Took 0.5 seconds (19945.8 objects/sec).
2006/01/10 17:37:32| Beginning Validation Procedure
2006/01/10 17:37:32|   Completed Validation Procedure
2006/01/10 17:37:32|   Validated 9612 Entries
2006/01/10 17:37:32|   store_swap_size = 92148k
2006/01/10 17:37:32| storeLateRelease: released 0 objects

I use SquidClamAV have you something of better ?

Alban Coujard




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

  Powered by Linux