Hallo zusammen,
ich habe FC4 mit dem aktuellem squid 2.5.STABLE11 auf einem Rechner installiert.
Ich möchte nur den Datenverkehr auf Viren scannen.
Ich habe den httpd mit mod_clamav eingerichtet. Bei vielen Seiten läuft alles super, aber bei manchen Seiten erhalte ich nur eine weiße Seite.
httpd.conf ... # -- load modules
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule clamav_module modules/mod_clamav.so
# -- mod_proxy
<IfModule mod_proxy.c> ProxyRequests On <Proxy *> # -- using Apache2 filter mechanism SetOutputFilter CLAMAV # -- restricted access Order deny,allow Deny from all Allow from 127.0.0.1 </Proxy>
ProxyVia On </IfModule>
# -- mod_clamav
<IfModule mod_clamav.c> # ClamavExtendedLogging On # LogFormat "%t %!304{clamav:status}n \ # %{Content-type}o \ # %{clamav:virusname}n request="%r", \ # status=%>s, sent=%!304b, delay=%!304D" \ # clamav_stats # CustomLog /var/log/apache2/scan.log clamav_stats # -- Clamav directives
ClamavTmpdir /var/cache/virus/dl ClamavDbdir /var/lib/clamav ClamavReloadInterval 1800 ClamavSafetypes image/gif image/jpeg image/png ClamavSafeTypes image/x-ico ClamavSafetypes text/html text/plain
<Location /clamav> # -- builtin status report SetHandler clamav Order deny,allow Deny from all Allow from 127.0.0.1 </Location>
</IfModule> ...
squid.conf ... cache_peer localhost parent 8081 0 default no-query no-digest read_timeout 90 minutes never_direct allow all
Ich hatte es auch mit squidclam versucht, aber das ging garnicht.
Hat jemand eine Lösung für mich, oder ein Howto für squidclam?
Danke Gruß Bruno
Am Samstag, den 05.11.2005, 12:48 +0100 schrieb tuxbase:
Ich habe den httpd mit mod_clamav eingerichtet. Bei vielen Seiten läuft alles super, aber bei manchen Seiten erhalte ich nur eine weiße Seite.
Urghs :-)
ich hatte glaub mal ein Setup mit ein Paar Python Scripten. Hmm nur war die Last zu hoch für die alte Kiste ich müsste wirklich mal guggen ob ich CVS noch was von der Config übrig habe.
Ich hatte es auch mit squidclam versucht, aber das ging garnicht.
redirect_program /usr/bin/SquidClamAV_Redirector.py - c /etc/squid/SquidClamAV_Redirector.conf redirect_children 10
Ha! :-)
Das Twiki ist gerade kaputt aber zum Glück gibt es ja noch google Cache:
http://66.249.93.104/search?q=cache:oSKh9kcVRHAJ:www.jackal-net.at/tiki- read_article.php%3FarticleId%3D1+SquidClamAV_Redirector.py&hl=de
de-users@lists.stg.fedoraproject.org