Linux Netfilter development
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: wang feng <feng.wangs@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: some way to use NF_CT_EXPECT_PERMANENT in userspace
Date: Wed, 16 Jul 2008 14:46:59 +0200	[thread overview]
Message-ID: <487DEDC3.2010702@trash.net> (raw)
In-Reply-To: <6cb26d8b0807150934u14798afaj9c4be6472091b116@mail.gmail.com>

wang feng wrote:
> Hello,
> from api the attributes we can set for expectation only inclusive
> src,dst ip,port, and timeout, but from the kernel code like infunction
> "nf_ct_find_expectation" there is  also a structure named
> "nf_conntrac_expect" with flags settings with NF_CT_EXPECT_PERMANENT
> which enable a permanent expectation, can the userland api in some
> ways to enable this feature too?

No, we currently don't have the necessary attribute to set expectation
flags. Should be trivial to add though.

      reply	other threads:[~2008-07-16 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 16:34 some way to use NF_CT_EXPECT_PERMANENT in userspace wang feng
2008-07-16 12:46 ` Patrick McHardy [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=487DEDC3.2010702@trash.net \
    --to=kaber@trash.net \
    --cc=feng.wangs@gmail.com \
    --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