[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120225004150.GA13494@1984>
Date: Sat, 25 Feb 2012 01:41:50 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: netdev@...r.kernel.org
Cc: netfilter-devel@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH 3/3] netfilter: ctnetlink: support kernel-space dump
filtering by ctmark
On Sat, Feb 25, 2012 at 01:30:17AM +0100, pablo@...filter.org wrote:
> From: Pablo Neira Ayuso <pablo@...filter.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.
View attachment "0003-netfilter-ctnetlink-support-kernel-space-dump-filter.patch" of type "text/x-diff" (3462 bytes)
Powered by blists - more mailing lists