All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Michele Codutti <michele.codutti@uniud.it>
Cc: netfilter@vger.kernel.org
Subject: Re: Conntrackd and UDP
Date: Tue, 24 Feb 2009 14:47:35 +0100	[thread overview]
Message-ID: <49A3FA77.2090305@netfilter.org> (raw)
In-Reply-To: <1235464670.9964.13.camel@menhir.cc.uniud.it>

Michele Codutti wrote:
> Hello, I'm using conntrackd in a ha clustered firewall. Since the
> initial setup I configured conntrackd (version 0.9.6-4 from a a Debian
> Lenny) to sync only TCP connections.

BTW, that's a one year old release, I *strongly* suggest you to upgrade 
to some recent release. Similarly, I also suggest you to use lastest 
kernel release which includes recent versions of ctnetlink.

> In the past few days I've read this tutorial:
> http://iptables-tutorial.frozentux.net/iptables-tutorial.html
> and after that I've one question:
> Conntrackd is capable to sync also the UDP entries of the state machine?
> If it is so: it is a good thing to configure conntrackd to sync also the
> UDP entries in a clustered firewall?

It depends on the UDP traffic and your rule-set, for example, I don't 
synchronize UDP DNS traffic but you may want to do it for long-standing 
UDP flows for real-time communications. With regards to your rule-set, 
if you perform UDP filtering based on who starts the communications, 
like from A -> B allow starting UDP flows, but not the opposite (B -> 
A), then it may be of help to avoid communications hangs after the failover.

UDP is unreliable, so you will lose data during the failover, in 
real-time applications the user would experience a temporary 
communication breakage, but the communication would not hang which is 
one of the targets of conntrackd.

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

  reply	other threads:[~2009-02-24 13:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  8:37 Conntrackd and UDP Michele Codutti
2009-02-24 13:47 ` Pablo Neira Ayuso [this message]
2010-02-11  7:22   ` Tino Keitel
2010-02-11 11:01     ` Pablo Neira Ayuso
2010-02-11 14:53       ` Tino Keitel

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=49A3FA77.2090305@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=michele.codutti@uniud.it \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.