On 21/07/2016 18:13, Pablo Neira Ayuso wrote:
Please, send me your Signed-off-by: and a couple of lines with a
description.
No need to resend this patch, I'll amend this myself. But please
include it next time. Thanks.
I apologize, I forgot to add it this time. Here are the missing lines you
On 20/07/2016 20:05, Pablo Neira Ayuso wrote:
On Wed, Jul 20, 2016 at 03:36:58PM +0200, jalvarez wrote:
Add example (based on nft-get-rule.c) to demonstrate selective rule dumping
when table and / or chain attributes are set in a rule dump request.
Used to test the changes made in "[PAT
I fixed the NULL pointer dereference in the patch below.
I also have posted the example nft-rule-selective-get.c to test the
patch (here http://marc.info/?l=netfilter-devel&m=146902182423018&w=2).
It works fine with the given test :
file dummy.rules:
add table filter {
chain input {
Add example (based on nft-get-rule.c) to demonstrate selective rule
dumping when table and / or chain attributes are set in a rule dump request.
Used to test the changes made in "[PATCH nf-next] netfilter: nf_tables:
allow to filter out rules by table and chain"
(http://marc.info/?t=146237901200
On 19/07/2016 12:20, Pablo Neira Ayuso wrote:
If the table and/or chain attributes are set in a rule dump request,
we filter out the rules based on this selection.
Signed-off-by: Pablo Neira Ayuso
---
Compiled tested only.
net/netfilter/nf_tables_api.c | 39 ++