====== Configuration ====== {{indexmenu_n>2}} 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. For BRAS you have to use **profiles named in the Radius-Accept attributes.** ===== Default profile ===== Enable the configuration parameter in ///etc/dpi/fastdpi.conf// for the default profile without a named one: ntf_server=192.168.0.18/ntf Here 192.168.0.18/ntf - is the name or the address of the server((In case this parameter ends by ? or &: the parameter UrlRedir is added to the formed URL. It points to a page selected by a subscriber.)) that hosts information page. You can include a part of the path into the address. It allows using the same server for several services. After the parameter is added, you have to restart the service: service fastdpi restart In this case management is carried out through connecting service 6 without specifying a profile: fdpi_ctrl load --service 6 --ip 192.168.0.1 fdpi_ctrl load --service 6 --login user01 ===== Named profile ===== To work with a named profile, you do not need to specify the ntf_server parameter. The configuration is described in the service management section.\\ The maximum number of profiles for notification is set by the configuration parameter in ///etc/dpi/fastdpi.conf// max_profiles_ntf=65535 Here 65535 is a default value and the upper limit. This is a cold parameter and requires a restart of fastdpi. ===== Logs ===== Service status change (automatic shutdown) is recorded in the log, which is enabled by the setting ajb_save_chnprg=1 For this log you can configure the following parameters (in the example the default value is specified): ajb_chnprg_path=/var/dump/dpi #место размещения файлов с записью ajb_chnprg_fsize=1073741824 #максимальный размер лога ajb_chnprg_ftimeout=10 #периодичность записи в минутах ajb_chnprg_bufsize=32768 #размер внутреннего накопительного буфера ajb_save_chnprg_format=ts:prg:ipsrc #формат записи где ts - временная метка, prg - id активных в данных момент сервисов, ipsrc - IP адрес источника запроса (абонента) Changes of service status is also recorded in the [[en:dpi:dpi_options:opt_li|clickstream]] in the prg field.