HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters
Set Value as
Value Name Data Type Set Value
SynAttackProtect REG_DWORD 2
Causes TCP to adjust retransmission of SYN-ACKS. When you configure this value the connection responses timeout more quickly in the event of a SYN attack.
Also, You can set the below Values which are Recommended values.
Value Name Value (REG_DWORD)
TcpMaxPortsExhausted 1
IPEnableRouter 0
TcpMaxHalfOpen 500
TcpMaxHalfOpenRetried 400
TcpMaxConnectResponseRetransmissions 3
TcpMaxDataRetransmissions 2
KeepAliveTime 300000 (5 minutes)
NoNameReleaseOnDemand 1
Description of the above value :
TcpMaxPortsExhausted :Specifies the threshold of TCP connection requests that must be exceeded before SYN flood protection is triggered.
IPEnableRouter = 0 : To disable all IP forwarding between interfaces
TcpMaxHalfOpen :To limit the total number of half-open connections allowed by the system at any given time
TcpMaxHalfOpenRetried :To fix the number of half-open connections allowed by the system at any given time
TcpMaxConnectResponseRetransmissions :To set any SYN/ACK handshake to time out at 3 seconds and drop the connection at nine (9) seconds
TcpMaxDataRetransmissions :Specifies the number of times that TCP
retransmits an individual data segment (not connection request segments) before aborting the connection.
NoNameReleaseOnDemand :Specifies to not release the NetBIOS name of a computer when it receives a name-release request.