The chasten flow command restricts the maximum number of times HTTPS flows can be established on a device.
The undo chasten flow command restores the default configuration.
By default, the number of HTTPS flow tables to be created is 300, the time for creating the HTTPS flow table is 30 seconds, the block time for HTTPS flow setup is 30 seconds, the TCP SYN packet processing rate in blocking state is 1 per second
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
flow connection-sessions |
Specifies the number of HTTPS flow tables to be created. |
The value is an integer ranging from 1 to 10000. |
flow connection-period |
Specifies the time for creating the HTTPS flow table. |
The value is an integer ranging from 1 to 3600, in seconds. |
flow blocking-period |
Specifies the block time for HTTPS flow setup. |
The value is an integer ranging from 1 to 3600, in seconds. |
flow blocking-rate |
Specifies the TCP SYN packet processing rate in blocking state. |
The value is an integer ranging from 1 to 10, in packets/second. |
Usage Scenario
To prevent some users from using HTTPS TCP SYN packets with changing destination IP addresses to attack the device so that the HTTPS redirection function is not affected for other users, you need to restrict the rate at which HTTPS flows are established. You can run the chasten flow command to configure the number of seconds during which a device is frozen if the number of HTTPS flows established on the device within a specified period exceeds the preset threshold. Within this freezing period, the device discards the extra HTTPS TCP SYN packets sent by the user.
Precautions
<HUAWEI> system-view [~HUAWEI] access https-redirect [~HUAWEI-access-https-redirect] chasten flow 9000 3000 3000 1