[core] RFC7252 - 5.4.1 Critical/Elective

Achim Kraus <achimkraus@gmx.net> Tue, 21 April 2020 16:53 UTC

Return-Path: <achimkraus@gmx.net>
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 E10913A0DE3 for <core@ietfa.amsl.com>; Tue, 21 Apr 2020 09:53:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 PlVUhJKdt9Q1 for <core@ietfa.amsl.com>; Tue, 21 Apr 2020 09:52:58 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3861A3A10A5 for <core@ietf.org>; Tue, 21 Apr 2020 09:49:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1587487727; bh=I9O8aMc+72zEPZ8b8rPEi0LtZJ/ZD53v1jYQa5utSh4=; h=X-UI-Sender-Class:To:From:Subject:Date; b=ayEdFR+4+8O+ZBvN8PFDGoWwn/Lumau0kvmq4NdRGBLNzbBm7D8JaeXzYzGp7pRRh aGrFU6d/lgpqt86bNCk5jiUsxTMS4nDvJUu3i25BC1pjsacScVuwPOOjSsELSSNXaR NRkZH2Pasb06BheYYUotbM5LAGKerDwjgXDe7UdQ=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.45] ([88.64.88.188]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1McH9i-1ioaW32jKG-00ckxx for <core@ietf.org>; Tue, 21 Apr 2020 18:48:47 +0200
To: "core@ietf.org" <core@ietf.org>
From: Achim Kraus <achimkraus@gmx.net>
Message-ID: <3a99db43-7231-a998-c0dd-41ec4fdc5f47@gmx.net>
Date: Tue, 21 Apr 2020 18:48:47 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:vQeobQtKAfbFyCvFxCuvVInkT8PTj4ZN/5E1DFLg9RsSaE9gSCL iFu2YF/BGtLoFCpw8TyEtpCcL6/QjGmde1lKtUcNnpkR+khcXep8wcGKuW3BJ3H2Q7uKyF6 aNg7207iK8Z941rwMufVTg/5kU1jKM1FNY+adKMMvc/dxqxh3XzVGGRp5N121cyFo4eGn50 MXpJSrHFGmA51ISPhbMGw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:qFlw4Rcg0eI=:lw48NjoSj+PAFISeftiWTO Sq6HoLJ9LBC4Cuxb8ka2RLkum/sErKnlIxf1WExy0mEz7hNFM0okJlLbkhys6u+yXGuhFzUmc xPP104qJIQwc/Gy6wSGqmVi+oY35ffoqydcMx1R6SEMWWFpTJIGzVdpoiwK2dbhH9nYbA67/e mS8ez4gRA81ohnW89HzXOj2ZGMYM/i1enHr3vm9o8AcDISvHpMJhEIk3yQQlkxT7XgPUlJcj5 yb4DvT2PF8v12c0g8uEFTNNN5KeUN13CbDbnyJXhBAx2l3ok650UVcI7YfWzV0uL2FzMtaCdD HRnxnB9rsiPi2vfGMukkfdCAurmdJBQjb8xiD2koHTCD42Tk6ol9YLT29pu6FQrAYyhVpuolV uR1/+JCt6WwxvDJs6QQD8cZymHoqTobX/Bj1M6E9/CIRhBM4ufuOzw3VVPXp18kVcvUmOZFhc DmPxtkWgkgQtIWH2xB9ODZ8k750wY/cL347mEoF6hmVQ+QulzrRFcPpSxJLm3Fqmf+xUmufQO HxMCtLY5sZlGvqFUAk7YrDTqcIMdIdAj6QCrjDPNjbB3cq5Zfg+ytKoLqPcSy7ODVkj3Bzu+Q Mlg8eYdWnPxCZhDspXY2bdljRLy5PMyLzGlyXK/2Kw0Z8W3fdBjO588QR4optWJGgo9R9WRfT GRNeISRaEe77XFAgJMNsaai/C+aEsp9she2Bn79sCOUdK3359F64CLdxAnE0+W+8JRDI/VMWU wDI6FREzBFWfhIzpAePCNSjCi/oaAfMniJYY6m6V7yq0DVBfIm9GRXca91ZTNmkUYzguE4VNu 2fZxgcCmE3/KOZIqniH8JSarHpZSp3FBh+ZpQTO29mJYOAEMaxW4QK/WK0hP15Ry97+O21jfq +INfL11wDs005f7gE11mmvQwc3RyHsW2sZdGr54oW4CXK5T5FwGaubX6FxopXfex9VLRZEq9e lblL6YdHr+ad9SoMinUNBzgSR7vbr9IrCOqE563dFxxk+BpoZRoljozd/Qp189SORsYop+lJV 4Kt50PDl9WdNHNPD5gZyYYBdKKNNVte6N7JEYZ72eR7XjBUxCalhR4/VVPqyP4hAURautFslT Qa/mK1VJg4C+L8E8FMYCC/a6XHiccaXzGZr4k2+FstPKU6/EYXpQqR4WJz5heogFXnKK5gyuh 2P19ygd21OZWFuqLFoermvz53ESuSqztzWu08yyiQMF8Iqoqtk8h3vgxiRg9aWt426o3SGwUE KSm5CGR7jvjNgC9G5
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/wd4LleVnnvt2WOXj28ouNZcCTXU>
Subject: [core] RFC7252 - 5.4.1 Critical/Elective
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: Tue, 21 Apr 2020 16:53:02 -0000

Hi list,

I have some detail questions about:

RFC7252 - 5.4.1 Critical/Elective

Point 3:

 > Unrecognized options of class "critical" that occur in a
 > Confirmable response, or piggybacked in an Acknowledgement, MUST
 > cause the response to be rejected (Section 4.2).

"or piggybacked" "MUST" "rejected"

I have my doubts about rejecting a ACK. Is that really intended?
In my opinion, that violates the usual message sequences.

Point 2 and 4:

 > Unrecognized options of class "critical" that occur in a
 > Confirmable request MUST cause the return of a 4.02 (Bad Option)
 > response. This response SHOULD include a diagnostic payload
 > describing the unrecognized option(s) (see Section 5.5.2).

 > Unrecognized options of class "critical" that occur in a Non-
 > confirmable message MUST cause the message to be rejected
 > (Section 4.3).

My interpretation:
Point 2 addresses CON requests
Point 4 NON messages

A NON request would therefore match point 4. But why should the outcome
(response 4.02 or rejected) depend on the message type CON/NON?
Was there a reason for that? Or is my interpretation wrong?

best regards
Achim