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

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

Ключ

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

Для того чтобы сервер Traffic Monitor работал в качестве Sniffer, следует выполнить ряд настроек конфигурационного файла.

В конфигурационном файле sniffer.conf укажите требуемые параметры в секции каждого из перехватчиков (секции http,  icq и и smtp):

Параметр

Описание

Interface

Сетевой интерфейс, через который будут поступать данные от коммутатора

OpenInSec (подсекция Timeouts)

Время сохранения соединения (в сек) при отсутствии пакетов. Рекомендуемое значение – 600

LiveInSec (подсекция Timeouts)

Время ожидания (сек), в течение которого соединение должно перейти в состояние ESTABLISHED. Если состояние не изменилось, то соединение автоматически прекращается. Рекомендуемое значение – 86400

CloseInSec (подсекция Timeouts)

Время сохранения соединения (в сек) при переходе в состояние TIME_WAIT. Рекомендуемое значение – 300

TailInSec (подсекция Timeouts)

Время ожидания доставки отправленных пакетов (в сек) после прекращения соединения

QueueMemorySizeInBytes

Объем памяти (в байтах), используемой для приема пакетов. При высокой загруженности канала, можно увеличить значение. Диапазон значений: от 1 до

500 Мб

500 МБ. Рекомендуемое значение – 16777216

  1. Остановите серверные процессы Traffic Monitor:

    Блок кода
    languagetext
    iwtm stop
  2. Настройте автозапуск процессов:
    • Вариант 1. Перехват и анализ копии трафика будет выполняться на одном компьютере. Сервер Traffic Monitor будет принимать копию трафика от коммутатора (функция Sniffer), анализировать полученные данные и загружать их в базу данных (функции сервера Traffic Monitor). Включите автозапуск процесса iw_sniffer:

      Блок кода
      languagetext
      iwtm enable iw_sniffer
    • Вариант 2. Перехват и анализ трафика будет выполняться на разных компьютерах. Настраиваемый экземпляр сервера Traffic Monitor будет работать только как Sniffer (перехват трафика):
      1. Включите автозапуск процесса iw_sniffer.

        Блок кода
        languagetext
        iwtm enable iw_sniffer
      2. Отключите автозапуск других процессов.

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

        Подробнее о включении и выключении автозапуска процессов см. Автозапуск процессов.

  3. В файле /opt/iw/tm5/etc/sniffer.conf, в секции iscp, задайте параметры перехвата трафика:

    • ListenHost – IP – IP-адрес, на котором процесс iw_proxy будет принимать входящие соединения от iw_sniffer.
    • ListenPort – Порт – порт, через который процесс iw_proxy будет принимать входящие соединения от iw_sniffer (по умолчанию: 4301)
  4. Запустите процессы Traffic Monitor:

    Блок кода
    languagetext
    iwtm start
Sv translation
languageen

For Traffic Monitor Server to function as Sniffer, one needs to perform configuration file setup.

In sniffer.conf configuration file specify required parameters in sections for each interceptor (sections http,   icq and smtp):

Parameter

Description

Interface

The network interface used to transfer data from the switch

OpenInSec (subsection Timeouts)

Time to keep the connection alive (in seconds) if no packages are transmitted. The recommended value – 600.

LiveInSec (subsection Timeouts)

Timeout (in seconds) when the status of the connection must change to ESTABLISHED. If the status is not changed, the connection will be automatically terminated. Recommended value – 86400.

CloseInSec (subsection Timeouts)

Time to keep the connection alive (in seconds) when the status is changed to TIME_WAIT. The recommended value – 300

TailInSec (subsection Timeouts)

Wait time for sent packages (in seconds) after the connection has been terminated 

QueueMemorySizeInBytes

The size of memory (in bytes), which is used to receive packages. When the channel utilization is high, you can increase this value. The range of values: from 1 to 500 Mb MB. The recommended value – – 16777216

  1. Stop server processes of Traffic Monitor:

    Блок кода
    languagetext
    iwtm stop
  2. Configure process autostart:
    • Variant 1. Traffic copy interception and analysis are performed on the same computer. Traffic Monitor Server will receive traffic copy from a switch (Sniffer function), analyze received data  and and upload it to the database (Traffic Monitor Server function). Enable iw_sniffer process autostart: 

      Блок кода
      iwtm enable iw_sniffer
    • Variant 2: Traffic copy interception and analysis are performed on different computers. Configured Traffic Monitor Server example will act only as Sniffer (traffic interception).
      1. Enable iw_sniffer process autostart: 

        Блок кода
        iwtm enable iw_sniffer
      2. Disable other processes autostart.

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

        For more information on enabling and disabling autostart, see Включение и выключение автозапуска процессов.

  3. In /opt/iw/tm5/etc/sniffer.conf file, section iscp, configure traffic interception parameters:

    • ListenHost – IP-address on which the iw_proxy  process process receives incoming connections from iw_sniffer;
    • ListenPort – Port fvia which the via which the iw_proxy process receives incoming connections from iw_sniffer (4301 by default).
  4. Start Traffic Monitor processes:

    Блок кода
    languagetext
    iwtm start