From: "J. Bakshi" Subject: Hot to design syn-flood protection based on ip ? Date: Thu, 27 Aug 2009 18:06:50 +0530 Message-ID: <4A967DE2.2060601@infoservices.in> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: netfilter@vger.kernel.org Hello list, I have finally come to know the bad effect of syn-flood protection. `````````````````````` iptables -N syn-flood iptables -A INPUT -i $IFACE -p tcp --syn -j syn-flood iptables -A syn-flood -m limit --limit 1/s --limit-burst 4 -j RETURN iptables -A syn-flood -j DROP ``````````````````````````` The codes above drops the packets blindly if a single host initiate a syn-flood and as a result other hosts can't get the ports. Is there a way to modify the rules so it drop the packets from the host which is sending the syn-flood packets ? eagerly waiting for a response. Thanks