Re: [tsvwg] Alternative version of the UDP FRAG option

Raffaele Zullo <raffaele@erg.abdn.ac.uk> Tue, 12 March 2019 17:13 UTC

Return-Path: <raffaele@erg.abdn.ac.uk>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF5561310B8 for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 10:13:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ogNHH773t0zv for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 10:13:44 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [137.50.19.135]) by ietfa.amsl.com (Postfix) with ESMTP id AA8B5130FC4 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 10:13:44 -0700 (PDT)
Received: from erg.abdn.ac.uk (at-www-1.erg.abdn.ac.uk [IPv6:2001:630:42:150::5]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id E83C31B0013A; Tue, 12 Mar 2019 17:13:40 +0000 (GMT)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Content-Transfer-Encoding: 7bit
Date: Tue, 12 Mar 2019 17:13:40 +0000
From: Raffaele Zullo <raffaele@erg.abdn.ac.uk>
To: "C. M. Heard" <heard@pobox.com>
Cc: Joe Touch <touch@strayalpha.com>, tsvwg <tsvwg@ietf.org>
In-Reply-To: <CACL_3VE-U=t=rg_smtLGTyEyCGjLS8X9yNbPVh-NH38MsaEtzg@mail.gmail.com>
References: <CACL_3VE1=0OORUuOKg9GjcdVuhBNTkWhymE7PAs5WYO0ZR0DWQ@mail.gmail.com> <2C035E8C-A59F-4523-9B8D-BBA573C6DEFB@strayalpha.com> <CACL_3VGQo2ObRohJysQ=oWE4fZ1S6MCrytZQZYweuvKToJs_tw@mail.gmail.com> <36A94382-699D-4F8E-BF49-C48D7D784ACC@strayalpha.com> <CACL_3VE-U=t=rg_smtLGTyEyCGjLS8X9yNbPVh-NH38MsaEtzg@mail.gmail.com>
Message-ID: <a47d7cadc5e45cf88ec1ed685a4ed393@erg.abdn.ac.uk>
X-Sender: raffaele@erg.abdn.ac.uk
User-Agent: Roundcube Webmail/1.2.3
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/4gftRufvLM-GSE3AyKRj9FtEB3A>
Subject: Re: [tsvwg] Alternative version of the UDP FRAG option
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Mar 2019 17:13:47 -0000

Hello,

On 2019-03-12 16:36, C. M. Heard wrote:
> On Tue, Mar 12, 2019 at 3:09 AM Joe Touch wrote:

> A revised OCS (that includes the pseudo-header correction) will allow
> FRAG **without** LITE (as proposed in the draft) to traverse the
> affected middleboxes with a non-zero UDP CS, but that method has the
> following downsides:
> 
> 1) A legacy host interprets FRAG without LITE as a complete UDP 
> datagram
> 2) The same is true for an options-aware host if OCS fails
> 3) There is duplicate checksum coverage (UDP checksum covers each 
> fragment,
>    plus post-reassembly checksum contained in the terminal FRAG option)

This is true, but
1 can be solved if FRAG Option has a 2 bytes Length and carries the 
fragment inside it.
2 if the fragment is inside FRAG and OCS is not valid, the fragment is 
just discarded
3 covering each fragment with OCS is basically the same of covering the 
reassembled packet

> 
> AFAICT, forcing the revised OCS to cover the data in each fragment
> provides protection that is essentially equivalent to that provided
> by the proposed post-reassembly checksum.  ...

> Mike Heard

You actually already pointed out 3
and already suggested The FRAG Option carrying fragment inside 
previously.


Thank you,
Raffaele Zullo