netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Changli Gao <xiaosuo@gmail.com>
Cc: Oliver <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>,
	xiaosuo@gmail.xom,
	Netfilter Developer Mailing List
	<netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH] netfilter: Kill unreplied conntracks by ICMP errors
Date: Thu, 19 Dec 2013 20:51:14 +0100	[thread overview]
Message-ID: <20131219195114.GA4617@localhost> (raw)
In-Reply-To: <CABa6K_HEpVyE5uppsUKWGowJ_aiqSggZwgc5A0eVD7P-yjcbgg@mail.gmail.com>

On Thu, Dec 19, 2013 at 12:29:02PM +0800, Changli Gao wrote:
> On Wed, Dec 18, 2013 at 12:58 AM, Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> >
> > With this patch, an ICMP destination unreachable - fragmentation
> > needed coming after a big UDP packet will trigger the removal of the
> > UDP conntrack entry, that should not happen.
> 
> I don't think this is a problem, as the conntrack is unreplied and the
> original packet is dropped. That means the no virtual circuit is setup
> along the path, so why do we keep the partial circuit? And the later
> restranmitted packet will set up a new conntrack in anyway.

There are protocols like RTP running over UDP which do not require to
see traffic in both directions, so that partial circuit assumption
sounds wrong to me. The behaviour that this patch introduces is
sloppy, the flow state information would be released and the counters
would be lost in that case.

  reply	other threads:[~2013-12-19 19:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-12 15:19 [PATCH] netfilter: Kill unreplied conntracks by ICMP errors Changli Gao
2013-12-15  6:57 ` Oliver
2013-12-17 13:01   ` Pablo Neira Ayuso
2013-12-17 14:52     ` Changli Gao
2013-12-17 16:58       ` Pablo Neira Ayuso
2013-12-19  4:29         ` Changli Gao
2013-12-19 19:51           ` Pablo Neira Ayuso [this message]
2013-12-17 14:46   ` Changli Gao

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=20131219195114.GA4617@localhost \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa \
    --cc=xiaosuo@gmail.com \
    --cc=xiaosuo@gmail.xom \
    /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;
as well as URLs for NNTP newsgroup(s).