Skip to content

Hardware header parsing in NFLOG and ULOG

Eric Leblond netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Make NFLOG export raw header and source raw address.configure.in input/packet/ulogd_inppkt_NFLOG.c+41 -62 replies
2/4Add parsing module for raw.mac.filter/Makefile.am filter/ulogd_filter_RAWMAC.c+219 -17 replies
3/4Add source and destination address convertion in MAC2STR.filter/ulogd_filter_MAC2STR.c+73 -190 replies
4/4Add destination mac_addr and raw header to databasedoc/mysql-ulogd2.sql doc/pgsql-ulogd2.sql+94 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [ULOGD PATCH 0/4] Hardware header parsing in NFLOG and ULOG

Hello,

This patchset is aiming at:
* solving the conflict between ULOG and NFLOG
* using the latest NFLOG capability relatively to hardware header

First patch modifies the NFLOG plugin to add raw.mac and raw.type (hardware type) to output keys.
Second patch introduces a new plugin which has to be used to parse the packet hardware header and extract source and destination hardware address.
Third patch updates the MAC2STR plugin to convert to string the hardware related fields.
Finally, last patch adds support for this new fields in mysql and pgsql.

Patchset statistics:

 configure.in                      |    4 +-
 doc/mysql-ulogd2.sql              |   68 +++++++++---
 doc/pgsql-ulogd2.sql              |   49 ++++++++-
 filter/Makefile.am                |    6 +-
 filter/ulogd_filter_MAC2STR.c     |   92 +++++++++++++----
 filter/ulogd_filter_RAWMAC.c      |  214
 +++++++++++++++++++++++++++++++++++++
 input/packet/ulogd_inppkt_NFLOG.c |   43 +++++++-
 7 files changed, 427 insertions(+), 49 deletions(-)

PS: I run git-send-email without --compose and send the patchset before the introduction mail. Sorry for that.

BR,

Signature · 3 lines
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/