All of lore.kernel.org
 help / color / mirror / Atom feed
* some way to use NF_CT_EXPECT_PERMANENT in userspace
@ 2008-07-15 16:34 wang feng
  2008-07-16 12:46 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: wang feng @ 2008-07-15 16:34 UTC (permalink / raw)
  To: netfilter-devel

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?
wbr,
-- 
Feng Wang
Fakultät 5: Informatik, Elektrotechnik und Informationstechnik
Universität Stuttgart
Handy: +49 179 1403215
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: some way to use NF_CT_EXPECT_PERMANENT in userspace
  2008-07-15 16:34 some way to use NF_CT_EXPECT_PERMANENT in userspace wang feng
@ 2008-07-16 12:46 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-07-16 12:46 UTC (permalink / raw)
  To: wang feng; +Cc: netfilter-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-16 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.