![HP FlexNetwork MSR Series Скачать руководство пользователя страница 938](http://html.mh-extra.com/html/hp/flexnetwork-msr-series/flexnetwork-msr-series_command-reference-manual_163078938.webp)
920
Examples
# Specify
drop
as the global action against SYN flood attacks in the attack defense policy
atk-policy-1
.
<Sysname> system-view
[Sysname] attack-defense policy atk-policy-1
[Sysname-attack-defense-policy-atk-policy-1] syn-flood action drop
Related commands
syn-flood detect
syn-flood detect non-specific
syn-flood threshold
syn-flood detect
Use
syn-flood detect
to configure IP address-specific SYN flood attack detection.
Use
undo syn-flood detect
to remove the IP address-specific SYN flood attack detection
configuration.
Syntax
syn-flood detect
{
ip
ipv4-address
|
ipv6
ipv6-address
} [
vpn-instance vpn-instance-name
]
[
threshold threshold-value
] [
action
{ {
client-verify
|
drop
|
logging
} * |
none
} ]
undo syn-flood detect
{
ip
ipv4-address
|
ipv6
ipv6-address
} [
vpn-instance vpn-instance-name
]
Default
IP address-specific SYN flood attack detection is not configured.
Views
Attack defense policy view
Predefined user roles
network-admin
Parameters
ip
ipv4-address
: Specifies the IPv4 address to be protected. The
ipv4-address
argument cannot be
255.255.255.255 or 0.0.0.0.
ipv6
ipv6-address
: Specifies the IPv6 address to be protected.
vpn-instance vpn-instance-name
: Specifies the MPLS L3VPN instance to which the protected IP
address belongs. The
vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters.
Do not specify this option if the protected IP address is on the public network.
threshold
threshold-value
: Specifies the threshold for triggering SYN flood attack prevention. The
value range is 1 to 1000000 in units of SYN packets sent to the specified IP address per second.
action
: Specifies the actions when a SYN flood attack is detected. If no action is specified, the global
actions set by the
syn-flood action
command apply.
client-verify
: Adds the victim IP addresses to the protected IP list for TCP client verification. If TCP
client verification is enabled, the device provides proxy services for protected servers.
drop
: Drops subsequent SYN packets destined for the protected IP address.
logging
: Enables logging for SYN flood attack events.
none
: Takes no action.