Комментарий:
Published by Scroll Versions from space TMAG and version 7.13
Sv translation
language
ru
Для настройки ICAP выполните:
Добавьте в конфигурационный файлsquid.confстроки для обработки ICAP:
Блок кода
language
text
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фрагмент:
Блок кода
language
text
icap_enable on
icap_preview_enable on
icap_preview_size 4096
icap_send_client_ip on
icap_service service_req reqmod_precache bypass=0 icap://10.0.3.10:1344/request
adaptation_access service_req allow all
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 – адрес сервера UserGate Web Filter.
Предупреждение
title
Важно!
Сервер UserGate Web Filter не поддерживает режим icap_preview_enable off. Работа с HTTPS-трафиком в данный момент не поддерживается.
Перезапустите Squid:
Блок кода
language
text
sudo service squid3 restart
Sv translation
language
en
To configure ICAP, do the following:
To the squid.conf configuration file, add lines for processing ICAP:
Блок кода
language
text
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
Restart SquidTo configure working on ICAP UserGate Web Filter server, in the squid.conf configuration file, add the following:
Блок кода
language
text
icap_enable on
icap_preview_enable on
icap_preview_size 4096
icap_send_client_ip on
icap_service service_req reqmod_precache bypass=0 icap://10.0.3.10:1344/request
adaptation_access service_req allow all
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
where 10.0.3.10 is the UserGate Web Filter server address.
Предупреждение
title
Important!
UserGate Web Filter server does not supporticap_preview_enable offmode. Working with HTTPS traffic is not supported at the moment.