Re: [tsvwg] Regarding DTLS and UDP options

Gorry Fairhurst <gorry@erg.abdn.ac.uk> Tue, 18 April 2017 07:30 UTC

Return-Path: <gorry@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 8306013178B for <tsvwg@ietfa.amsl.com>; Tue, 18 Apr 2017 00:30:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001] 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 79HC6gQRk4Eo for <tsvwg@ietfa.amsl.com>; Tue, 18 Apr 2017 00:30:10 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [139.133.204.173]) by ietfa.amsl.com (Postfix) with ESMTP id 9FDF3131769 for <tsvwg@ietf.org>; Tue, 18 Apr 2017 00:30:10 -0700 (PDT)
Received: from Gs-MacBook-Pro.local (fgrpf.plus.com [212.159.18.54]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPA id E43291B01452; Tue, 18 Apr 2017 10:25:45 +0100 (BST)
Message-ID: <58F5C07C.4000707@erg.abdn.ac.uk>
Date: Tue, 18 Apr 2017 08:30:04 +0100
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Reply-To: gorry@erg.abdn.ac.uk
Organization: University of Aberdeen
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Tom Herbert <tom@herbertland.com>
CC: Joe Touch <touch@isi.edu>, tsvwg <tsvwg@ietf.org>
References: <CACL_3VFeJs7KzG9Bchh15bfZ3CmaOPWcfisEreNoGYK5CsEJ+g@mail.gmail.com> <3a4a6b78-8146-de4c-6246-7bd09de44f1c@isi.edu> <CACL_3VFkr3mGe-yTbvHrTZcKVCpEv3FeSOyoShUxCK5+9Tdqqg@mail.gmail.com> <c79fe3d0-8567-ea7d-72fc-bd33732df60e@isi.edu> <CACL_3VHmoCSo23OWqQFq7upw749CqMK7iazXrBKZARzwbzY5mw@mail.gmail.com> <f97f08d4-0070-437a-e22a-8782497c76eb@isi.edu> <4e36af95-84c3-bc7e-b18a-614f8bfab662@isi.edu> <58F48403.8080302@erg.abdn.ac.uk> <a0f656e8-e847-db54-6046-2078364d428b@isi.edu> <CALx6S36HYHdbGoJHNb+mVY6reu9RLikLxDJqrPgwO9tF1EfSgQ@mail.gmail.com> <8b1829ba-4e8d-5ee1-e24c-f42962f47dde@isi.edu> <CALx6S36=7KbTtv9QNUBTg6gPYQQighsPD_+mWNc=wUQTX70VBQ@mail.gmail.com> <8378ae17-c023-25a2-76e7-07b858916849@isi.edu> <CALx6S35chiqMtqKa+zahfZnLZrQzfYUF7D9m0QGbkwFVpRwHag@mail.gmail.com> <bfc36611-6817-fbf9-a9c7-5bdde179b665@isi.edu> <CALx6S34qAh0mXGi8nuRtTiorf_1TE4V0NQ1QhqCcW0hmxOgc-Q@mail.gmail.com>
In-Reply-To: <CALx6S34qAh0mXGi8nuRtTiorf_1TE4V0NQ1QhqCcW0hmxOgc-Q@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/oU6BslJW2l_xKk7kbAVTPWsbuys>
Subject: Re: [tsvwg] Regarding DTLS and UDP options
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.22
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, 18 Apr 2017 07:30:13 -0000

On 17/04/2017, 23:31, Tom Herbert wrote:

Joe: How and why should these be different?
>
Tom:

> TCP options are pretty much required for operation of the TCP
> protocol, this is why they will never be ossified and why it's one of
> the few methods of protocol extensibility that is viable on the
> Internet. IP options on the other hand were never required for IP to
> operate hence they were quickly ossified. In this context, UDP options
> are more like IP options since they are not required for use with UDP.
> So there is a possibility that some vendors (e.g. a firewall) may just
> decide that to start dropping packets or throwing packets that might
> have them into a slow path similar to IP options. If something like
> this is not consistently supported in the Internet, then applications
> are unlikely to use it. I wish this wasn't reality and that the end to
> end model was actually adhered to, but when writing Internet
> applications we have to stick with what is known to work... ie. plain
> TCP/IP or UDP/IP (where support for the latter is still a little shaky
> since some network operators refer to think of UDP as nothing more
> than a DOS vector).
>
> Tom
>
I have opinions on this para, in that I think options in TCP can be 
selected by the TCP stack, they do not explicitly need to be turned on 
or off by applications. A simple example: Timestamp or MSS. If we had 
similar options for UDP, this could also be automated by the stack 
(e.g., MSS to know the maximum receive datagram size). I have ideas of a 
number of such things that could be automatable, and plan to try these 
as soon as we have a stack that supports this.

Sure, options may not be supported by specific paths - although I 
suspect that enough paths already do support to make it worth trying in 
many cases. The UDP (plus options) transport stack can then include 
mechanisms to decide how to handle loss of options, just as TCP stacks 
do this today. Applications do not need to be involved - perhaps other 
than to "enable" the sender stack to do the correct thing.

Gorry