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

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

Ключ

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

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

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

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

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

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

  1. Чтобы трафик передавался в режиме «Копия»:
    1. Раскомментируйте следующую секцию кода в файле iwssid.luaВ конфигурационном файле luaengined.conf, расположенного в директории /opt/iw/tm5/etc/scripts, указав , в секции TransportModes в свойстве Icap укажите действительное имя сервера ТМ ( например, tm.server.name-server1) и значение режима Copy. Допускается указывать несколько пар значений: 
      iwssid_icap_servers['tm.server.name'] = 'Copy';"Icap": [{"Server": "tm-server1", "Mode": "Copy"}, {"Server":"tm-server2", "Mode": "Copy"}]
    2. Сохраните изменения в файле iwssidluaengined.luaconf.
  2. Чтобы трафик передавался вне зависимости от вынесенного вердикта:
    1. Задайте значение Transparent в вышеуказанном коде.
    2. Сохраните изменения в файле iwssidluaengined.luaconf.
  3. Чтобы трафик передавался в режиме «Блокировка»:
    1. Задайте значение Normal в вышеуказанном коде.
    2. Сохраните изменения в файле iwssidluaengined.luaconf.

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

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


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

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

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

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

Sv translation
languageen

The IW ICAP module is automatically installed with Traffic Monitor server (TME Node server, TME AllAll-in-one or TMS All-in-one  installation or Interceptors template options). Autostart of the iw_icap process on TM Server is enabled by default. Autostart of the iw_icap_buf process on TM Server is disabled by default.

HTTP and HTTPS traffic is intercepted with the same System resources, but the configuration of external mechanisms configuration differs (see below). To enable interception of HTTP(S) traffic transferred via ICAP, you need to configure parameters of intercepting HTTP and HTTPS requests 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.

The following ICAP configuration options are possible:

  1. For the traffic to be transmitted in "Copy" mode:
    1. In iwssid.lua In luaengined.conf configuration file located in located in /opt/iw/tm5/etc/scripts directory , edit the code the following way: 
      iwssid_icap_servers['tm.server.name'] = 'Copy';
      Save changes in iwssid.lua in Icap property of TransportModes section specify valid TM server name (for example, tm-server1) and value for Copy mode. Few pairs of values can be specified:
      "Icap": [{"Server": "tm-server1", "Mode": "Copy"}, {"Server":"tm-server2", "Mode": "Copy"}]
    2. Save changes in luaengined.conf file.
  2. For the traffic to be transmitted in spite of a verdict given:
    1. Set Transparent value for TransportMode parameter within  within the code above.
    2. Save the changes implemented in iwssid.lua in luaengined.conf 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 luaengined.conf iwssid.lua file
    Restart the service  iw_luaengined:
    iwtm restart luaengined
    1. file.
  4. In icap.conf configuration file located in /opt/iw/tm5/etc/scripts directory, set the value for AsyncCheck parameter of Icap section edit the code the following wayas follows:
    • true - "Copy" mode
    • false - "Block" mode
  5. Save the configuration file.
  6. Restart the service iw_icapRestart Traffic Monitor server:
    iwtm restart icap
Предупреждение
titleWarning!

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

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

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

This setting depends on the 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-clientRecommendations on SQUID Configuration").