Re: [TLS] DTLS 1.3

Ilari Liusvaara <ilariliusvaara@welho.com> Mon, 04 July 2016 20:51 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02D8B12D124 for <tls@ietfa.amsl.com>; Mon, 4 Jul 2016 13:51:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.82
X-Spam-Level:
X-Spam-Status: No, score=-1.82 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.426, SUBJ_ALL_CAPS=1.506] autolearn=no 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 AQQO93F8uzmn for <tls@ietfa.amsl.com>; Mon, 4 Jul 2016 13:51:17 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id A2A3712D11A for <tls@ietf.org>; Mon, 4 Jul 2016 13:51:17 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id F3E578029 for <tls@ietf.org>; Mon, 4 Jul 2016 23:51:16 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id rFZGROe-nj4h for <tls@ietf.org>; Mon, 4 Jul 2016 23:51:16 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 8BC3C2316 for <tls@ietf.org>; Mon, 4 Jul 2016 23:51:16 +0300 (EEST)
Date: Mon, 04 Jul 2016 23:51:14 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: tls@ietf.org
Message-ID: <20160704205114.GB4837@LK-Perkele-V2.elisa-laajakaista.fi>
References: <577A38A2.2090209@gmx.net> <17444145.2646138.1467662059329.JavaMail.zimbra@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <17444145.2646138.1467662059329.JavaMail.zimbra@redhat.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/-bWTrRf0AHQA2qaYhfazjw5gZV8>
Subject: Re: [TLS] DTLS 1.3
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Jul 2016 20:51:19 -0000

On Mon, Jul 04, 2016 at 03:54:19PM -0400, Nikos Mavrogiannopoulos wrote:
> ----- Original Message -----
> > Hi all,
> > 
> > I have made an attempt to integrate DTLS 1.3 into the TLS 1.3 document
> > and you can find the result at https://github.com/tlswg/tls13-spec/pull/512
> > 
> > I have worked on a prototype implementation of DTLS 1.3 and if someone
> > else has something working by the time of the Hackathon in Berlin please
> > let me know.
> 
> May I recommend a more radical approach for DTLS? My experience with servers
> handling DTLS traffic from various clients is that the clients change IPs (while
> roaming) and incoming ports (due to firewall state timeout), making impossible
> for the server to map the encrypted incoming packets from unknown IP/port combinations
> to any particular handler (i.e., handling process/thread or logical handler). That
> is because an independently received DTLS record packet has no session identifying
> information.

I think in DTLS 1.2, that was meant to be handled at lower layer (of course, often
there isn't such layer even when needed).
 
> For that I'd like to propose the DTLS record format to include at least a
> 3-byte identifier which will allow servers to recognize streams coming from unknown
> sources. That would be similar to the SPI field in the ESP packets. That is,
> a format similar to:

One can't change the headers in ClientHello/ServerHello and expect to remain
backwards compatible.

And how would that identifier be assigned? 0 in ClientHello, then copy whatever
the server sends?


-Ilari