Thread (10 messages) flat view 10 messages, 3 authors, 2012-02-26

Re: [PATCH 3/3] netfilter: ctnetlink: support kernel-space dump filtering by ctmark

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2012-02-25 00:41:50
Also in: netfilter-devel

On Sat, Feb 25, 2012 at 01:30:17AM +0100, pablo@netfilter.org wrote:
From: Pablo Neira Ayuso <pablo@netfilter.org>

This patch adds CTA_MARK_MASK which, together with CTA_MARK, allows
you to selectively send conntrack entries to user-space by
returning those that match mark & mask.

With this, we can save cycles in the building and the parsing of
the entries that may be later on filtered out in user-space by using
the ctmark & mask.
Minor glitch in this patch. One ifdef was missing that would spot an
unused variable warning if CONFIG_NF_CONNTRACK_MARK is disabled.

New patch for ctnetlink attached.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help