APF and SYN Packet Attack On Server

Discussion in 'Security' started by usf, Dec 28, 2010.

  1. #1
    the following to prevent syn flood (it will limit to 80 per sec, you can set the limit much lower or higher according to your needs.)

    iptables -A INPUT -m state --state NEW -p tcp -m tcp --syn -m recent --name synflood --set
    iptables -A INPUT -m state --state NEW -p tcp -m tcp --syn -m recent --name synflood --update --seconds 1 --hitcount 80 -j DROP
    Code (markup):
    ----------------------------------------

    I need Help I am wanted to Use the above rules with apf firewall. How can I do?
     
    usf, Dec 28, 2010 IP