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_ddos:ddos_ctrl [2020/02/05 17:35] – ↷ Page moved from en:dpi:dpi_options:base_functionality:opt_ddos:ddos_ctrl to en:dpi:dpi_options:opt_ddos:ddos_ctrl lexx26 | en:dpi:dpi_options:opt_ddos:ddos_ctrl [2024/11/29 10:32] (current) – elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | {{tag> |
+ | ====== | ||
+ | {{indexmenu_n> | ||
+ | Managing the service for a subscriber by using [[en: | ||
+ | Command format: | ||
+ | <code ini> | ||
+ | fdpi_ctrl < | ||
+ | </ | ||
+ | More about the command syntax and assigment of IP lists described in [[en: | ||
+ | |||
+ | **Examples: | ||
+ | |||
+ | Create a named profile and activate the DDoS protection service with the named profile for multiple subscribers | ||
+ | <code ini> | ||
+ | fdpi_ctrl load profile --service 10 --profile.name test_protect --profile.json '{ " | ||
+ | fdpi_ctrl load --service 10 --profile.name test_protect --ip 192.168.0.1 | ||
+ | fdpi_ctrl load --service 10 --profile.name test_protect --ip 192.168.0.2 | ||
+ | </ | ||
+ | here the profile service settings using the json format is set.\\ | ||
+ | Service settings are described in the following secions: | ||
+ | * __[[en: | ||
+ | * __[[en: | ||
+ | |||
+ | In the profile you can provide only part of the parameters, for example, only the parameters for the ddos protection, while syn flood protection is disabled. The unspecified parameters will be set by defaults. | ||
+ | |||
+ | Search for the subscribers with activated notification service with the specified named profile | ||
+ | <code ini> | ||
+ | fdpi_ctrl list all --service 10 --profile.name test_protect</ | ||
+ | |||
+ | Delete a named profile (The named profile has no subscribers using it to delete) | ||
+ | <code ini> | ||
+ | fdpi_ctrl del profile --service 10 --profile.name test_protect | ||
+ | </ | ||
+ | |||
+ | Change the service (profile) settings (new settings will be applied to all the subscribers with the named profile) | ||
+ | <code ini> | ||
+ | fdpi_ctrl load profile --service 10 --profile.name test_protect --profile.json '{ " | ||
+ | </ | ||
+ | |||
+ | Output the list of created profiles and their settings for corresponding service | ||
+ | <code ini> | ||
+ | fdpi_ctrl list all profile --service 10 | ||
+ | </ | ||
+ | |||
+ | Disable the protection for a specific subscriber: | ||
+ | <code ini> | ||
+ | fdpi_ctrl del --service 10 --ip 192.168.0.1 | ||
+ | </ | ||
+ | |||
+ | Check the DDoS protection status | ||
+ | <code ini> | ||
+ | fdpi_ctrl list status --service 10 --ip 192.168.0.1 | ||
+ | Output: | ||
+ | 192.168.0.1 | ||
+ | </ | ||
+ | synf=0 syn-flood protection is not active\\ | ||
+ | ddos=1 ddos protection is active | ||
+ | |||
+ | The maximum number of ddos protection profiles is set by the following option in the / | ||
+ | <code ini> | ||
+ | max_profiles_ddos=32 | ||
+ | </ | ||
+ | here 32 is the default value, 65535 is the maximum value | ||
+ | The '' |