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

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

Ключ

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

Модуль IW ICAP автоматически устанавливается вместе с сервером Traffic Monitor (опции TME Node server, TME All-in-one или TMS All-in-one). Автозапуск процесса iw_icap на сервере TM по умолчанию включен.

Перехват HTTP- и HTTPS-трафика осуществляется с использованием одних и тех же средств Системы, но различается настройка сторонних механизмов (см. ниже).
Для обеспечения перехвата HTTP(S)-трафика, передаваемого по протоколу ICAP, необходимо настроить параметры перехвата HTTP и HTTPS-запросов на прокси-сервере.

Предупреждение
titleВажно!

На каждой рабочей станции браузер должен быть настроен так, чтобы HTTP(S)-трафик проходил через используемый прокси-сервер (SQUID, Blue Coat). Информацию по настройке вы можете найти в документации к используемому браузеру.

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

  1. Чтобы трафик передавался в режиме «Копия»:
    1. В конфигурационном файле iwssid.lua, расположенном в директории /opt/iw/tm5/etc/scripts, раскомментируйте следующую часть кода: 
      if not is_generic  then
           local emitter = first_text_default(root:xFind( '/root/envelope/headers/emitter' ).nodes,  '' );
           if emitter ==  'ICAP' then
               TransportMode =  'Copy' ;
           end ;
      end ;
    2. Сохраните изменения в файле iwssid.lua.
  2. Чтобы трафик передавался вне зависимости от вынесенного вердикта:
    1. Задайте параметру TransportMode значение Transparent в вышеуказанном коде.
    2. Сохраните изменения в файле iwssid.lua.

  3. Чтобы трафик передавался в режиме «Блокировка»:
    1. Задайте параметру TransportMode значение Normal в вышеуказанном коде.
    2. Сохраните изменения в файле iwssid.lua.

  4. Перезапустите службу  iw_luaengined :
    service iwtm restart luaengined

  5. В конфигурационном файле  icap.conf , расположенном в директории /opt/iw/tm5/etc/, укажите значение параметра AsyncCheck секции Icap:
    • true - режим "Копия",
    • false - режим  "Блокировка".
  6. Сохраните конфигурационный файл.
  7. Перезапустите службу  iw_icap :
    service iwtm restart icap
     

Предупреждение
titleВажно!

Транспортный режим, настроенный в конфигурационном файле iwssid.lua будет применен к SMTP-  и HTTP(S)-перехватчикам. Чтобы выполнить более гибкую настройку см. "   Настройка работы "в разрыв" для нескольких перехватчиков ".


Настройте параметры перехвата HTTP- и HTTPS-запросов на прокси-сервере.

Информация
titleПримечание:

Данная настройка зависит от модификации прокси-сервера. Актуальную информацию по настройке Вы можете получить из документации к прокси-серверу.

В случае необходимости используйте рекомендации для настройки Blue Coat SG Series (см. " Рекомендации по настройке ICAP для Blue Coat SG Series ") и SQUID (см. " Рекомендации по настройке SQUID ")

Sv translation
languageen

The module IW ICAP is automatically installed with Traffic Monitor server (TME Node server, TME All-in-one or TMS All-in-one options). Autorun of iw_icap process on TM Server is also enabled by default.

HTTP and HTTPS traffic interception is performed using the same System resources, but the external mechanisms configuration is different (see below). To provide HTTP(S) traffic transferred via ICAP protocol it is required setting up the interception parameters of HTTP and HTTPS- queries on a proxy-server.   

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

On each workstation, the web browser should be configured to use the required proxy server (SQUID, Blue Coat) for HTTP(S) traffic. For more information on how to configure this, see the documentation for your web browser.

These are the options for ICAP configuration:

  1. For the traffic to be transmitted in "Copy" mode:

    1. In iwssid.lua configuration file located in /opt/iw/tm5/etc/scripts directory, edit the code the following way: 
      if not is_generic  then
           local emitter = first_text_default(root:xFind( '/root/envelope/headers/emitter' ).nodes,  '' );
           if emitter ==  'ICAP' then
               TransportMode =  'Copy' ;
           end ;
      end ;
    2. Save the changes implemented in iwssid.lua file.
  2. For the traffic to be transmitted in spite of a verdict given:
    1. Set Transparent value for TransportMode parameter within the code above.
    2. Save the changes implemented in iwssid.lua file.
  3. For the traffic to be transmitted in "Block" mode:
    1. Set Normal value for TransportMode parameter within the code above.
    2. Save the changes implemented in iwssid.lua file
  4. Restart the service  iw_luaengined:
    service iwtm restart luaengined
  5. In icap.conf configuration file located in /opt/iw/tm5/etc/scripts directory, set the value for AsyncCheck parameter of Icap sectionedit the code the following way:
     
    • true - "Copy" mode
    • false - "Block" mode
  6. Save the configuration file.
  7. Reastart the service iw_icap:
    service iwtm restart icap
Предупреждение
titleWarning!

The transport mode, configured within  iwssid.lua will be applied to SMTP- and HTTP(S) -interceptors. To fulfill more flexible configuration, see "Configuring Inline Operation for Multiple Interceptors "Настройка работы "в разрыв" для нескольких перехватчиков".


Configure the parameters for intercepting HTTP and HTTPS on a proxy server.

Информация
titleNote:

This setting depends on modification of the proxy server. You can find actual information in the documentation for your proxy server.

If necessary, use recommendations on configuring Blue Coat SG Series (see "Configuring Blue Coat SG Series as an ICAP-client") and SQUID (see "Configuring SQUID as an ICAP-client").