Hai, I reviewd your config, thing whats different in c-icap.conf compared to
me. RemoteProxyUsers off ( for you ) on for me. Whats the content of /etc/c-icap/squidclamav.conf ? The important part for me of the file : #clamd_local /var/run/clamd.socket ! change/check this clamd_ip 127.0.0.1 clamd_port 3310 If you use socket make sure your rights are correct and icap is added
to the clamav group. And my c-icap part of the squid.conf ## Tested with Squid 3.4.8 and 3.5.x + squidclamav 6.14 and 6.15 icap_enable on icap_send_client_ip on icap_send_client_username on icap_client_username_header X-Authenticated-User icap_persistent_connections on icap_preview_enable on icap_preview_size 1024 icap_service service_req reqmod_precache bypass=1
icap://127.0.0.1:1344/squidclamav adaptation_access service_req allow all icap_service service_resp respmod_precache bypass=1
icap://127.0.0.1:1344/squidclamav adaptation_access service_resp allow all I think you changed to much in the example. Im reffering to these in the squid.conf > adaptation_access service_avi_resp allow all service_avi_resp? Greetz, Louis > -----Oorspronkelijk bericht----- > Van: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] Namens > C. L. Martinez > Verzonden: woensdag 11 mei 2016 16:41 > Aan: squid-users@xxxxxxxxxxxxxxxxxxxxx > Onderwerp: Problems configuring Squid with C- > ICAP+Squidclamav > > Hi all, > > I am installing a new squid proxy server under OpenBSD 5.9 with C- > ICAP+Squidclamav, and I am having some troubles. When squid start up and I > request some web page, it is returning the following error: > > 2016/05/11 14:22:06 kid1| essential ICAP service is down after an options > fetch failure: icap://localhost:1344/squidclamav [down,!opt] > 2016/05/11 14:23:54 kid1| suspending ICAP service for too many failures > > I've read Squid's wiki page about this and I don't see any error in my > config. Squid's config is: > > icap_enable on > icap_send_client_ip on > icap_send_client_username on > icap_client_username_header X-Authenticated-User > icap_preview_enable on > icap_preview_size 1024 > #icap_service_failure_limit -1 > icap_service service_avi_req reqmod_precache > icap://localhost:1344/squidclamav bypass=off > adaptation_access service_avi_req allow all > icap_service service_avi_resp respmod_precache > icap://localhost:1344/squidclamav bypass=on > adaptation_access service_avi_resp allow all > > And c-icap's config is: > > PidFile /var/run/c-icap/c-icap.pid > CommandsSocket /var/run/c-icap/c-icap.ctl > Timeout 300 > MaxKeepAliveRequests 100 > KeepAliveTimeout 600 > StartServers 3 > MaxServers 10 > MinSpareThreads 10 > MaxSpareThreads 20 > ThreadsPerChild 10 > MaxRequestsPerChild 0 > Port 1344 > TmpDir /var/tmp > MaxMemObject 131072 > DebugLevel 1 > Pipelining on > ModulesDir /usr/local/lib/c_icap > ServicesDir /usr/local/lib/c_icap > TemplateDir /usr/local/share/c_icap/templates/ > LoadMagicFile /etc/c-icap/c-icap.magic > RemoteProxyUsers off > RemoteProxyUserHeader X-Authenticated-User > RemoteProxyUserHeaderEncoded on > acl localhost src 127.0.0.1/255.255.255.255 > acl ALLREQUESTS type RESPMOD REQMOD > icap_access allow localhost ALLREQUESTS > icap_access deny all > ServerLog /var/log/c-icap/server.log > AccessLog /var/log/c-icap/access.log > Logger file_logger > Module logger sys_logger.so > Service squidclamav squidclamav.so > > Any idea what am I doing wrong?? How can I do a simple test against c- > icap server from command line?? > > Thanks. > > -- > Greetings, > C. L. Martinez > > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users