Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Christophe Painchaud <dash@ionblast.net>
Cc: netfilter@vger.kernel.org
Subject: Re: conntrackd synchronisation at startup
Date: Thu, 15 May 2008 16:03:36 +0200	[thread overview]
Message-ID: <482C42B8.6010500@netfilter.org> (raw)
In-Reply-To: <20080515145035.ecbpgmdr8cg0o80o@webmail.ionblast.net>

Christophe Painchaud wrote:
> Hello,
> 
>  I managed to create a cluster of 2 firewalls that share their conntrack
> tables ; but I've got a little problem/question:
> 
>  When I restart a node to simulate a failure, it won't request existing
> connections, it will only get news ones. I am forced to do a 'conntrackd
> -n' to resync it all. I tried to start conntrackd with 'conntrackd -d
> -n' or 'conntrackd -dn' . No success here. Is there a proper way to do
> this ? should I create a startup script that run -d command line, and
> then -n ?

conntrackd does do this by itself, it needs the help of a failure
detector manager, eg. keepalived. You have to include the conntrackd -n
in your scripts when the node hits backup state. Have a look at the doc/
directory inside the conntrack-tools.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

      reply	other threads:[~2008-05-15 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15 12:50 conntrackd synchronisation at startup Christophe Painchaud
2008-05-15 14:03 ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=482C42B8.6010500@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=dash@ionblast.net \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox