Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Jens Lechtenbörger" <lechten@wi.uni-muenster.de>
To: netfilter@lists.netfilter.org
Subject: NEW vs INVALID
Date: 30 Sep 2002 12:18:26 +0200	[thread overview]
Message-ID: <m2elbb4w7h.fsf@pcwi1068.uni-muenster.de> (raw)

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



             reply	other threads:[~2002-09-30 10:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 10:18 Jens Lechtenbörger [this message]
2002-09-30 14:39 ` NEW vs INVALID Anders Fugmann
2002-10-01  8:49   ` Cedric Blancher
2002-10-01  9:05     ` Anders Fugmann
2002-10-01 11:19       ` Cedric Blancher
2002-09-30 15:26 ` Cedric Blancher
2002-09-30 15:50   ` Jens Lechtenbörger
2002-10-01 10:33     ` Martijn Klingens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2elbb4w7h.fsf@pcwi1068.uni-muenster.de \
    --to=lechten@wi.uni-muenster.de \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox