c-icap with squidclamav

Asked by karan on 2015-05-30

hi
i was trying to configure the squid with icap and i was stucked at below error when i look at parse the results

2015/05/30 11:17:13| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2015/05/30 11:17:13| Processing: acl manager proto cache_object
2015/05/30 11:17:13| Processing: acl localhost src 127.0.0.1/32 ::1
2015/05/30 11:17:13| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
2015/05/30 11:17:13| Processing: acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
2015/05/30 11:17:13| Processing: acl SSL_ports port 443
2015/05/30 11:17:13| Processing: acl Safe_ports port 80 # http
2015/05/30 11:17:13| Processing: acl Safe_ports port 21 # ftp
2015/05/30 11:17:13| Processing: acl Safe_ports port 443 # https
2015/05/30 11:17:13| Processing: acl Safe_ports port 70 # gopher
2015/05/30 11:17:13| Processing: acl Safe_ports port 210 # wais
2015/05/30 11:17:13| Processing: acl Safe_ports port 1025-65535 # unregistered ports
2015/05/30 11:17:13| Processing: acl Safe_ports port 280 # http-mgmt
2015/05/30 11:17:13| Processing: acl Safe_ports port 488 # gss-http
2015/05/30 11:17:13| Processing: acl Safe_ports port 591 # filemaker
2015/05/30 11:17:13| Processing: acl Safe_ports port 777 # multiling http
2015/05/30 11:17:13| Processing: acl CONNECT method CONNECT
2015/05/30 11:17:13| Processing: http_access allow manager localhost
2015/05/30 11:17:13| Processing: http_access allow localnet
2015/05/30 11:17:13| Processing: http_access deny manager
2015/05/30 11:17:13| Processing: http_access deny !Safe_ports
2015/05/30 11:17:13| Processing: http_access deny CONNECT !SSL_ports
2015/05/30 11:17:13| Processing: http_access allow localhost
2015/05/30 11:17:13| Processing: http_access allow localnet
2015/05/30 11:17:13| Processing: http_access allow all
2015/05/30 11:17:13| Processing: http_port 3128
2015/05/30 11:17:13| Processing: access_log /var/log/squid3/access.log
2015/05/30 11:17:13| Processing: cache_log /var/log/squid3/cache.log
2015/05/30 11:17:13| Processing: coredump_dir /var/spool/squid3
2015/05/30 11:17:13| Processing: refresh_pattern ^ftp: 1440 20% 10080
2015/05/30 11:17:13| Processing: refresh_pattern ^gopher: 1440 0% 1440
2015/05/30 11:17:13| Processing: refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
2015/05/30 11:17:13| Processing: refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
2015/05/30 11:17:13| Processing: refresh_pattern . 0 20% 4320
2015/05/30 11:17:13| Processing: visible_hostname ubuntukir
2015/05/30 11:17:13| Processing: icap_enable on #kiran editing
2015/05/30 11:17:13| Processing: icap_preview_enable on
2015/05/30 11:17:13| Processing: icap_preview_size 1024
2015/05/30 11:17:13| Processing: icap_send_client_ip on # kiran editing
2015/05/30 11:17:13| Processing: icap_send_client_username on #kiran editing
2015/05/30 11:17:13| Processing: icap_client_username_header X-Authenticated-User
2015/05/30 11:17:13| Processing: icap_client_username_encode on
2015/05/30 11:17:13| Processing: icap_service service_req reqmod_precache bypass=1 icap://127.0.0.1:1344/squidclamav
2015/05/30 11:17:13| Processing: icap_service service_resp respmod_precache bypass=1 icap//127.0.0.1:1344/squidclamav
FATAL: squid.conf:5049: malformed adaptation service configuration
Squid Cache (Version 3.1.19): Terminated abnormally.
CPU Usage: 0.012 seconds = 0.012 user + 0.000 sys
Maximum Resident Size: 17952 KB
Page faults with physical i/o: 0

can anyone help me in this FATAL:
line 5049 : icap_service service_resp respmod_precache bypass=1 icap//127.0.0.1:1344/squidclamav
thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
eCAP Edit question
Assignee:
No assignee Edit question
Last query:
2015-05-30
Last reply:
2015-05-31
Alex Rousskov (rousskov) said : #1

This has nothing to do with eCAP, but you are missing a colon after "icap" in "icap//127..."

Please direct further Squid/ICAP questions to Squid support channels: http://www.squid-cache.org/Support/

karan (kirankmr046) said : #2

Thanks for reply,

 i 'll look into this and can you guide me in squid ssl configuration and where can i get the ideas on squid forms

Can you help with this problem?

Provide an answer of your own, or ask karan for more information if necessary.

To post a message you must log in.