changes.mady.by.user Esina Natalya
Сохранено авг 14, 2025
changes.mady.by.user Aroyan Armen
Сохранено янв 22, 2026
Для настройки ICAP выполните:
Добавьте в конфигурационный файл squid.conf
squid.conf
строки для обработки ICAP:
icap_enable on
icap_service service_req reqmod_precache bypass=1 icap://10.60.7.7:1344/request
adaptation_access service_req allow all
icap_send_client_ip on
icap_send_client_username
on
Чтобы настроить работы с ICAP-сервером UserGate Web Filter , добавьте в файл squid.conf фрагмент:
icap_preview_enable on
icap_preview_size 4096
icap_service service_req reqmod_precache bypass=0 icap://10.0.3.10:1344/request
icap_service service_resp respmod_precache bypass=0 icap://10.0.3.10:1344/response
adaptation_access service_resp allow all http_port 8080 transparent
где 10.0.3.10
10.0.3.10
– адрес
сервера UserGate Web Filter.
Сервер UserGate Web Filter не поддерживает режим icap_preview_enable off. Работа с httpsHTTPS-трафиком в данный момент не поддерживается.
icap_preview_enable off
Перезапустите Squid:
sudo service squid3 restart
To configure ICAP, do the following:
To
the squid.conf configuration file, add lines for processing ICAP:
icap_send_client_username on
To configure working on ICAP ICAP UserGate Web Filter server server, in the the squid.conf configuration configuration file, add add the following:
where 10.0.3.10 - is the is the UserGate Web Filter server address.
UserGate Web Filter server does not support icap_preview_enable off mode. Working with https HTTPS traffic is not supported at the moment.
Restart Restart Squid:
sudo service squid3
restart