summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-02-28 16:19:13 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-02-28 16:19:13 +0100
commit929c2a77ba3e9e6c72c08cdded99b0ecccf2fc62 (patch)
tree6ef8058e1e9dcee7a7bb573fac778764132280f2
parenta1a6ee1a2476142c14ca9ecee2c1be810faea2f7 (diff)
downloadconntrack-tools-929c2a77ba3e9e6c72c08cdded99b0ecccf2fc62.tar.gz
conntrack-tools-929c2a77ba3e9e6c72c08cdded99b0ecccf2fc62.zip
conntrackd: PollSecs goes in the General clause for statistics
This patch fixes the configuration file that includes an example of the PollSecs clause in Stats. This is wrong since it should go in the General clause. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--doc/stats/conntrackd.conf24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/stats/conntrackd.conf b/doc/stats/conntrackd.conf
index 22556a0..16d7a80 100644
--- a/doc/stats/conntrackd.conf
+++ b/doc/stats/conntrackd.conf
@@ -67,6 +67,18 @@ General {
#
NetlinkBufferSizeMaxGrowth 655355
+ #
+ # By default, the daemon receives state updates following an
+ # event-driven model. You can modify this behaviour by switching to
+ # polling mode with the PollSecs clause. This clause tells conntrackd
+ # to dump the states in the kernel every N seconds. With regards to
+ # synchronization mode, the polling mode can only guarantee that
+ # long-lifetime states are recovered. The main advantage of this method
+ # is the reduction in the state replication at the cost of reducing the
+ # chances of recovering connections.
+ #
+ # PollSecs 15
+
#
# Event filtering: This clause allows you to filter certain traffic,
# There are currently three filter-sets: Protocol, Address and
@@ -119,18 +131,6 @@ Stats {
#
# NetlinkEventsReliable Off
- #
- # By default, the daemon receives state updates following an
- # event-driven model. You can modify this behaviour by switching to
- # polling mode with the PollSecs clause. This clause tells conntrackd
- # to dump the states in the kernel every N seconds. With regards to
- # synchronization mode, the polling mode can only guarantee that
- # long-lifetime states are recovered. The main advantage of this method
- # is the reduction in the state replication at the cost of reducing the
- # chances of recovering connections.
- #
- # PollSecs 15
-
#
# Enable connection logging via Syslog. Default is off.
# Syslog: on, off or a facility name (daemon (default) or local0..7)