From: "Gilad Benjamini" <gilad.benjamini@gmail.com>
To: netfilter@vger.kernel.org
Subject: Re: INVALID state
Date: Thu, 13 Nov 2008 10:16:53 -0800 [thread overview]
Message-ID: <491c6f1c.27b38c0a.7748.ffffe1d6@mx.google.com> (raw)
Here is my partial analysis of the code (2.6.24) , trying to understand what
INVALID state means.
Feedbacks are appreciated.
- init_conntrack calls l4proto->new. If a zero value is returned,
nf_conntrack_free is called and the packet's connection is considered
INVALID
- l4proto->new can be one of
- tcp_new
- Determines the new state according to tcp_conntracks
- Returns 0 in these cases:
- The new state is invalid
- The new state is not SYN_SENT, and loose TCP is
turned off
- icmp_new
- Return 1 only for ICMP: ECHO,
TIMESTAMP,INFO_REQUEST,ADDRESS
- icmpv6_new
- Return 1 only for ECHO, NI_QUERY
- sctp_new
- (not sure of the details)
- A list of functions which always return 1; i.e. never produce an
INVALID state
- udp_new
- new (@nf_conntrack_proto_generic.c)
- gre_new
- udplite_new
next reply other threads:[~2008-11-13 18:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 18:16 Gilad Benjamini [this message]
2008-11-13 22:31 ` INVALID state Christoph Paasch
2008-11-13 22:34 ` Gilad Benjamini
2008-11-13 23:01 ` Christoph Paasch
-- strict thread matches above, loose matches on Subject: below --
2010-02-28 9:24 Nemeth Denes
2010-02-28 10:10 ` Mart Frauenlob
2010-02-28 10:52 ` Nemeth Denes
2010-02-28 11:15 ` Mart Frauenlob
2008-11-12 22:08 Gilad Benjamini
2008-11-13 11:13 ` Thomas Jacob
2008-11-13 12:16 ` Christoph Paasch
2008-11-13 12:48 ` Thomas Jacob
2008-11-13 13:08 ` Christoph Paasch
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=491c6f1c.27b38c0a.7748.ffffe1d6@mx.google.com \
--to=gilad.benjamini@gmail.com \
--cc=netfilter@vger.kernel.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