Re: [core] WG Last Call on draft-ietf-core-new-block (No-Response)

mohamed.boucadair@orange.com Wed, 23 December 2020 08:51 UTC

Return-Path: <mohamed.boucadair@orange.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 66EBF3A0C61; Wed, 23 Dec 2020 00:51:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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 SMNMV631ef8p; Wed, 23 Dec 2020 00:51:21 -0800 (PST)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.66.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 85DB93A0C36; Wed, 23 Dec 2020 00:51:21 -0800 (PST)
Received: from opfedar04.francetelecom.fr (unknown [xx.xx.xx.6]) by opfedar24.francetelecom.fr (ESMTP service) with ESMTP id 4D16Pg5ZKTz5w9H; Wed, 23 Dec 2020 09:51:19 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1608713479; bh=dxepGVK25I2mTqu2Xp7n43EmMd7hCeniXY/xAB3g4Gg=; h=From:To:Subject:Date:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version; b=tDCpMrqJiqxKw61lgoq4p0F6gw2fk9e9gdghGCa0pnszmvoN1pbATAx1Cynv/9Y7D SIoennn1h2XV1SyeNKCCd1btfRFp38TyCtdFOOzME2rsMJk2xb7S1appbDaPEMfDRX W0Z1sYsFM8Tzy4UG+Qa2k4ZHI+DhcCh97rT7Bv+jZuVyAp95RM+tmP6Tp7kimVdgaO cw0/WQsLq6nfXVpgrZgagXLRW73Xwroo/QvtihATUcqxFFjNVZeHwePwEH3du7B/mw WabCirMeSHABeGjUEw7Vis+GkmyvSKR8eO03LqnJsYU9zSIbAFoez1m+MP2+PxB6A7 k5+IbL8+aDZ1w==
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.73]) by opfedar04.francetelecom.fr (ESMTP service) with ESMTP id 4D16Pg4RFPz1xp5; Wed, 23 Dec 2020 09:51:19 +0100 (CET)
From: mohamed.boucadair@orange.com
To: Christian Amsüss <christian@amsuess.com>, "draft-ietf-core-new-block@ietf.org" <draft-ietf-core-new-block@ietf.org>
CC: "core@ietf.org WG (core@ietf.org)" <core@ietf.org>, "dots@ietf.org" <dots@ietf.org>
Thread-Topic: [core] WG Last Call on draft-ietf-core-new-block (No-Response)
Thread-Index: AdbZCMK38XVdj8FBRcWoH++pQBizgQ==
Date: Wed, 23 Dec 2020 08:51:19 +0000
Message-ID: <18741_1608713479_5FE30507_18741_81_1_787AE7BB302AE849A7480A190F8B9330315A177C@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.114.13.245]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Jq2NRyL_vyMKPqh6rIJvJjIvqLI>
Subject: Re: [core] WG Last Call on draft-ietf-core-new-block (No-Response)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 23 Dec 2020 08:51:24 -0000

Hi Christian, 

Thank you for the review. 

Will focus on your first comment in this reply to ease tracking issues. 

The text we have in the draft does not preclude No-Response (or any solution that will be endorsed by the WG in the future): 

      Note: A delay of ACK_TIMEOUT after every transmission of
      MAX_PAYLOADS blocks may be observed even if the peer agent is able
      to handle more blocks without experiencing an overload.  This
      delay can be reduced by using CON for the MAX_PAYLOADS packet to
      trigger sending the next set of data when the ACK is received.
      Nevertheless, this behavior is likely to create other timeout
      issues in a lossy environment (e.g., unidirectional loss as in
      DDoS pipe flooding).  The use of NON is thus superior but requires
      an additional signal in the MAX_PAYLOADS packet to seek for a 2.31
      (Continue) from the peer if it is ready to receive the next set of
      blocks.

If both endpoints support No-Response, they can use it as a "signal in the MAX_PAYLOADS" to trigger a 2.31 mentioned in the last sentence. 

As we don't recommend No-Response (for reasons echoed in your message), it is not worth to include much more details on how No-Response can be used.  

Thank you. 

Cheers,
Med

> -----Message d'origine-----
> De : Christian Amsüss [mailto:christian@amsuess.com]
> Envoyé : mercredi 23 décembre 2020 06:01
> À : draft-ietf-core-new-block@ietf.org
> Cc : core@ietf.org WG (core@ietf.org) <core@ietf.org>; dots@ietf.org
> Objet : Re: [core] WG Last Call on draft-ietf-core-new-block
> 
> Hello new-block authors, hello CoRE,
> 
> I've finally managed to have another look at the document (and it's
> still the 22nd *somewhere*...).
> 
> My over-all summary is that while this document has matured quite a
> bit (and turned out better than I had expected for the special-
> purpose blocks it is), I think that the topic of response
> suppression and congestion control sections still have to be
> sharpened, and the examples could pick a more realistic balance
> between going all-NON and all-CON (or explain why that's something
> that wouldn't be done even though the text reads like that's what's
> expected to be used but maybe it's just me).
> 
> 
> Except for the first item (which is coming back to the notes for the
> WGLC), all should be more or less sequential in the document (with
> forward/back references as needed).
> 
> * On the downref to No-Response: I don't see the downref as too big
> an
>   issue. It's a bit odd that that document didn't go through the
> CoRE
>   WG, but my impression is that it's widely used (on a "when the
> library
>   I maintain broke it people filed issues" level), and both OSCORE
> and
>   groupcomm-bis (which is to replace RFC7390) reference it. It's an
>   informative reference because they don't mechanically depend on
> it,
>   but it shows how well No-Response has been taken up.
> 
>   (Frankly, I'd support a retroactive adoption. I don't suppose we
> can
>   do that with "adults"?).
> 
>   From how I understand Q-Block to be intended to work, No-Response
> does
>   not cover all of the behavior (as it's timeout based); still, that
>   document lays good groundwork for what's done here in a rather
> precise
>   way (see comment on "For Confirmable transmission, the server MUST
>   continue" later on) where this document needs the examples to be
> fully
>   understood.
> 
>   Based on the later text on MAX_TRANSMIT_SPAN, why not at least
>   acknowledge the equivalence? Maybe like this:
> 
>   > The behavior of endpoints following this draft can equivalently
> b
>   > described in terms of the No-Response option {{?RFC7967}}:
>   >
>   > For a message with a Q-Block1 option with M=1 that is followed
> by
>   > another message on the same Request-Tag within MAX_TRANSMIT_SPAN
> [
>   > or MAX_BLOCK_JITTER, see later ], the default value for No-
> Response
>   > is 8 (suppressing the 4.xx code that would be returned due to
> the
>   > incomplete request); an explicitly set No-Response option would
>   > override that."
> 
>   although I'd still advocate just using No-Response for the whole
>   definition even if No-Response is not typically expressed.
> 
>   (I'm not really sure what the correct response would be for an
>   individual non-terminal request if it were to be answered due to
> an
>   explicit No-Response:0 -- might be 2.31 Continue that's just not
>   used in this specification because it's always suppressed? I'll
> come
>   back to that -- but then it'd rather be No-Response: 10).
> 


_________________________________________________________________________________________________________________________

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.