All of lore.kernel.org
 help / color / mirror / Atom feed
* [ULOGD PATCH 0/8] Allow reuse of plugin instance (and misc fixes)
@ 2008-03-09 22:36 Eric Leblond
  2008-03-09 22:36 ` [ULOGD PATCH 1/8] Add hook to list of fields in database for packet logging Eric Leblond
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Eric Leblond @ 2008-03-09 22:36 UTC (permalink / raw)
  To: netfilter-devel


Hello,

This patchset starts with some cleaning:
 - Add hook to list of fields in database for packet logging.
 - Introduce RAWSTR type to avoid confusion in future developement.
 - Fix indentation in ulogd_inppkt_NFLOG.c

Latest patches introduce a modification of plugin behaviour. It was not
possible with existing code to reuse a plugin instance. For example, it
is not possible to do :
stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu2:LOGEMU

This kind of setup is useful to be able to log in a file and in a database for
example. To be able to have such a setup it is necessary:
 - Not to call twice or more start function to avoid problem (it is not possible
 to listen to the same nfgroup more than once)
 - Duplicate the message in the INPUT module.
This patchset contains ulogd necessary modifications and modifications of NFLOG,
ULOG and NFCT INPUT plugins.

The patches are :
 - Don't call start function multiple time for a single plugin instance.
 - Add a list of used plugininstance.
 - Duplicate message to all existing instance of NFLOG.
 - Add code for duplication of message in ULOG
 - Duplication of message in NFCT input plugin

Global stats:
 doc/mysql-ulogd2.sql              |   17 +++++++++++------
 doc/pgsql-ulogd2.sql              |   20 ++++++++++++--------
 filter/ulogd_filter_IP2BIN.c      |   12 ++++++------
 include/ulogd/ulogd.h             |    3 +++
 input/flow/ulogd_inpflow_NFCT.c   |    7 +++++++
 input/packet/ulogd_inppkt_NFLOG.c |   12 ++++++++++--
 input/packet/ulogd_inppkt_ULOG.c  |    5 +++++
 src/ulogd.c                       |   35 ++++++++++++++++++++++++++++++-----
 util/db.c                         |    5 ++++-
 9 files changed, 88 insertions(+), 28 deletions(-)

BR,
--
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/

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

end of thread, other threads:[~2008-03-25 15:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-09 22:36 [ULOGD PATCH 0/8] Allow reuse of plugin instance (and misc fixes) Eric Leblond
2008-03-09 22:36 ` [ULOGD PATCH 1/8] Add hook to list of fields in database for packet logging Eric Leblond
2008-03-25  8:41   ` Pablo Neira Ayuso
2008-03-09 22:36 ` [ULOGD PATCH 2/8] Introduce RAWSTR type to avoid confusion in future developement Eric Leblond
2008-03-25  8:42   ` Pablo Neira Ayuso
2008-03-09 22:36 ` [ULOGD PATCH 3/8] Fix indentation in ulogd_inppkt_NFLOG.c Eric Leblond
2008-03-25  8:43   ` Pablo Neira Ayuso
2008-03-09 22:36 ` [ULOGD PATCH 4/8] Don't call start function multiple time for a single plugin instance Eric Leblond
2008-03-25  8:48   ` Pablo Neira Ayuso
2008-03-09 22:36 ` [ULOGD PATCH 5/8] Add a list of used plugininstance Eric Leblond
2008-03-25  9:50   ` Pablo Neira Ayuso
2008-03-09 22:36 ` [ULOGD PATCH 6/8] Duplicate message to all existing instance of NFLOG Eric Leblond
2008-03-25  9:54   ` Pablo Neira Ayuso
2008-03-09 22:36 ` [ULOGD PATCH 7/8] Add code for duplication of message in ULOG Eric Leblond
2008-03-25  9:59   ` Pablo Neira Ayuso
2008-03-09 22:36 ` [ULOGD PATCH 8/8] Duplication of message in NFCT input plugin Eric Leblond
2008-03-25 10:02   ` Pablo Neira Ayuso
2008-03-25 10:03 ` [ULOGD PATCH 0/8] Allow reuse of plugin instance (and misc fixes) Pablo Neira Ayuso
2008-03-25 15:36   ` Eric Leblond

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.