Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Prevent SYN attacks  (Read 6309 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
Prevent SYN attacks
« on: January 04, 2014, 11:06:29 pm »
Prevent SYN attacks


1. Enable SYN cookies mechanism in the server by the executing command:

# echo 1 > /proc/sys/net/ipv4/tcp_syncookies

2. Increase the backlog queue to 2048 by the command:

# sysctl -w net.ipv4.tcp_max_syn_backlog=”2048″