Re: Netfilter: New target: RLOG

From: Richard Weinberger
Date: Thu Jan 19 2012 - 04:29:43 EST


On 19.01.2012 10:25, Pablo Neira Ayuso wrote:
On Thu, Jan 19, 2012 at 10:12:48AM +0100, Pablo Neira Ayuso wrote:
I still think this can be useful.

But, why don't you add this to the LOG target as an extension instead
of yet another target?

By "extension", I meant to say "revision".

If you're not familiar with the iptables revision mechanism, for
instance, have a look at net/netfilter/xt_NFQUEUE.c

Look for the "revision" pattern in that code. Basicaly, it allows you
to enhance existing matches/targets without breaking backward
compatibility.

Okay, will look and send new patches. :-)

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/