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

"C. M. Heard" <heard@pobox.com> Tue, 12 March 2019 17:18 UTC

Return-Path: <heard@pobox.com>
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 8AD38131156 for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 10:18:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.com; domainkeys=pass (1024-bit key) header.from=heard@pobox.com header.d=pobox.com
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 dZcKT2qeVMeT for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 10:18:18 -0700 (PDT)
Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5099131128 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 10:18:17 -0700 (PDT)
Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id CA15E13C2FC for <tsvwg@ietf.org>; Tue, 12 Mar 2019 13:18:16 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=7GdCgLKWpWO1s7yY7Qyj40VKL0g=; b=Znf9bA OfZgA0r2WeNcn1kvvfX5XmwCuQgS3glpqFU2GCp7jLjlpMxxZwacGxtUxZrEFsdP O5stmEsT40fES4CMLzMgWoX+7ICW5Huuw2O4iacS2FHXessu/bhQ4rzOFurj3cJm G6NSXXaoRVxm8IXbjudtKk8PJAlmlT7wWoHE4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; q=dns; s=sasl; b=jz0OEKv18iSnd5JF0PT47WB+wTb1cRhX BSqOfvyMTSlhqSAhQfZ+AOQe5oQYifYAyqk37G4zsNCT65jq0StjB7eNeN5n2JiN IgWxBsuHd5RCeqwUHFfueo/F47OV4oCII8SyscLkzdhUsZ2HGqUyTGvLraDB3BRC mrzNFoOBP/8=
Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id BD7F813C2FB for <tsvwg@ietf.org>; Tue, 12 Mar 2019 13:18:16 -0400 (EDT)
Received: from mail-io1-f46.google.com (unknown [209.85.166.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 3416013C2F8 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 13:18:16 -0400 (EDT)
Received: by mail-io1-f46.google.com with SMTP id k21so2726318ior.13 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 10:18:16 -0700 (PDT)
X-Gm-Message-State: APjAAAXZsvqCimGj3FjY2kY9rf/1XDTPayruuprfxHsNaSghiko2mRPI koFAabRwCyujNJUv9gw/BBnIjkXC2SI7MEDaBUE=
X-Google-Smtp-Source: APXvYqza/IJZuQHqNubwTgWnPeJhNyjiDmuhJjhVEMJWUJjQzwSNhEJfLE3mYFianwCD5QE9psDLzkNZIb//dmLE2TQ=
X-Received: by 2002:a5d:97c8:: with SMTP id k8mr21703244ios.267.1552411095624; Tue, 12 Mar 2019 10:18:15 -0700 (PDT)
MIME-Version: 1.0
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> <a47d7cadc5e45cf88ec1ed685a4ed393@erg.abdn.ac.uk>
In-Reply-To: <a47d7cadc5e45cf88ec1ed685a4ed393@erg.abdn.ac.uk>
From: "C. M. Heard" <heard@pobox.com>
Date: Tue, 12 Mar 2019 10:18:04 -0700
X-Gmail-Original-Message-ID: <CACL_3VH-7fTZSriijQjL_bCpjD-=qLut-tDcoOoHXYQspRP34w@mail.gmail.com>
Message-ID: <CACL_3VH-7fTZSriijQjL_bCpjD-=qLut-tDcoOoHXYQspRP34w@mail.gmail.com>
To: Raffaele Zullo <raffaele@erg.abdn.ac.uk>
Cc: Joe Touch <touch@strayalpha.com>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
X-Pobox-Relay-ID: D2DE069C-44EA-11E9-9491-DF19F34BB12D-06080547!pb-smtp2.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/cM5le4YET0JXsTQUEEh0mvX_Yz8>
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:18:19 -0000

On Tue, Mar 12, 2019 at 10:13 AM Raffaele Zullo wrote:
> 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.

Correct; your proposal for allowing an "escape" for two-byte
lengths would allow for this

> 2 if the fragment is inside FRAG and OCS is not valid, the fragment is
> just discarded

Correct

> 3 covering each fragment with OCS is basically the same of covering the
> reassembled packet

That was my assessment

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

Yes but that suggestion missed the need for a two-byte length.

Mike