From: Christoph Paasch <christoph.paasch@gmail.com>
To: hdemir@metu.edu.tr
Cc: netfilter-devel@vger.kernel.org, Patrick McHardy <kaber@trash.net>
Subject: Re: -m state is not working.
Date: Tue, 10 Feb 2009 10:06:02 +0100 [thread overview]
Message-ID: <200902101006.02550.christoph.paasch@gmail.com> (raw)
In-Reply-To: <499127AB.2050702@metu.edu.tr>
Hi,
On Tue February 10 2009, Husnu Demir wrote:
> Yes,
>
> I forgat to add that support :) But xt_state should not be seen if
> nf_conntrack_ipv4 is not selected on the kernel config. It is useless
> without nf_conntrack_ipv4 support.
Well, xt_state doesn't depends on nf_conntrack_ipv4, it can also be use
nf_conntrack_ipv6 or any other module you write yourself. The thing is that
without nf_conntrack_ipv4 (or *_ipv6), it uses nf_conntrack_l3proto_generic,
which won't be tracked, because get_l4proto(...) returns -NF_ACCEPT.
Maybe it would be nice to return NF_ACCEPT, and then handle it with the
generic layer 4 protocol handler. (set *protonum = 255 and let *dataoff
unchanged)
Just a little suggestion.
Have a nice day.
--
Christoph Paasch
www.rollerbulls.be
--
next prev parent reply other threads:[~2009-02-10 9:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-05 14:46 -m state is not working Husnu Demir
2009-02-09 17:10 ` Patrick McHardy
2009-02-10 7:07 ` Husnu Demir
2009-02-10 9:06 ` Christoph Paasch [this message]
2009-02-10 9:15 ` Jan Engelhardt
2009-02-10 11:48 ` 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=200902101006.02550.christoph.paasch@gmail.com \
--to=christoph.paasch@gmail.com \
--cc=hdemir@metu.edu.tr \
--cc=kaber@trash.net \
--cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).