From 3d9849649ec617b45a57a50c93244c13ea8244e0 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Tue, 9 May 2017 09:41:15 +0200 Subject: conntrackd: request resync at startup If a node goes to live, ask the other for resync at startup. This has to be done usually by hand, but I guess is an operation common enough to add some bits to ease people life here. Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- conntrackd.conf.5 | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'conntrackd.conf.5') diff --git a/conntrackd.conf.5 b/conntrackd.conf.5 index 4a4f2e2..94de327 100644 --- a/conntrackd.conf.5 +++ b/conntrackd.conf.5 @@ -22,7 +22,7 @@ .\" . .\" %%%LICENSE_END .\" -.TH CONNTRACKD.CONF 5 "Oct 18, 2016" +.TH CONNTRACKD.CONF 5 "May 09, 2017" .SH NAME conntrackd.conf \- configuration file for conntrackd daemon @@ -78,8 +78,8 @@ This mode is based on a reliable protocol that performs message tracking. Thus, the protocol can recover from message loss, re-ordering and corruption. In this synchronization mode you may configure \fBResendQueueSize\fP, -\fBCommitTimeout\fP, \fBPurgeTimeout\fP, \fBACKWindowSize\fP and -\fBDisableExternalCache\fP. +\fBCommitTimeout\fP, \fBPurgeTimeout\fP, \fBACKWindowSize\fP , +\fBDisableExternalCache\fP and \fBStartupResync\fP. .TP .BI "ResendQueueSize " @@ -146,6 +146,18 @@ enabling this option! By default, this clause is set off. +.TP +.BI "StartupResync " +Order conntrackd to request a complete conntrack table resync against the other +node at startup. A single request will be made. + +This is useful to get in sync with another node which has been running while we +were down. + +Example: StartupResync on + +By default, this clause is set off. + .SS Mode ALARM This mode is spamming. It is based on a alarm-based protocol that periodically @@ -185,7 +197,8 @@ ie. unreliable protocol. This protocol sends and receives the state information without performing any specific checking. In this synchronization mode you may configure \fBDisableInternalCache\fP, -\fBDisableExternalCache\fP, \fBCommitTimeout\fP and \fBPurgeTimeout\fP. +\fBDisableExternalCache\fP, \fBCommitTimeout\fP, \fBPurgeTimeout\fP and +\fBStartupResync\fP. .TP .BI "DisableInternalCache " @@ -206,6 +219,10 @@ Same as in \fBFTFW\fP mode. .BI "PurgeTimeout " Same as in \fBFTFW\fP mode. +.TP +.BI "StartupResync " +Same as in \fBFTFW\fP mode. + .SS MULTICAST This section indicates to \fBconntrackd(8)\fP to use multicast as transport -- cgit v1.2.3