All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH ulogd2 0/6] Add support for logging ARP packets
@ 2025-04-20 17:20 Jeremy Sowden
  2025-04-20 17:20 ` [PATCH ulogd2 1/6] IP2STR: correct address buffer size Jeremy Sowden
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Jeremy Sowden @ 2025-04-20 17:20 UTC (permalink / raw)
  To: Netfilter Devel; +Cc: Slavko

Hithero, ulogd has only fully supported handling ARP headers that are present
in `AF_BRIDGE` packets.  This patch-set adds support for handling ARP packets
in their own right.

* Patches 1-3 contain fixes for some minor problems that I spotted while
  working on this.
* Patch 4 refactors the IP2* filters to be a bit more efficient.
* Patches 5 & 6 add support for logging ARP packets.

Jeremy Sowden (6):
  IP2STR: correct address buffer size
  db, IP2BIN: correct `format_ipv6()` output buffer sizes
  IP2HBIN, IP2STR: correct typo's
  IP2BIN, IP2HBIN, IP2STR: refactor `interp` call-backs
  Use `NFPROTO_*` constants for protocol families
  Add support for logging ARP packets

 filter/raw2packet/ulogd_raw2packet_BASE.c |  11 +-
 filter/ulogd_filter_IP2BIN.c              | 121 +++++++++++++---------
 filter/ulogd_filter_IP2HBIN.c             |  90 ++++++++++------
 filter/ulogd_filter_IP2STR.c              |  94 +++++++++--------
 include/ulogd/ulogd.h                     |  13 ++-
 input/flow/ulogd_inpflow_NFCT.c           |  23 ++--
 input/packet/ulogd_inppkt_UNIXSOCK.c      |   7 +-
 util/db.c                                 |   2 +-
 util/printpkt.c                           |  10 +-
 9 files changed, 221 insertions(+), 150 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-04-23 12:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-20 17:20 [PATCH ulogd2 0/6] Add support for logging ARP packets Jeremy Sowden
2025-04-20 17:20 ` [PATCH ulogd2 1/6] IP2STR: correct address buffer size Jeremy Sowden
2025-04-20 17:20 ` [PATCH ulogd2 2/6] db, IP2BIN: correct `format_ipv6()` output buffer sizes Jeremy Sowden
2025-04-23 11:22   ` Florian Westphal
2025-04-23 11:51     ` Jeremy Sowden
2025-04-23 12:51       ` Florian Westphal
2025-04-20 17:20 ` [PATCH ulogd2 3/6] IP2HBIN, IP2STR: correct typo's Jeremy Sowden
2025-04-20 17:20 ` [PATCH ulogd2 4/6] IP2BIN, IP2HBIN, IP2STR: refactor `interp` call-backs Jeremy Sowden
2025-04-20 17:20 ` [PATCH ulogd2 5/6] Use `NFPROTO_*` constants for protocol families Jeremy Sowden
2025-04-20 17:20 ` [PATCH ulogd2 6/6] Add support for logging ARP packets Jeremy Sowden

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.