Re: [core] Responses to NON with 4.02

Achim Kraus <achimkraus@gmx.net> Wed, 17 February 2021 08:21 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 867C43A17E8 for <core@ietfa.amsl.com>; Wed, 17 Feb 2021 00:21:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 z6BD__ufEoh9 for <core@ietfa.amsl.com>; Wed, 17 Feb 2021 00:21:18 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD36F3A17E4 for <core@ietf.org>; Wed, 17 Feb 2021 00:21:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613550073; bh=SRRiaQYv0Jo4IXUB9wG2eMMbvibtPikhGr4Ny1ZnowA=; h=X-UI-Sender-Class:Subject:To:References:Cc:From:Date:In-Reply-To; b=ZY4G6bVBta7DzXNtlZok9sUEQIKr8dcU9OzzR+CBUux6VqWpUtYymkXSnFPiZcvxf 6iCh+jJOON0N2C7aSgQmXv2zKYc5h422ejZzG/0JO3W9henUd+UDeHXEwv6puXIpzF qXRly+UuiRm1PGGnu79b6ysDyTQIno/O/7CwVQPw=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.100] ([94.216.249.255]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MEFvj-1l2hh612wP-00AIro; Wed, 17 Feb 2021 09:21:13 +0100
To: =?UTF-8?Q?Christian_Ams=c3=bcss?= <christian@amsuess.com>
References: <YCwrPuU31Kecn9K7@hephaistos.amsuess.com>
Cc: Core WG mailing list <core@ietf.org>
From: Achim Kraus <achimkraus@gmx.net>
Message-ID: <97bbdcaa-a413-22b8-b06e-49d6ed97b235@gmx.net>
Date: Wed, 17 Feb 2021 09:21:12 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <YCwrPuU31Kecn9K7@hephaistos.amsuess.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: de-AT-frami
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:qgSAdYZsbdr37MngavzqollVk0MIzbjN0YyISB3QedIT/byaf2P DPHtadCZ5pWcpQFUQY2MbmgqG0wV7SxcUju0m8Uv/wUEBOW/50N7dqRaDdmrISDLMu5QI0Q N9leB0DW+wrzBCvpxCyulJ3kw/sYIJaXnkBHkr45p/pCC579WSR3aYRua1X0CNgEJcesM9Y Dx5TSgUiVXSIOTN5xz2vA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Qnyz6DoAh3M=:1BdjgKdmzW3czrXEkVUnu0 NY96G38RsNqFZrbjp/CqW+cgVuaMRIq5BAU9pCM/hp/fOqS3MXiDGHnDLSsXwt5dwn6g5W7Y/ s39s5H4CNz1cyiSyXv3DWi+IFmeKdaHYSRAb2v4/oGqs1V44zhizpufWGvjE/HjMwpRyH4fyp 1+3jqvaIfUqIPNIHOtsAth0nX0AI5uTQNoDnZ71ImYfMbQXSwbdeGXHz8NAsjespNIyGkxJS9 3p+/tZVKbfH7CKh5Pojr5MtgrbLiiCTH5e/9U0CBDdO2PsEauM7ERpkks/ZYH7U/ZN+/srtna QFyhVtjg7PJf88rLnlzW5Is31XKhypTaJvAum5pMHbGLrhX3U9b8AcuZneWlj6/noZJSrEbU7 6Nkim6FMI5I+6/YrljHvkCz8EXIDVDDSyDXb9PJ5DRqfPj+mM5DPDXj690UZSBIKH2EW8CRkM LSY7yiXHWTjKlOMYAZ3O9nfsIqspe2NHicjGC4V2p+fVvBVJPdEC7fwswLOB+SR0QfC6bDW5w o6AmFI6V5ejF1FDIBCJOwucJbNuawNzq5vKzPfZ/8XZJw4t55XivM5XWQ3VK6E/Pc90qidied 127sMVAIbw4vd6e1EvnTo7stXHIc2Vi9eky1IULg7CxVSSKZeTTnoRIwvYBYmkQ+ijX6AdwMa vxcq/AGobK7Y08GS9O45NnvQk16i3o8jFkmSBbbVusNgn5QiyQTLBmqL+RAvlWCY3c+WzvrkD WWxWyRlQObJpe4YtUNokEunlDO6bMU/y0ZZ2Cn43ntBrEmBWz1vpflUKglUZRkiQTERkNsnFb If+4spbBlnLiSUvBrBtneFRBt4nU68LM0mRN1JgoQgZcfS4V/kGVQmmX+MuOdJEshzyAZWgfZ oO07ocKFTcpfPr/oNa0Q==
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/6YElhypRFiP6p7uXeuCGTmhCpBk>
Subject: Re: [core] Responses to NON with 4.02
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, 17 Feb 2021 08:21:20 -0000

Hello Christian,

I think, this discussion from April 2020 is at least related to your
question.

https://mailarchive.ietf.org/arch/msg/core/wd4LleVnnvt2WOXj28ouNZcCTXU/

best regards
Achim Kraus

Am 16.02.21 um 21:29 schrieb Christian Amsüss:
> Hi,
>
> reviewing new-block told me something new about RFC7252, that is that a
> response to a NON request containing an unknown critical option MUST be
> either RST or complete silence (whereas in the CON case, 4.02 is the
> logical response).
>
> Why is that? A NON 4.02 response would be just the same size, give
> better information, and (to me, most importantly) would not require the
> additional case distinction between "it's a 4.02 because some option
> value doesn't make sense" and "it's a 4.02 because I don't know the
> particular option" at a very different place than were the options are
> understood.
>
> (Or worse yet: A NON may arrive at a proxy that forwards it over TCP or
> as a CON, and by the time the proxy gets the 4.02, it doesn't know
> either).
>
> And will anything go Really Bad if I ignore that MUST? (I currently do
> -- up to now for ignorance, going forward because my libraries all work
> under the fiction that the library is an intermediary, and thus may do
> all things an intermediary may do).
>
> BR
> c
>
>
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>