diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2014-12-07 09:37:50 +0000 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2014-12-07 09:37:50 +0000 |
commit | e8500a2e4b9aecef038c7a7a8cf6bcf7eda7d1b6 (patch) | |
tree | 49dc023c9e6d2e00a4bd5634f8b83ffcc3bdfb01 /packages | |
parent | a286739135a6ac56e08a9f9b6bd0cea980072313 (diff) |
Add some basic instructions fo c-icap tests
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@30575 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'packages')
-rw-r--r-- | packages/c-icap.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/c-icap.txt b/packages/c-icap.txt new file mode 100644 index 0000000000..eeaecc329a --- /dev/null +++ b/packages/c-icap.txt @@ -0,0 +1,37 @@ +Testing +------- +Install package: c-icap libc-icap-mod-clamav clamav + +Add + Include srv_clamav.conf + +to /etc/c-icap/c-icap.conf . + +Basic functionality testing: The package c-icap contains a c-icap-client +command line tool which can be used for the first test: + +icap-client + +c-icap-client -f /bin/ls -s "srv_clamav?allow204=on&force=on&sizelimit=off&mode=simple" + +should report "No modification needed (Allow 204 response)". + +c-icap-client -f eicar.com.txt -s "srv_clamav?allow204=on&force=on&sizelimit=off&mode=simple" + +should report that virus is found (Eicar-Test-Signature). + +Test c-icap with squid3: + +squid.conf: + + icap_enable on + icap_preview_size 1024 + icap_send_client_ip on + icap_client_username_header X-Authenticated-User + icap_service service_req reqmod_precache bypass=0 icap://127.0.0.1:1344/antivirus_module + icap_service service_resp respmod_precache bypass=0 icap://127.0.0.1:1344/antivirus_module + adaptation_access service_req allow all + adaptation_access service_resp allow all + +Set http(s)_proxy for squid, and check downloading e.g +http://www.eicar.org/download/eicar.com.txt . |