From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Sam Roberts <vieuxtech@gmail.com>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: ctnetlink kernel dump while running multiple libnfct clients
Date: Mon, 28 Mar 2011 14:47:13 +0200 [thread overview]
Message-ID: <4D908351.5010407@netfilter.org> (raw)
In-Reply-To: <AANLkTi=17VZ6Sjgj57LTa-xcJj00BSjv_-4DveiutNo1@mail.gmail.com>
On 25/03/11 01:21, Sam Roberts wrote:
> Screenshot attached.
>
> At the time I had 3 connections to nfnetlink open
> - a userspace connection tracker
what protocol are you tracking from user-space?
> - a utility of mine that prints conntrack and expect events
> (https://github.com/sam-github/libnet/blob/master/lua/nfct-events)
> - watch -n0.8 -d sudo conntrack -L e
>
> It was after 5 or so loops of the watch that the kernel BUGged out.
>
> kernel is 2.6.38-020638-generic (ubuntu's v2.6.28-natty).
>
> For what it's worth, ctnetlink_exp_dump_expect() seems to assume that
> the expectation being printed has a helper with a name that it can
> call strlen() on:
>
> helper = rcu_dereference(help->helper);
> if (helper)
> NLA_PUT_STRING(skb, CTA_EXPECT_HELP_NAME, helper->name);
> }
AFAICS, the only way to hit this problem is to have some connection
tracking helper in the kernel which overlaps your user-space helper, ie.
someone is attaching a kernel helper to your conntrack.
> The expectation being printed is one I created from userspace, so I
> don't know what helper was found for it, or what it's name would be
> (if any).
Need more info to know what's going on.
next parent reply other threads:[~2011-03-28 12:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTi=17VZ6Sjgj57LTa-xcJj00BSjv_-4DveiutNo1@mail.gmail.com>
2011-03-28 12:47 ` Pablo Neira Ayuso [this message]
2011-03-28 16:01 ` ctnetlink kernel dump while running multiple libnfct clients Sam Roberts
2011-03-29 10:12 ` Pablo Neira Ayuso
[not found] ` <AANLkTi=XfknKE9RkiohtW4+xzpAe2CGY1JDg7_JtfSUG@mail.gmail.com>
[not found] ` <4D925614.2000909@netfilter.org>
2011-03-29 22:44 ` Sam Roberts
2011-03-29 23:11 ` Pablo Neira Ayuso
[not found] ` <4DA1986A.4080305@netfilter.org>
[not found] ` <BANLkTinjb2yhAQo4Zqs1hMgcBCH1caM0yQ@mail.gmail.com>
[not found] ` <4DA40CD6.9030501@netfilter.org>
2011-04-12 16:59 ` fix for userspace expectations Sam Roberts
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=4D908351.5010407@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=vieuxtech@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.