path: root/
diff options
authorEric Leblond <>2012-08-01 11:27:12 +0000
committerPablo Neira Ayuso <>2012-08-03 11:21:59 +0200
commit3f4b3658f2323af1e4335186985e6608b49ac9ef (patch)
treeb997c4d0c9fe062af73e74cd6e5a91c6c152b12b /
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 <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to '')
1 files changed, 2 insertions, 0 deletions
diff --git a/ b/
index 5f19cae..879ab3c 100644
--- a/
+++ b/
@@ -263,3 +263,5 @@ mark = 1
pollinterval = 2
+# Set to zero to avoid zeroing counters after read
+#zerocounter = 0