summaryrefslogtreecommitdiffstats
path: root/ulogd.conf.in
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-02-21 20:07:00 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-02-22 13:16:00 +0100
commita084348ac6652a71565b309495c9d1924938b5d7 (patch)
tree77140acd7584043b84220a7124db38c23f8836d0 /ulogd.conf.in
parenta383d93a745d10ddcf1baf8c2cbb44b99680f5ea (diff)
input: add nfacct plugin
This patch adds the nfacct plugin. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'ulogd.conf.in')
-rw-r--r--ulogd.conf.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/ulogd.conf.in b/ulogd.conf.in
index c0c8559..71e8255 100644
--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -49,6 +49,7 @@ plugin="@pkglibexecdir@/ulogd_output_GPRINT.so"
#plugin="@pkglibexecdir@/ulogd_output_MYSQL.so"
#plugin="@pkglibexecdir@/ulogd_output_DBI.so"
plugin="@pkglibexecdir@/ulogd_raw2packet_BASE.so"
+plugin="@pkglibexecdir@/ulogd_inpflow_NFACCT.so"
# this is a stack for logging packet send by system via LOGEMU
#stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
@@ -107,6 +108,9 @@ plugin="@pkglibexecdir@/ulogd_raw2packet_BASE.so"
# this is a stack for flow-based logging in NACCT compatible format
#stack=ct1:NFCT,ip2str1:IP2STR,nacct1:NACCT
+# this is a stack for accounting-based logging via GPRINT
+#stack=acct1:NFACCT,gp1:GPRINT
+
[ct1]
#netlink_socket_buffer_size=217088
#netlink_socket_buffer_maxsize=1085440
@@ -250,3 +254,6 @@ sync = 1
[mark1]
mark = 1
+
+[acct1]
+pollinterval = 2