On Mon, Jul 19, 2010 at 10:15 PM, Luciano Coelho <luciano.coelho@xxxxxxxxx> wrote: > From: Luciano Coelho <coelho@testbed.(none)> > > Hi all, > > As discussed earlier, I've been looking for a way to enable and disable the > condition match automatically, in the netfilter tables themselves (ie. without > the need to use procfs). > > This is my initial implementation. Please let me know how it looks. The first > patch is based on the xt_condition patch that Jan sent to the list (but which > has not been finalized for inclusion yet). Once the condition match gets > applied, I'll forward port my patch and submit it again. > > Cheers, > Luca. > > Luciano Coelho (2): > netfilter: xt_condition: export list management code > netfilter: xtables: implement CONDITION target > > include/linux/netfilter/Kbuild | 1 + > include/linux/netfilter/xt_CONDITION.h | 39 +++++++++++ > include/linux/netfilter/xt_condition.h | 17 +++++- > net/netfilter/Kconfig | 12 ++++ > net/netfilter/Makefile | 1 + > net/netfilter/xt_CONDITION.c | 112 ++++++++++++++++++++++++++++++++ > net/netfilter/xt_condition.c | 82 ++++++++++++++---------- Why not combine xt_CONDITION.c and xt_condition.c into xt_condition.c, like xt_mark.c? -- Regards, Changli Gao(xiaosuo@xxxxxxxxx) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html