[PATCH ulogd2 0/6] Add support for logging ARP packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux