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, -- Eric Leblond INL: http://www.inl.fr/ NuFW: http://www.nufw.org/
Attachment:
signature.asc
Description: Digital signature