Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 6.10
Sv translation
languageru

Для настройки ICAP выполните:

  1. Чтобы настроить ICAP, добавьте в конфигурационном файле squid.conf
строчки
  1.  строчки для обработки 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

  2. Чтобы настроить работы с ICAP-сервером UserGate Web Filter , добавьте в файл squid.conf  фрагмент:
    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-трафиком в данный момент не поддерживается.

     

  3. Перезапустите Squid:
    sudo service squid3 restart

 

Sv translation
languageen

To configure ICAP, do the following:

  1. To configure ICAP, in the squid.conf configuration file, add lines for processing 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

  2. To configure working on ICAP UserGate Web Filter server, in the squid.conf configuration file, add the following:
    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.

    Предупреждение
    titleWarning!

    UserGate Web Filter server does not support icap_preview_enable off mode. Working with https traffic is not supported at the moment.

  3.  Restart Squid: 

    sudo service squid3 restart