From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jens =?iso-8859-15?q?Lechtenb=F6rger?=" Subject: NEW vs INVALID Date: 30 Sep 2002 12:18:26 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter@lists.netfilter.org Hi there, using stateful packet matching I wonder how an INVALID tcp packet is defined. In particular, I set up a rule to log inbound NEW ssh connections to port 22: iptables -A INPUT -m state --state NEW -p TCP --dport 22 -j LOG --log-level 5 --log-prefix "IPTABLES: Legal NEW TCP: " What confuses me, is that this rule not only logs initial SYN packets but also (initial) packets with SYN and FIN set. I thought that such packets should be INVALID... Is this a bug or a feature? Jens