Squid und mod_clamav
tuxbase
mail at tuxbase.de
Sat Nov 5 11:48:25 UTC 2005
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
More information about the Fedora-de-list
mailing list