Re: [Tsv-art] [Last-Call] [lp-wan] Tsvart last call review of draft-ietf-lpwan-coap-static-context-hc-12

dominique.barthel@orange.com Wed, 18 March 2020 00:15 UTC

Return-Path: <dominique.barthel@orange.com>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FAE53A0C6C; Tue, 17 Mar 2020 17:15:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=orange.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 U0JDlWKuSEFi; Tue, 17 Mar 2020 17:15:51 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.66.41]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DEDA93A0C50; Tue, 17 Mar 2020 17:15:50 -0700 (PDT)
Received: from opfedar05.francetelecom.fr (unknown [xx.xx.xx.7]) by opfedar27.francetelecom.fr (ESMTP service) with ESMTP id 48hrD50W3Wz2xvl; Wed, 18 Mar 2020 01:15:49 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1584490549; bh=yVX0P7A2Dt0COisHoLet/E/vVlTVPst+6XmEKSvIZjI=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=BXBe8r9CqkAzy4+EtAt52PYS9VwPcslJ2hTNVcDgqaNKM9yAY0914nisPrLhRsDdQ PDNZ8nJ9s2HKroj6ma1qN7iCXmxZr6m8vyTK4GbHxGP+Tz+/nXpqUu9SDHqIcEbJqn wlzxVpFnT68FDxGiz0r14NYq7b0YlqB0G5KHYL36wG4ILBXkLiYTXFpmc4sBstxD+G NXAj0PCwo9UN6aGBJHBt0onp6xyFJ9q0ylcUV+CP349OZG2KGgl90Sy6Ft5oHV7O9c biZ8q8f66872tki8IJQaFr+3FYBy5vsF5PWVtWMW9VcjpoMjuL8B4NLz9kzCSYExRp nPBZpriAV7qHQ==
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.35]) by opfedar05.francetelecom.fr (ESMTP service) with ESMTP id 48hrCt6ZKpz2xCS; Wed, 18 Mar 2020 01:15:38 +0100 (CET)
From: dominique.barthel@orange.com
To: Joseph Touch <touch@strayalpha.com>, Benjamin Kaduk <kaduk@mit.edu>
CC: "tsv-art@ietf.org" <tsv-art@ietf.org>, The IESG <iesg@ietf.org>, "lp-wan@ietf.org" <lp-wan@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-lpwan-coap-static-context-hc.all@ietf.org" <draft-ietf-lpwan-coap-static-context-hc.all@ietf.org>, "draft-ietf-lpwan-ipv6-static-context-hc@ietf.org" <draft-ietf-lpwan-ipv6-static-context-hc@ietf.org>
Thread-Topic: [Last-Call] [lp-wan] Tsvart last call review of draft-ietf-lpwan-coap-static-context-hc-12
Thread-Index: AQHV/LpZHENU4N5wiUa3yli2FIiqSw==
Date: Wed, 18 Mar 2020 00:15:37 +0000
Message-ID: <11291_1584490548_5E71682A_11291_107_1_DA971C41.72114%dominique.barthel@orange.com>
References: <158152010913.17982.18347318138768196852@ietfa.amsl.com> <340_1584143298_5E6C1BC2_340_169_1_DA91D669.71EAC%dominique.barthel@orange.com> <20200317211335.GR50174@kduck.mit.edu> <734BA902-C1EB-496C-8219-BB4E9A722029@strayalpha.com>
In-Reply-To: <734BA902-C1EB-496C-8219-BB4E9A722029@strayalpha.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.3.170325
x-originating-ip: [10.114.13.247]
Content-Type: multipart/alternative; boundary="_000_DA971C4172114dominiquebarthelorangecom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/_aB8kAKDceKDjgl2cNY-qxq6oQA>
Subject: Re: [Tsv-art] [Last-Call] [lp-wan] Tsvart last call review of draft-ietf-lpwan-coap-static-context-hc-12
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Mar 2020 00:16:17 -0000

Hello Joe,

See my responses to your points, inlined.

In addition, one comment:
This draft describes the generic SCHC mechanism.
Section 10 describes how SCHC can be applied to compress UDP/IPv6 headers in their simplest form.
Please note Section 10.8 that says "This document does not provide recommendations on how to compress IPv6 extension headers".
I could easily add a Section 10.12 to say "This document only describes how to compress UDP headers without options".
Would that work?

Dominique

De : Joseph Touch <touch@strayalpha.com<mailto:touch@strayalpha.com>>
Date : Tuesday 17 March 2020 23:06
À : Benjamin Kaduk <kaduk@mit.edu<mailto:kaduk@mit.edu>>
Cc : Dominique Barthel <dominique.barthel@orange.com<mailto:dominique.barthel@orange.com>>, "tsv-art@ietf.org<mailto:tsv-art@ietf.org>" <tsv-art@ietf.org<mailto:tsv-art@ietf.org>>, The IESG <iesg@ietf.org<mailto:iesg@ietf.org>>, "lp-wan@ietf.org<mailto:lp-wan@ietf.org>" <lp-wan@ietf.org<mailto:lp-wan@ietf.org>>, "last-call@ietf.org<mailto:last-call@ietf.org>" <last-call@ietf.org<mailto:last-call@ietf.org>>, "draft-ietf-lpwan-coap-static-context-hc.all@ietf.org<mailto:draft-ietf-lpwan-coap-static-context-hc.all@ietf.org>" <draft-ietf-lpwan-coap-static-context-hc.all@ietf.org<mailto:draft-ietf-lpwan-coap-static-context-hc.all@ietf.org>>, "draft-ietf-lpwan-ipv6-static-context-hc@ietf.org<mailto:draft-ietf-lpwan-ipv6-static-context-hc@ietf.org>" <draft-ietf-lpwan-ipv6-static-context-hc@ietf.org<mailto:draft-ietf-lpwan-ipv6-static-context-hc@ietf.org>>
Objet : Re: [Last-Call] [lp-wan] Tsvart last call review of draft-ietf-lpwan-coap-static-context-hc-12

> My concern is Section 7.5.8.  How can both the IP and UDP lengths both be computed unless both depend directly on the link packet size?
[DB] they obviously can if the UDP packet at hand has no options (that's the "directly" part of your question). If the UDP header includes TLVs, things get trickier. Read next.

> AFAICT, With UDP options, the UDP length cannot be computed that way. The default rules need to take that into account.
[DB] In the example I showed in my other mail, I dealt with the UDP Length by sending the length in extenso over the wire. This example was meant to show that there is a way to handle UDP headers that include options.
There might be better ways, which compress better than this one, but at least I showed a correct one.

> I.e., you don’t need the UDP option TLVs if you don’t compress that area, but compression definitely needs to restore the UDP length as distinct from and unrelated to the IP length.
[DB] Yes, and I showed a way of achieving this.
[DB] Teaser:  Depending on the options present in the UDP header, a Rule night be able to do better than just sending the UDP length over the wire (or simple variations like sending a few least significant bits of the length, etc).
For example, if a UDP header only contains TLV-type of options, a CDA could rebuild the UDP length using the length of the options themselves and IPv6.Length.
Whether the compression gain is worth the code complexity remains to be seen, but the generic SCHC mechanism does not prevent one from doing that.
This is left for the "a-better-SCHC-compression-of-UDP-with-options" draft.

Joe

On Mar 17, 2020, at 2:13 PM, Benjamin Kaduk <kaduk@mit.edu<mailto:kaduk@mit.edu>> wrote:

In conclusion, the SCHC compression mechanism, if properly implemented, is
fully compatible with draft-tsvwg-udp-options.

This "if properly implemented" seems pretty critical.  Do we need to leave
a reminder that implementations have to know about UDP TLVs in order to
properly identify all fields in the headers to be compressed?

-Ben


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.