Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_options:opt_capture:capt_mgmt:start [2023/10/10 08:25] – external edit 127.0.0.1 | en:dpi:dpi_options:opt_capture:capt_mgmt:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Management ====== | ||
- | {{indexmenu_n> | ||
- | This service is configured for individual subscribers by [[en: | ||
- | Instruction format: | ||
- | < | ||
- | fdpi_ctrl command --service 5 [Services_list] [IP_list] | ||
- | </ | ||
- | The instruction syntax and IP addresses specification methods are described in details here: [[en: | ||
- | |||
- | ===== Management of a default profile ===== | ||
- | |||
- | Enable the "white list" operation for the particular subscriber with **a default profile** (is specified in // | ||
- | <code ini> | ||
- | fdpi_ctrl load --service 5 --ip 192.168.0.1 | ||
- | </ | ||
- | |||
- | Disable the "white list" operation for the particular subscriber: | ||
- | <code ini> | ||
- | fdpi_ctrl del --service 5 --ip 192.168.0.1 | ||
- | </ | ||
- | |||
- | ===== Management of a named profile ===== | ||
- | |||
- | 1. In order to create **a named profile** and activate the locking service with a profile for several subscribers | ||
- | <code ini> | ||
- | fdpi_ctrl load profile --service 5 --profile.name test_white --profile.json '{ " | ||
- | fdpi_ctrl load --service 5 --profile.name test_white --ip 192.168.0.1 | ||
- | fdpi_ctrl load --service 5 --profile.name test_white --ip 192.168.0.2 | ||
- | </ | ||
- | |||
- | here the following profile settings using the json format are specified: | ||
- | |||
- | * redirect - the redirection page((Attention: | ||
- | * url_list - white URL list | ||
- | * sni_list - white SNI list | ||
- | * ip_list - white list of IP:PORT pairs((a check against the ip:port or cname is run if the request does not contain URL or SNI)) | ||
- | * cn_list - white list of Common Name((a check against the ip:port or cname is run if the request does not contain URL or SNI)) | ||
- | |||
- | <note tip>The list can be placed both on an external resource - in this case it is loaded before it is used, and in a local file, for example, " | ||
- | |||
- | 2. To search for subscribers who have an activated alert service with the specified profile name | ||
- | < | ||
- | fdpi_ctrl list all --service 5 --profile.name test_white</ | ||
- | |||
- | 3. To delete a named profile(there should be no subscribers using this profile) | ||
- | < | ||
- | fdpi_ctrl del profile --service 5 --profile.name test_white | ||
- | </ | ||
- | |||
- | 4. To change the service settings (profile) (new settings are applied to all the subscribers with a specified service profile) | ||
- | < | ||
- | fdpi_ctrl load profile --service 5 --profile.name test_white --profile.json '{ " | ||
- | </ |