All of lore.kernel.org
 help / color / mirror / Atom feed
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: Tue, 29 Mar 2011 12:12:19 +0200	[thread overview]
Message-ID: <4D91B083.2000001@netfilter.org> (raw)
In-Reply-To: <AANLkTi=LNMqTMf34OnjP3rgp5hrw=bLgrdZneZ4cyffi@mail.gmail.com>

On 28/03/11 18:01, Sam Roberts wrote:
> On Mon, Mar 28, 2011 at 5:47 AM, Pablo Neira Ayuso <pablo@netfilter.org> wrote:
>> 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 dummy protocol for purposes of developing this prototype, I call it
> "echo port broker".
> 
> It listens on port 9999 for control connections. An echo port is
> requested by the client, and server opens an ephemeral listen port and
> returns the number. The client then reconnects to that ephemeral port,
> which acts as an echo server.
> 
>> 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.
> 
> That's quite surprising, I've no firewall rules attaching anything
> else to port 9999. See a dump of my rule setup at end of mail. Note it
> assumes localhost client connects to localhost server.

Please, send me the code so I can reproduce the problem here.

  reply	other threads:[~2011-03-29 10:12 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 ` ctnetlink kernel dump while running multiple libnfct clients Pablo Neira Ayuso
2011-03-28 16:01   ` Sam Roberts
2011-03-29 10:12     ` Pablo Neira Ayuso [this message]
     [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=4D91B083.2000001@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.