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

Tom Herbert <tom@herbertland.com> Mon, 18 March 2019 16:27 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 077F2129AA0 for <tsvwg@ietfa.amsl.com>; Mon, 18 Mar 2019 09:27:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] 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 V8Z4klGW3L_x for <tsvwg@ietfa.amsl.com>; Mon, 18 Mar 2019 09:27:27 -0700 (PDT)
Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) (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 D9159131171 for <tsvwg@ietf.org>; Mon, 18 Mar 2019 09:27:26 -0700 (PDT)
Received: by mail-qt1-x842.google.com with SMTP id t28so18639409qte.6 for <tsvwg@ietf.org>; Mon, 18 Mar 2019 09:27:26 -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=yl/HAlrUAy9nVFp88tOiEACkt9T/UZ/caRalPvRtAL8=; b=fiWWFHMSy58vEw/pr2QoaHwUkaxG89Hp2+KDTScV95Gl5cmAFIbipVS2tUk64ZNff9 AGxKUYMcm3Xxf5/annC8hR90Th1WAxr9vxLSHN9Wd8yFtrsBRT/IZxZBvefyYKmGqKDJ tEXpCSxAo6JpxcPrnPY0LxSbd1EjpVtR0PlYlfnlRdk6WvRC01Wo1D1lmruJznh3sLTs fcdPCOiMatG8a6T4DiOWN8v8PPh153S7zjyDqAKt2gbqTQI4FavlJsx0cwxj2JfqrEEr nVlImx1THRoOirj0qVvZ1PQOxt7xaHTbED1JoYmaMP/53yFoOADh3hz4yVBTf0NaukZ2 1Qwg==
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=yl/HAlrUAy9nVFp88tOiEACkt9T/UZ/caRalPvRtAL8=; b=rvr+i9pRTft9xOefH5+E9R2D1xtczvv4SrY7DW8tqMlRlwc4J9WKhWD8qdHQXc/CCT 6V/jLkZDgKfeVRO8JmnY8XFM/KJw722i3pSk2Jif+8Vx3P5tVKwrAIiX6XcllQdAw9B2 369d67lcho+qXOvCaKATei1zADenQ7Fxk7HMZkTx/sJH4WykEGdTJWG7OLOktTejo4in okELUoi2Gcrf1tadvUTCQPEJIiy/d3bcthgYBZE4kbGixSYLeY/9d/f6u5L7e4akxUC/ e+WRe908SWjH9MjUoxVJ+x4cUBdKUeWJwcgScxLktZFZqVDYI8awHv0Jp+g814aO9cws hR9g==
X-Gm-Message-State: APjAAAUUN1L7Y8vgL5Tq3xb7OIukeqnD5WqFkpHOYXPIT2/QzM7ih/nt 4CQXUWJ5AqRZiGV4FUSgonJM6M12BvIZl1yQnqbBGA==
X-Google-Smtp-Source: APXvYqzk/6orkT+WfZLvtwXHTLlngvArgtWpHXBhkY+3liUA/+xFlvFK4UbIdQxIY1HsnyTW0UsVe1IPeiKN3AN6kv8=
X-Received: by 2002:a0c:9681:: with SMTP id a1mr13875106qvd.72.1552926445674; Mon, 18 Mar 2019 09:27:25 -0700 (PDT)
MIME-Version: 1.0
References: <CACL_3VE1=0OORUuOKg9GjcdVuhBNTkWhymE7PAs5WYO0ZR0DWQ@mail.gmail.com> <CALx6S37y_AbESyX5PcCSu7NEr-uPVrPXksEeAx5aSNAyqshL6Q@mail.gmail.com> <CACL_3VFJTxM3s-GLOTz9xmkNk1uOQoCmAGApbAf1ZgbH3Opptw@mail.gmail.com> <CALx6S36aWKHFXO=Zx8W-wFqqC5-Oueb3j-b9evm-yKpfguVQuw@mail.gmail.com> <5C8FBBED.7000805@erg.abdn.ac.uk> <CALx6S34FKNJ_6Ep659L3t_Kf4bnEKZ5LTjXo-zWz4PrveU_UVA@mail.gmail.com>
In-Reply-To: <CALx6S34FKNJ_6Ep659L3t_Kf4bnEKZ5LTjXo-zWz4PrveU_UVA@mail.gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Mon, 18 Mar 2019 09:27:14 -0700
Message-ID: <CALx6S37MsCmOOsn0bnHoTwJkN7Khfm03z__W4hhy7c29XuvQHw@mail.gmail.com>
To: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Cc: "C. M. Heard" <heard@pobox.com>, Joe Touch <touch@strayalpha.com>, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/PoqleYSimLGA6J3OR1KJfxb5-_0>
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: Mon, 18 Mar 2019 16:27:29 -0000

On Mon, Mar 18, 2019 at 8:58 AM Tom Herbert <tom@herbertland.com> wrote:
>
> On Mon, Mar 18, 2019 at 8:40 AM Gorry Fairhurst <gorry@erg.abdn.ac.uk> wrote:
> >
> > I think I missed something between these emails....
> >
> > On 18/03/2019, 15:13, Tom Herbert wrote:
> > > On Mon, Mar 18, 2019 at 7:43 AM C. M. Heard<heard@pobox.com>  wrote:
> > >> On Sat, Mar 16, 2019 at 9:06 AM Tom Herbert wrote:
> > >>> Thinking about this, it occurs to me be that the LITE option isn't
> > >>> needed. The assumption in the UDP options draft is that a receiver
> > >>> needs the UDP payload to immediately follow the UDP header, but the
> > >>> UDP payload can be anywhere in the surplus area as long as it's
> > >>> aligned to four bytes. A receiver will know how to handle it and
> > >>> deliver the UDP data to the application (e.g. by maintaining a pointer
> > >>> to the data).
> > >>>
> > >>> So that allows a format like:
> > >>>
> > >>> UDP header (Length=8) | Surplus area header | Options | Payload
> > >>>
> > >>> The surplus area header contains the header length and a checksum
> > >>> covering the surplus space (four bytes altogether). The three headers
> > >>> can thought of as an extended UDP header, so the format becomes:
> > >>>
> > >>> Extended UDP header | Payload
> > >>>
> > >>> Which looks a whole lot like any other protocol format with a variable
> > >>> length header such as TCP or IPv4.
> > >> A major downside to this approach is that is does not let you add
> > >> "optional to process" options such as MSS, Echo Request, and Echo
> > >> Response to UDP datagrams that are intended to be processed normally
> > >> by legacy receivers that do not understand UDP options or the extended
> > >> UDP header format. You can do that with the option trailer as
> > >> currently proposed.
> > Right, so this really re-designs UDP as a sublayer to another transport.
> > To me, this looks very like an encaps like DCCP-in-UDP or GRE-in-UDP,
> > etc. So this isn't an "option" it's an encapsulation.
> > > Mike,
> > >
> > > The converse is also true. We can't put options in a trailer that
> > > *must* be processed by the receiver (fragmentation, compression,
> > > security, etc.).
> > >
> > > Tom
> > Why this? I thought that if you make a request to negotiate to use say
> > enhanced integrity checking or some security option, then you can
> > require the option to be present at the receiver?
>
> Gorry,
>
> How does negotiation work with a transport protocol that is stateless?
> Negotiation implies state is maintained between two endpoints.
>
Also, if there is a negotiation then there communicating endpoint is
known to not be a legacy receiver so the extended header can be used.
Then if the packet is received by some other legacy node (e.g. because
of VIP, address corruption, peer rebooted and state is lost) the
packet is "dropped" (a zero length UDP datagram is received by the
peer).

Tom

> Tom
>
> > Am I misunderstanding something?
> >
> > Gorry
> > >> Mike Heard
> >