< Home

v-gateway http-slow-attack timeout

Function

The v-gateway http-slow-attack timeout command sets the timeout period for HTTP slow attacks on a virtual gateway.

The undo v-gateway http-slow-attack timeout command deletes the timeout period for HTTP slow attacks on a virtual gateway.

Format

v-gateway http-slow-attack timeout timeout

undo v-gateway http-slow-attack timeout

Parameters

Parameter Description Value
timeout timeout Specifies the timeout period for HTTP slow attacks. The value ranges from 1 to 120, in seconds. The default value is 15.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If the interval for sending HTTP packets from a client to the virtual gateway exceeds the specified timeout period, the virtual gateway cuts off the HTTP connection.

Example

# Set the timeout period for HTTP slow attacks on a virtual gateway to 10 seconds.

<sysname> system-view
[sysname] v-gateway http-slow-attack timeout 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >