From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Feldmann Subject: Re: iptables NEW or SYN Date: Thu, 13 May 2010 22:55:12 +0200 Message-ID: References: <4BEC5C6C.1010704@plouf.fr.eu.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BEC5C6C.1010704@plouf.fr.eu.org> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@vger.kernel.org Pascal Hambourg schrieb: > > It depends on your needs. The state NEW doesn't work for my apache server, only the --syn flag. It seems that many packets on my server wouldn't catched from the NEW rule, because my server thinks they are not NEW. The clients still want to establish a connection, but my server only let NEW packets in. If some of my frineds want to connect several times, or when the first packet doesn't fit up with my rules. Then they fall in my blacklist and i got problems. :-( So it is better to set up a rule with the --syn argument combined with the hashlimit extension, to be save against syn flood attacks. What do you think? regards markus