From: Romain Bellan <romain.bellan@wifirst.fr>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org,
Florent Fourcot <florent.fourcot@wifirst.fr>
Subject: Re: [PATCH nf-next] netfilter: ctnetlink: add kernel side filtering for dump
Date: Tue, 7 Jan 2020 10:10:26 +0100 [thread overview]
Message-ID: <20200107091026.GH15271@wiboss> (raw)
In-Reply-To: <20191230121253.laf2ttcfpjgbfowt@salvia>
Hi Pablo,
> I did not yet have a look at this in detail, will do asap.
>
> However, I would like to know if you would plan to submit userspace
> patches for libnetfilter_conntrack for this. Main problem here is
> backward compatibility (old conntrack tool and new kernel).
Currently I wrote a patch for the pyroute2 python library (to control netlink using Python) whith checks of kernel version for using filtering in kernel or userspace.
I would like to submit a patch for the libnetfilter_conntrack if you think that it is useful, but i didn't have a look on it yet.
About compatibility, currently the only way is to check with the kernel version, but I can add something like NLM_F_DUMP_FILTERED in the netlink reply. What would be the best way for you?
Best regards,
--
BELLAN Romain
next prev parent reply other threads:[~2020-01-07 9:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-19 10:36 [PATCH nf-next] netfilter: ctnetlink: add kernel side filtering for dump Romain Bellan
2019-12-30 12:12 ` Pablo Neira Ayuso
2020-01-07 9:10 ` Romain Bellan [this message]
2020-01-13 23:00 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200107091026.GH15271@wiboss \
--to=romain.bellan@wifirst.fr \
--cc=florent.fourcot@wifirst.fr \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).