To configure the Squid service:
echo "icap_enable on" >> /etc/squid/squid.conf
echo "icap_send_client_ip on" >> /etc/squid/squid.conf
echo "icap_service is_kav_req reqmod_precache 0 icap://127.0.0.1:1344/av/reqmod" >> /etc/squid/squid.conf
echo "icap_service is_kav_resp respmod_precache 0 icap://127.0.0.1:1344/av/respmod" >> /etc/squid/squid.conf
echo "adaptation_access is_kav_req allow all" >> /etc/squid/squid.conf
echo "adaptation_access is_kav_resp allow all" >> /etc/squid/squid.conf
service squid restart
Configuration of the Squid service will be complete.
Page top