Re: [core] draft-ietf-core-coap-tcp-tls

Jim Schaad <ietf@augustcellars.com> Fri, 19 May 2017 17:22 UTC

Return-Path: <ietf@augustcellars.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 930D712957B; Fri, 19 May 2017 10:22:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.698
X-Spam-Level:
X-Spam-Status: No, score=0.698 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=augustcellars.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 7OeYQRpCdSUD; Fri, 19 May 2017 10:22:40 -0700 (PDT)
Received: from mail4.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 02BD912957A; Fri, 19 May 2017 10:22:40 -0700 (PDT)
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-us
DKIM-Signature: v=1; a=rsa-sha256; d=augustcellars.com; s=winery; c=simple/simple; t=1495214551; h=from:subject:to:date:message-id; bh=s2cD+PVEraD+ogZFososdr8Q7FAuBIsTTklaUhBy9F4=; b=YXThb9oWBn7xt6mUHq4IFbTzxi7zauAbjvwDWhv7cWblUX+ds3BFfIDBZbEoz06CM70S6VipVjI VVjulVtZUeNzM8iMHvEFHaIdmZXrz9FVf5OU986/I2nXmvPmK+RNJYKfAesQmc1rGyK+xGYPO+NPp cXobkrld3+0ueDWd/pzBAclgIYLkOAfEu78Gs3u5pDvl4TWwkIIglgokmPNemo0vex1JgBRkvicnc jod6YpbjViPOz3tbrXBOHhuFDs5E10z90WNrnd84D0CwrFmsVqbG+deaHjsQwM7ifmEssQI9nrayy DaFJmLz/c5tC7GWkz0jWqBZPV4acdCr8paWw==
Received: from mail2.augustcellars.com (192.168.1.201) by mail4.augustcellars.com (192.168.1.153) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Fri, 19 May 2017 10:22:31 -0700
Received: from Hebrews (192.168.1.157) by mail2.augustcellars.com (192.168.1.201) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Fri, 19 May 2017 10:22:28 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Carsten Bormann' <cabo@tzi.org>
CC: draft-ietf-core-coap-tcp-tls@ietf.org, core@ietf.org
References: <018101d2cfee$9e07e7d0$da17b770$@augustcellars.com> <A2CF5F4F-43BB-433A-8E86-7E0CE2DBFFD9@tzi.org>
In-Reply-To: <A2CF5F4F-43BB-433A-8E86-7E0CE2DBFFD9@tzi.org>
Date: Fri, 19 May 2017 10:11:33 -0700
Message-ID: <022001d2d0c2$fac87640$f05962c0$@augustcellars.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQKoOlOZ8gelY6FJ07PskkuhAXozQQGok5KyoEJ9s+A=
X-Originating-IP: [192.168.1.157]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/1VzASWBG_hkSsHb4s3BoxbXyP_Q>
Subject: Re: [core] draft-ietf-core-coap-tcp-tls
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 17:22:42 -0000

I was looking for something stronger - such as the language from the CoAP draft

The following rules are added for matching a response to a request:
   The DTLS session MUST be the same, and the epoch MUST be the same.

I could not find the language as I was searching for similar language dealing with matching.   The language is adequate, but something that matches the other draft would still have been my preference.   

Jim


-----Original Message-----
From: Carsten Bormann [mailto:cabo@tzi.org] 
Sent: Thursday, May 18, 2017 9:35 AM
To: Jim Schaad <ietf@augustcellars.com>
Cc: draft-ietf-core-coap-tcp-tls@ietf.org; core@ietf.org
Subject: Re: [core] draft-ietf-core-coap-tcp-tls

On May 18, 2017, at 17:51, Jim Schaad <ietf@augustcellars.com> wrote:
> 
> This document is missing any statements about making sure that the 
> same session (TLS, TCP, WebSockets,...) is used when matching requests 
> and replys.  While this may seem to be obvious, the statement does 
> exist for DTLS and thus should be echoed here.

Hi Jim,

3.3 (for the TCP and TLS/TCP cases) says:

   Responses MUST be returned over the same connection as
   the originating request.  

and goes on:

   Concurrent requests are differentiated by
   their Token, which is scoped locally to the connection.


4.3 (for the WebSockets cases) redundantly(*) says:

   Responses MUST be returned over the same
   connection as the originating request.

and also goes on:

   Concurrent requests are
   differentiated by their Token, which is scoped locally to the
   connection.

Is there more we need to say?

Grüße, Carsten


(*) Para 1 of Section 4 says "this section only specifies the differences between the
   transports.”.  But I think it does not hurt to state this important point again.