Linux Netfilter discussions
 help / color / mirror / Atom feed
* conntrackd synchronisation at startup
@ 2008-05-15 12:50 Christophe Painchaud
  2008-05-15 14:03 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe Painchaud @ 2008-05-15 12:50 UTC (permalink / raw)
  To: netfilter

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 ?


Thank you in advance for your replies (and this great piece of software!)

Regards,

-- 
Christophe Painchaud
email: dash@ionblast.net
jabber: dash@im.ionblast.net


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: conntrackd synchronisation at startup
  2008-05-15 12:50 conntrackd synchronisation at startup Christophe Painchaud
@ 2008-05-15 14:03 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2008-05-15 14:03 UTC (permalink / raw)
  To: Christophe Painchaud; +Cc: netfilter

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-15 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 12:50 conntrackd synchronisation at startup Christophe Painchaud
2008-05-15 14:03 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox