From: Mark-Walter@t-online.de Subject: allowed chain vs. NEW,INVALID Date: Tue, 21 Feb 2006 16:09:53 +0100 Message-ID: <20060221150953.GA835@server.homelinux.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter@lists.netfilter.org I've seen through the tutorial of Oscar Andreason. Out of my firewall book (and I think the howto's from Russel too) is this rule: iptables -A INPUT -i eth0 -m state --state NEW,INVALID -j DROP iptables -A FORWARD -i eth0 -m state --state NEW,INVALID -j DROP The allowed chain of Oscar Andreason describes this: # # allowed chain # $IPTABLES -A allowed -p TCP --syn -j ACCEPT $IPTABLES -A allowed -p TCP -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A allowed -p TCP -j DROP Does this the same or might it be a good idea to add a rule to DROP packet's NEW,INVALID like above for INPUT and FORWARD and the device eth0 ? -- Best Regards, Mark