Tcp Attack Protection Configuration; Tcp Attack Protection Overview; Enabling The Syn Cookie Feature - HP 5120 SI Series Security Configuration Manual

Hide thumbs Also See for 5120 SI Series:
Table of Contents

Advertisement

TCP attack protection configuration

This chapter includes these sections:

TCP attack protection overview

Enabling the SYN Cookie feature

Enabling protection against Naptha attacks
Displaying and maintaining TCP attack protection
TCP attack protection overview
An attacker can attack the device during the process of TCP connection establishment. To prevent such
attacks, the device provides the following features:
SYN Cookie
Protection against Naptha attacks
This document describes the attacks these features can prevent, working mechanisms of these features,
and configuration procedures.
Enabling the SYN Cookie feature
As a general rule, the establishment of a TCP connection involves the following three handshakes.
1.
The request originator sends a SYN message to the target server.
2.
After receiving the SYN message, the target server establishes a TCP connection in the
SYN_RECEIVED state, returns a SYN ACK message to the originator, and waits for a response.
3.
After receiving the SYN ACK message, the originator returns an ACK message, establishing the
TCP connection.
Attackers may mount SYN Flood attacks during TCP connection establishment. They send a large number
of SYN messages to the server to establish TCP connections, but they never make any response to SYN
ACK messages. As a result, a large number of incomplete TCP connections are established, resulting in
heavy resource consumption and making the server unable to handle services normally.
The SYN Cookie feature can prevent SYN Flood attacks. After receiving a TCP connection request, the
server directly returns a SYN ACK message, instead of establishing an incomplete TCP connection. Only
after receiving an ACK message from the client can the server establish a connection, and then enter the
ESTABLISHED state. In this way, incomplete TCP connections could be avoided to protect the server
against SYN Flood attacks.
Follow these steps to enable the SYN Cookie feature:
To do...
Enter system view
Enable the SYN Cookie feature
Use the command...
system-view
tcp syn-cookie enable
288
Remarks
Required
Enabled by default.

Advertisement

Table of Contents
loading

Table of Contents