netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Sebastian Zander <sebastian.zander@gmx.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: Conntrack helper question
Date: Fri, 30 Nov 2012 14:42:17 +0100	[thread overview]
Message-ID: <20121130134217.GA7133@1984> (raw)
In-Reply-To: <50B41163.9020102@gmx.de>

On Tue, Nov 27, 2012 at 12:03:31PM +1100, Sebastian Zander wrote:
> Hi netfilter devs,
> 
> In current Netfilter is there still a way for a conntrack helper to
> listen to all TCP traffic _independent_ of ports to look for primary
> connections (other than registering with 65535 tuples)? Not that I
> advocate this, I just have some old piece of code that apparently
> did that in ancient 2.6 kernels (ports set to zero in the tuple).

With recent kernels you can attach your helper via -j CT --helper ...
to all ports for some specific layer 4 protocol, eg. TCP.

The ports specified in the registration are simply ignored, we still
keep them there to support for old behaviour for quite some time
though.

      reply	other threads:[~2012-11-30 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27  1:03 Conntrack helper question Sebastian Zander
2012-11-30 13:42 ` Pablo Neira Ayuso [this message]

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=20121130134217.GA7133@1984 \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=sebastian.zander@gmx.de \
    /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).