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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Sv translation
languageru

В настройках прокси-сервера задайте следующие параметры:

  • разрешите использование ICAP;
  • обязательно установите режим работы ICAP-сервера равным Request Mode;
  • укажите IP-адрес ICAP-сервера, на который будут передаваться HTTP-запросы. ICAP-сервер входит в состав модуля IW ICAP. Поэтому нужно указывать IP-адрес компьютера, на который установлен модуль IW ICAP.

Пример настройки ICAP для SQUID 3.2.1:
В файле squid.conf задайте параметры:
icap_enable on
icap_send_client_ip on
icap_send_client_username on
icap_service service_req reqmod_precache bypass=1 icap://IP_TM_Server:Port_TM_Server/reqmod
adaptation_access service_req allow all,
где IP_TM_Server - IP-адрес сервера Traffic Monitor, а Port_TM_Server – порт, на котором Traffic Monitor слушает ICAP (значение по умолчанию – 1344).

Чтобы настроить прокси-сервер на перехват HTTPS-трафика:

  1. Добавьте в squid.conf следующие строки:
    http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_cert/InfoWatch.pe
    ssl_bump allow all
  2. Выполните:
    squid -k reconfigure
  3. Сгенерируйте сертификат.
  4. Распространите сертификат.

Документация содержит информацию о настройке прокси-сервера SQUID для авторизации пользователей из MS AD, перехвата SSL (ssl-bump) и проверки трафика через ICAP.

В этой главе:

 

Sv translation
languageen

In the settings of the proxy server, specify these parameters:

  • allow the use of ICAP;
  • set the mode of the ICAP server to: Request Mode;
  • specify the IP address of the ICAP server which will receive HTTP requests. ICAP server is a part of the ICAP module. Therefore, you must specify the IP address of the computer, where this module is installed.

An example of ICAP configuring for SQUID 3.2.1

In squid.conf file, specify the following settings:

icap_enable on

icap_send_client_ip on

icap_send_client_username on

icap_service service_req reqmod_precache bypass=1 icap://IP_TM_Server:Port_TM_Server/reqmod

adaptation_access service_req allow all

Here IP_TM_Server is the IP-address of Traffic Monitor Server and Port_TM_Server is the port, where Traffic Monitor listens to ICAP (default is 1344).

For HTTPS interception:

  • Add the following lines to squid.conf:
    http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_cert/InfoWatch.pe
    ssl_bump allow all
  • Run:
    squid -k reconfigure
  • Generate certificate.
  • Distribute certificate.

    Documentation contains information on configuring SQUID proxy server for MS AD user authentication, SSL interception (ssl-bump) and traffic verification via ICAP.

    In this chapter: