summaryrefslogtreecommitdiffstats
path: root/ulogd.conf.in
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2012-08-01 11:27:12 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-03 11:21:59 +0200
commit3f4b3658f2323af1e4335186985e6608b49ac9ef (patch)
treeb997c4d0c9fe062af73e74cd6e5a91c6c152b12b /ulogd.conf.in
parent3d83e7db437e264b8066da55b7120b795320f0d7 (diff)
nfacct: add variable to not zero counter after read
The default nfacct input plugin zeroes counter after each read. This is a limitation as other software can't use the counter at the same time as ulogd2. This patch adds the zerocounter variable to the NFACCT input plugin. If set to zero, the counters are not zeroed. Signed-off-by: Eric Leblond <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'ulogd.conf.in')
-rw-r--r--ulogd.conf.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ulogd.conf.in b/ulogd.conf.in
index 5f19cae..879ab3c 100644
--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -263,3 +263,5 @@ mark = 1
[acct1]
pollinterval = 2
+# Set to zero to avoid zeroing counters after read
+#zerocounter = 0