Skip to contentSkip to conversation

some way to use NF_CT_EXPECT_PERMANENT in userspace

DISCUSSION wang feng 2 participants 2 messages Jul 15, 2008 – Jul 16, 2008 netfilter

lore
Share & tools
lore

wang feng

author
#0 lore raw

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,

Signature · 8 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 7 lines · wang feng

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.