netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Huettner <felix.huettner@mail.schwarz>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH libnetfilter_conntrack 0/2] dump/flush support filtering by zone
Date: Tue, 5 Dec 2023 09:34:30 +0000	[thread overview]
Message-ID: <cover.1701675975.git.felix.huettner@mail.schwarz> (raw)

this patchset expands libnetfilter_conntrack to send dump and flush requests
that filter by conntrack zone.
It is dependent on a patch to the kernel repo at
https://marc.info/?l=linux-kernel&m=170108582310775

Felix Huettner (2):
  dump: support filtering by zone
  flush: support filtering

 include/internal/object.h                     |  1 +
 include/internal/prototypes.h                 |  1 +
 .../libnetfilter_conntrack.h                  |  5 ++
 src/conntrack/api.c                           | 14 +++++
 src/conntrack/build_mnl.c                     |  3 +
 src/conntrack/filter_dump.c                   | 17 ++++++
 utils/.gitignore                              |  1 +
 utils/Makefile.am                             |  4 ++
 utils/conntrack_dump_filter.c                 |  2 +
 utils/conntrack_flush_filter.c                | 60 +++++++++++++++++++
 10 files changed, 108 insertions(+)
 create mode 100644 utils/conntrack_flush_filter.c

-- 
2.43.0


             reply	other threads:[~2023-12-05  9:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05  9:34 Felix Huettner [this message]
2023-12-05  9:35 ` [PATCH libnetfilter_conntrack 1/2] dump: support filtering by zone Felix Huettner
2024-01-24 20:23   ` Pablo Neira Ayuso
2023-12-05  9:35 ` [PATCH libnetfilter_conntrack 2/2] flush: support filtering Felix Huettner

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=cover.1701675975.git.felix.huettner@mail.schwarz \
    --to=felix.huettner@mail.schwarz \
    --cc=netfilter-devel@vger.kernel.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).