Configuration [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:dpi_options:opt_capture:capt_conf [2020/02/05 17:32] – ↷ Page moved from en:dpi:dpi_options:base_functionality:opt_capture:capt_conf to en:dpi:dpi_options:opt_capture:capt_conf lexx26en:dpi:dpi_options:opt_capture:capt_conf [2024/09/26 15:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Configuration ====== ====== Configuration ======
 +{{indexmenu_n>3}}
  
 +The option can be enabled in two ways:
 +  - Default profile: global configuration on the device, connected as a service without specifying a profile.
 +  - Named profile: connected as a service with the name of the profile.
 +
 +<note important>For BRAS you have to use **profiles named in the Radius-Accept attributes.**</note>
 +
 +===== Default profile =====
 +
 +Enable the configuration parameter in ''/etc/dpi/fastdpi.conf'' for the default profile without a named one:
 +
 +<code bash>cp_server=192.168.0.18/cp</code>
 +Here 192.168.0.18 — is the name or the address of the information page((additional parameters can be added (according to HTTP rules) only after ? or &, they must be specified in the URL for whitelisting and here you should think for DPI, otherwise DPI will assign /?)).
 +
 +<note important>This address may include a (partial) path. This allows using the same server for various kinds of services.</note>
 +
 +After the parameter is added you need to restart the service:
 +<code bash>service fastdpi restart</code>
 +
 +In this case management is carried out through connecting service 5 without specifying a profile:
 +<code bash>fdpi_ctrl load --service 5 --ip 192.168.0.1
 +fdpi_ctrl load --service 5 --login user01</code>
 +
 +<note important>The white lists from ''/var/lib/dpi'' directory are used. [[en:dpi:dpi_options:opt_capture:capt_make|Preparing white list]]</note>
 +
 +===== Named profile =====
 +
 +Find out how to configure the named profile [[en:dpi:dpi_options:opt_capture:capt_mgmt|in the next section]].
 +
 +=====Additional settings=====
 +The maximum number of profiles for whitelists is set by the configuration parameter in ''etc/dpi/fastdpi.conf''
 +
 +  - for allow lists (service 5)<code bash>max_profiles_white_list=4</code>where 4 is the default value and 65535 is the maximum possible value 
 +
 +  - for allow lists (service 16)<code bash>max_profiles_serv16=32</code>where 32 is the default value and 65535 is the maximum possible value
 +
 +<note warning>This is a cold parameter and requires a restart of fastdpi.</note>