R3721-F3210-F3171-HP High-End Firewalls Attack Protection Command Reference-6PW101

6
tcp anti-naptha enable
Syntax
tcp anti-naptha enable
undo tcp anti-naptha enable
View
System view
Default level
2: System level
Parameters
None
Description
Use tcp anti-naptha enable to enable the protection against Naptha attack.
Use undo tcp anti-naptha enable to disable the protection against Naptha attack.
By default, the protection against Naptha attack is disabled.
The configurations made by using the tcp state and tcp timer check-state commands will be removed
after the protection against Naptha attack is disabled.
Examples
# Enable the protection against Naptha attack.
<Sysname> system-view
[Sysname] tcp anti-naptha enable
tcp state
Syntax
tcp state { closing | established | fin-wait-1 | fin-wait-2 | last-ack | syn-received } connection-number
number
undo tcp state { closing | established | fin-wait-1 | fin-wait-2 | last-ack | syn-received }
connection-number
View
System view
Default level
2: System level
Parameters
closing: CLOSING state of a TCP connection.
established: ESTABLISHED state of a TCP connection.
fin-wait-1: FIN_WAIT_1 state of a TCP connection.
fin-wait-2: FIN_WAIT_2 state of a TCP connection.
last-ack: LAST_ACK state of a TCP connection.