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

Tom Herbert <tom@herbertland.com> Sun, 17 March 2019 00:26 UTC

Return-Path: <tom@herbertland.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 CE1BB124C04 for <tsvwg@ietfa.amsl.com>; Sat, 16 Mar 2019 17:26:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 ZhEQhlaZVWad for <tsvwg@ietfa.amsl.com>; Sat, 16 Mar 2019 17:26:52 -0700 (PDT)
Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 83A7C127963 for <tsvwg@ietf.org>; Sat, 16 Mar 2019 17:26:52 -0700 (PDT)
Received: by mail-qt1-x82c.google.com with SMTP id v20so14194815qtv.12 for <tsvwg@ietf.org>; Sat, 16 Mar 2019 17:26:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ql+jTBWDQZfahOQe+G4cCaAmfdkZU3IxZSfh2l9Gl8w=; b=A+J8eDxz9EivhDSOD8KpswNvKL2fhjbudHtYU8iDjXQNn3Zo/CqooUcNnaAlMuobOU 8L/WtB5Bi1b+2VcHmuZcpT58ljkFHbti9rbBlbJANgcAMd9LafC516scTI+Af6Ibv99a F3cjvWLTXYgi8cHUrQXOt6hTRiK8+TTBKSqM0+/kMp/RaGnGE3kEVjgq7Pj8Oe47NOGR Ppl9zl5bzwpb55wfoy6RiymK1SLeifCSp9i8CTzuqOsnx2YNdXRLo86g+GuGZcE85lfJ ayL383A0znKK6OsEOeCKS6JmywUjjLlYppxIwncfYZmt4xIZAcqiSc88f6uk+8yC1oO8 VQ7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ql+jTBWDQZfahOQe+G4cCaAmfdkZU3IxZSfh2l9Gl8w=; b=LzdmwviUyJeDexkOxOLrG8jrxrv44ybMoEaJd5vxNC/hYp9M3nFwhJIiDmOwdoZ86Y eJBgrX8nooicCp6riBb3kPCbQVNr/ijOweDxJ48nXu97q07rez2/7qF0+9Z3i9lbeS0c XHbAj9ahg9qyertEzcjzkpjKjTKu0aCVJPZYnsu0n1KTSUNzIirlP2mPH8fILHJ5ajXU yl3WrKy2U0k5Z42aKk2AIhcCV96h7uPT9wcPvCpKYmAkMIAmJz0K3KLktgHAK826vKqO AGT3V3TKIWdHnPrmVBn0/U08f2VqXP/z73dcFUcT9gZtP4Y21XrFSaea15sy05yLwz4b 7EgA==
X-Gm-Message-State: APjAAAV5Bt5BvC3bCkl7GWfCxAmNY3B0e9CswrCm5bzs2Os4Rd1GRHiy j9Q8DA/JTnFmWuytuq4umrJTcCW2Xf15OSKObjksTk8S
X-Google-Smtp-Source: APXvYqzroNstytisg1k4k6WDziqmtpHxqrduVy36wEcQlwKofCK4qs5VzYjMLQvLpMdnX6D6pOpuRcVZun3qyOtqZuY=
X-Received: by 2002:aed:3622:: with SMTP id e31mr6448274qtb.97.1552782411502; Sat, 16 Mar 2019 17:26:51 -0700 (PDT)
MIME-Version: 1.0
References: <CACL_3VE1=0OORUuOKg9GjcdVuhBNTkWhymE7PAs5WYO0ZR0DWQ@mail.gmail.com> <CALx6S37y_AbESyX5PcCSu7NEr-uPVrPXksEeAx5aSNAyqshL6Q@mail.gmail.com> <FB9C6714-4742-4730-A439-B6FAA6054C5D@strayalpha.com> <CALx6S346xiDyHR3Ww=da+GJiAD7RDeEd6ZSx77k2ODqqX2s_CA@mail.gmail.com> <20190316223048.GA69920@bugle.employees.org>
In-Reply-To: <20190316223048.GA69920@bugle.employees.org>
From: Tom Herbert <tom@herbertland.com>
Date: Sat, 16 Mar 2019 17:26:39 -0700
Message-ID: <CALx6S378VhTs5WYTbs4W8VA5aYbNuNMhDy_2BOZcMtjTBb7r4w@mail.gmail.com>
To: Derek Fawcus <dfawcus+lists-tsvwg@employees.org>
Cc: tsvwg <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000d2c4605843f549a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/bWbKIcECDI2qGcf7voD_MPJMD30>
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: Sun, 17 Mar 2019 00:26:55 -0000

On Sat, Mar 16, 2019, 3:31 PM Derek Fawcus <
dfawcus+lists-tsvwg@employees.org> wrote:

> On Sat, Mar 16, 2019 at 11:37:35AM -0700, Tom Herbert wrote:
> > > So that allows a format like:
> > >
> > > UDP header (Length=8) | Surplus area header | Options | Payload
>
> Tom,
>    I underand this suggestion to be an proposal for an alternate way of
> encoding LITE data - i.e. providing a UDP-Lite like service.
>
> If that is incorrect, then please ignore the following.
>
Derek,

It's more accurate to say the proposal is a means to extend the UDP header
(emphasis on word "header" here as opposed to using a trailer). The format
is independent of whether a fragment is carried or not. Since the UDP
length is 8, the standard UDP checksum doesn't cover payload inside surplus
area, so the extended header has a checksum covering the payload and
extended header beyond UDP header (ie options would always be covered by
checksum in the same way the IPv4 and TCP options are).

I will post a revised draft for this once upload opens.

Tom


> > > That’s DOA for legacy receivers.
> >
> > Legacy receivers see a UDP datagram with zero payload, just like LITE.
>
> Actually, that is not what LITE does.
>
> LITE as Joe has it (and also my proposed hack to your framing) would
> provide the following.
>
> Assume a UDP-Lite like payload, with some payload having checksum
> coverage, some being unprotected.
>
> 1) Two new peers communicating would see the expected UDP-Lite behaviour.
>    The coverred data should arrive, the uncovered data may arrive
>    corrupted.
>
> 2) For a legacy peer receiving from a new peer, they would only
>    receive the portion of the payload having checksum coverage.
>    If the packet was sent with UDP CS=0, they'd still receive
>    the same data, but without checksum coverage.
>
>    i.e. in effect the packet would arrive truncated, with all of
>    the data beyond the coverage length discarded.  So not only
>    is it 'corrupted', but the length information is lost.
>
> Depending upon what use is being made of the LITE data,
> i.e. some metadata in the checksummed area, that loss may
> be significant.  However I'm not sure if it is useful
> for a legacy application (as opposed to a legacy UDP stack).
>
> So in effect, the legacy peer only sees the portion of the packet that
> is potentially coverred by the checksum coverage field in the UDP-Lite RFC.
>
> With this proposal,  they'd see a zero length packet.
>
> So you need to consider LITE alone separate from LITE+FRAG.
> The lattr is currently propoposed for sending Segmented UDP data,
> and would have the behaviour you mention.
>
> This is where Mike is suggesting an alternate encoding for
> Segmented data using a new FRAG alone scheme; hence in
> effect splitting LITE and FRAG in to distinct pure use
> cases.
>
> DF
>
>