Вот ставлю такую связачку
1. Установил из портов squid+icap+clamav
Проксик сразу начал ругаться
Код: Выделить всё
squid
2007/10/23 13:27:14| parseConfigFile: line 16 unrecognized: 'icap_enable on'
2007/10/23 13:27:14| parseConfigFile: line 17 unrecognized: 'icap_preview_enable on'
2007/10/23 13:27:14| parseConfigFile: line 18 unrecognized: 'icap_preview_size 128'
2007/10/23 13:27:14| parseConfigFile: line 19 unrecognized: 'icap_send_client_ip on'
2007/10/23 13:27:14| parseConfigFile: line 20 unrecognized: 'icap_service service_avi_req reqmod_precache 0 icap://localhost:1344/srv_clamav'
2007/10/23 13:27:14| parseConfigFile: line 21 unrecognized: 'icap_service service_avi respmod_precache 1 icap://localhost:1344/srv_clamav'
2007/10/23 13:27:14| parseConfigFile: line 22 unrecognized: 'icap_class class_antivirus service_avi service_avi_req'
2007/10/23 13:27:14| parseConfigFile: line 23 unrecognized: 'icap_access class_antivirus allow all'
2007/10/23 13:27:14| Squid is already running! Process ID 826
You have new mail.
Код: Выделить всё
SKTV# sh icap.sh start
Initialization of echo module......
LibClamAV Warning: ********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html ***
LibClamAV Warning: ********************************************************
LibClamAV Warning: Signature for Trojan.Small-3663 requires new ClamAV version. Please update!
LibClamAV Warning: Signature for Trojan.Packed-93 requires new ClamAV version. Please update!
LibClamAV Warning: Signature for Trojan.Downloader-13402 requires new ClamAV version. Please update!
LibClamAV Warning: Signature for Trojan.Small-4082 requires new ClamAV version. Please update!
Server ICAP run!
Код: Выделить всё
SKTV# sockstat | grep icap
squid c-icap 4046 3 tcp4 *:1344 *:*
squid c-icap 4046 4 dgram -> /var/run/logpriv
squid c-icap 4045 3 tcp4 *:1344 *:*
squid c-icap 4045 4 dgram -> /var/run/logpriv
squid c-icap 4044 3 tcp4 *:1344 *:*
squid c-icap 4044 4 dgram -> /var/run/logpriv
squid c-icap 4043 3 tcp4 *:1344 *:*
squid c-icap 4043 4 dgram -> /var/run/logpriv
Код: Выделить всё
SKTV# freshclam
ClamAV update process started at Tue Oct 23 13:30:55 2007
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.88.5 Recommended version: 0.91.2
DON'T PANIC! Read http://www.clamav.net/faq.html
main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 9, recommended = 20
DON'T PANIC! Read http://www.clamav.net/faq.html
daily.cvd is up to date (version: 4572, sigs: 27352, f-level: 21, builder: ccordes)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 9, recommended = 21
DON'T PANIC! Read http://www.clamav.net/faq.html