File squidclamav-README.SuSE of Package squidclamav

squidclamav - a ICAP module for c-icap
--------------------------------------

This is Antivirus Service for c-icap witch uses clamd as an Viruscan Backend.

To activate this service, please do the following steps:

    1. Edit /etc/squidclamav.conf as you need, especially redirect

    2. Edit /etc/c-icap/c-icap.conf and add the following:

        Service squidclamav squidclamav.so

Reload c-icap and your new service will be ready.

To activate these service wihtin your squid daemon, edit your squid.conf and add:

icap_enable on
icap_preview_enable  on
icap_preview_size    128
icap_send_client_ip  on

icap_service service_req reqmod_precache bypass=1 icap://<c-icap server ip>:1344/squidclamav
adaptation_access service_req deny CONNECT
adaptation_access service_req allow all

icap_service service_resp respmod_precache bypass=0  icap://<c-icap server ip>:1344/squidclamav
adaptation_access service_resp deny CONNECT
adaptation_access service_resp allow all

The CONNECT lines deny SSL Connection to be send to the c-icap Server, because these can't be scanned.
All other Requests will be scanned via our new squidclamav Service via ICAP.

More information can be found in the manpage for squidclamav (man squidclamav).

openSUSE Build Service is sponsored by