netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* can libnetfilter_conntrack be used to write a userspace connection tracker?
@ 2011-01-12 21:25 Sam Roberts
  2011-01-12 21:36 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 6+ messages in thread
From: Sam Roberts @ 2011-01-12 21:25 UTC (permalink / raw)
  To: netfilter-devel

I'm working on a connection tracker for a RPC-like protocol (over TCP).

I believe that by inspecting packets using nfqueue, and
creating/destroying expectations using nfconntrack, I can do a
connection tracker in user-space.

In order to remove nfqueue from the mix, I've been looking at the
conntrack code, trying to figure out whether even notifications about
connection status can include the TCP data that I need to inspect, the
data that's in the skbs provided to kernel module conntrack helpers. I
haven't been able to be certain what libnfconntrack can/cannot do, but
it seems outside of the usage that the command line tools and
conntrack daemon need, so I suspect its not possible.

Can somebody confirm my suspicions?

Thank you.
Sam

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

end of thread, other threads:[~2011-02-16 23:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12 21:25 can libnetfilter_conntrack be used to write a userspace connection tracker? Sam Roberts
2011-01-12 21:36 ` Pablo Neira Ayuso
2011-02-16  0:08   ` Sam Roberts
2011-02-16 13:20     ` Pablo Neira Ayuso
2011-02-16 17:52       ` Sam Roberts
2011-02-16 23:12         ` Pablo Neira Ayuso

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).