All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nft 0/2] src: add conntrack information to trace monitor mode
@ 2025-07-07  9:47 Florian Westphal
  2025-07-07  9:47 ` [PATCH nft 1/2] src: split monitor trace code into new trace.c Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Florian Westphal @ 2025-07-07  9:47 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

First patch is a preparation patch that moves the trace code
from netlink.c to the new trace.c file.

Second patch adds the ct info to the trace output.

This patch exposes the 'clash' bit to userspace.
(Technically its the kernel counterpart).

If you dislike this, I can send a kernel patch that removes
the bit before dumping ct status bits to userspace, let me
know.

Change since v1:
- prep patch to split to trace.c
- add ct status fields to data types

Florian Westphal (2):
  src: split monitor trace code into new trace.c
  src: add conntrack information to trace monitor mode

 Makefile.am                                   |   1 +
 doc/data-types.txt                            |  31 +-
 include/linux/netfilter/nf_conntrack_common.h |  16 +
 include/netlink.h                             |   5 -
 include/trace.h                               |   8 +
 src/ct.c                                      |   8 +
 src/monitor.c                                 |   2 +-
 src/netlink.c                                 | 332 -------------
 src/trace.c                                   | 462 ++++++++++++++++++
 9 files changed, 512 insertions(+), 353 deletions(-)
 create mode 100644 include/trace.h
 create mode 100644 src/trace.c

-- 
2.49.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-07 20:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07  9:47 [PATCH nft 0/2] src: add conntrack information to trace monitor mode Florian Westphal
2025-07-07  9:47 ` [PATCH nft 1/2] src: split monitor trace code into new trace.c Florian Westphal
2025-07-07 20:13   ` Pablo Neira Ayuso
2025-07-07  9:47 ` [PATCH nft 2/2] src: add conntrack information to trace monitor mode Florian Westphal
2025-07-07 19:02 ` [PATCH nft 0/2] " Pablo Neira Ayuso
2025-07-07 19:28   ` Florian Westphal
2025-07-07 20:14     ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.