Re: squidclamav
Also sprach Marco Estrada Martinez <marco@marcomartinez.de> (Fri, 18 Aug 2006 18:46:57 +0200):
> Hi,
Hallo,
> also habe bun mal squidclam ausprobiert. Nun verstehe ich aber nicht das
> ich eine testseite mit dem eicar-virus öffnen kann.
>
> squidclamav-config:
> proxy http://proxy.morpheus.mem:8080/
> logfile /var/log/squid/squidclamav.log
> redirect http://morpheus/cgi-bin/clwarn.cgi
> debug 0
Stell hier mal auf 1
> force 1
> stat 1
> clamd_local /var/run/clamav/clamd.ctl
> #clamd_port 3310
> timeout 120
> regex ^.*\.gz$
> regex ^.*\.bz2$
> regex ^.*\.zip$
> regex ^.*\.txt$
> abort ^.*\.pdf$
> abort ^.*\.js$
> abort ^.*\.html$
> abort ^.*\.css$
> abort ^.*\.xml$
> abort ^.*\.xsl$
> abort ^.*\.js$
> abort ^.*\.ico$
> regex ^.*\.gif$
> regex ^.*\.png$
> regex ^.*\.jpg$
> aborti ^.*\.swf$
> content ^.*application\/.*$
>
> Änderungen and der s# ACL für Virenscan
> redirect_program /usr/local/squidclamav/bin/squidclamav
> redirect_children 5
> quid.conf:
>
> squidclamav wird laut logfile von squid gestartet:
> Aug 18 18:41:23 morpheus squid[32753]: helperOpenServers: Starting 5
> 'squidclamav' processes
Ok.
> Ausgabe ins logfile von squidclamav beim aufruf einer ecair-testseite:
> Fri Aug 18 18:38:39 2006 [32572]:Virus scan tooks 0.012 sec to
> complete URL:
> http://www.mcmilk.de/projects/squidwall/dl/virus-test/eicarcom2.zip
> 192.168.23.26/- marco GET
> Fri Aug 18 18:38:39 2006 [32572]:Total process time 0.081 sec for URL:
> http://www.mcmilk.de/projects/squidwall/dl/virus-test/eicarcom2.zip
> 192.168.23.26/- marco GET
Wenn das squidclamav ein script (python?) ist, kannst du dort mal
nachsehen. "unzip" brauchst du vermutlich auch - funktionieren andere
Tests (clamav-testfiles)?
> also habe jetzt hier erwartet das der redirect zur virusmeldungsseite
> vom apache kommt der auch geht beim direkten aufruf.
>
> Kann mir jemand helfen? THX Marco
sl ritch
Reply to:
- References:
- squidclamav
- From: Marco Estrada Martinez <marco@marcomartinez.de>