Re: [core] Responses to NON with 4.02

Achim Kraus <achimkraus@gmx.net> Wed, 17 February 2021 08:42 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 8E5E83A1812 for <core@ietfa.amsl.com>; Wed, 17 Feb 2021 00:42:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.8
X-Spam-Level:
X-Spam-Status: No, score=-2.8 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_DNSWL_LOW=-0.7, 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 2Wy0FYnYW7KL for <core@ietfa.amsl.com>; Wed, 17 Feb 2021 00:42:45 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 AABC43A1810 for <core@ietf.org>; Wed, 17 Feb 2021 00:42:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613551360; bh=FOLMQUwL1vjvGE+iXYGmIuxRj2aWiudb00cB6n/NlAo=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=QafsSk2d8N4353QyTkxbYf/K2/aRzfqx5XSWL7M72EsmYtUzlqIbPaQjABImYRmrp 5qy0VdGdWhY7WLpVETQ1MyVJ6wbk0OtrtFi91ObMkSDIoQyI5F+Xcku/SdKwgDqDUD ZFSrvKMpvKAFfTDf7ZfPB8J3Q65BS2W31wZUm/FA=
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 1MXp9i-1lM9HQ30dY-00Y8lE; Wed, 17 Feb 2021 09:42:40 +0100
To: =?UTF-8?Q?Christian_Ams=c3=bcss?= <christian@amsuess.com>
Cc: Core WG mailing list <core@ietf.org>
References: <YCwrPuU31Kecn9K7@hephaistos.amsuess.com> <97bbdcaa-a413-22b8-b06e-49d6ed97b235@gmx.net> <YCzTcL4Yxbem1+g2@hephaistos.amsuess.com>
From: Achim Kraus <achimkraus@gmx.net>
Message-ID: <856f5a32-2ebd-76e4-c5bc-9f7754a3cc9e@gmx.net>
Date: Wed, 17 Feb 2021 09:42:39 +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: <YCzTcL4Yxbem1+g2@hephaistos.amsuess.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:8Wgdke4ZqIG3DMK8N/I+8SUYAcvuR5Vf5XZ5zhII5iwXdnKd7u2 Xf0dyAjGK6eWqWVPZFQrEplpixxkADjH2YCx2pe21bjBeLOYkLqGlfX8V2zWTgYK4AW1D5Q gviLYI+y4lbg3agfqqmrr1WCJR9Dxbv6VIPBV0f7z3pkeFhtBhE5Vcc3rFCZsLkguDyvJxs t+3Verg9490Up6kQEhXEw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:sE8yF3kB7dI=:6MPobSwUKo3nnIISOhXJHM u61l/6i/Mn6IUAElS+gGi5hWYu6miJ4+IhR3gnp6etgOdhMbXofZqbVDGRv/iQJ21g34WexwK VT8H60IFgAcM9Eoqfx4HUGrIHQ9vwS2W6cU5OCnUzCnQE7lEwSAisQ6VA+n3H9wk2MCrU8AvV EExWzxkokvJrtT8Sz8L0ZTwPGz/2QAIMRso17ucid/DWB5QflVJ55Tj8zClGqdmIR8wycfe9o IDuNnT3PbZ0OGqeX+dmthEtDdkzZGhW444KBQeqWFD7XU5uDMT+htuKuvxlCDUMeXUKbpEc5V xw+aEzLwE4Tdr39mHl/k7AjYY2bEqEEq+FUWieRR3cy7N5AbgWQStmiK1lNIhATA3ZZxCG1Mn DZGTdEd7ubKEGx9UPDrSz9CkRBrjefgSFQTjGUgtf9IAhv2mgd7pg7L7+5KiJU1F3/DYmhGrR UvJzf0syK3EVg7UBbVyfbDUInj4XW7btgO/z1CDVlp+KYjsfuEE5v0Ig7IvM3rMahZtxU+XPn cOPWSEWMypSe60iWBy6/XnJkLLVyunyN+y/+7Y+Y3DhpxBsoP7qvHKJ2sIALMN4L9bHnggTwr XxdyYD0EpdSFE8eN61On+9oEJwip6bH1a9PfJRk5V0UqkIsZAJ4TY6716soDlvJ0V87kzKNe2 Hg3gHin1Y+41QvuZVN87S80RfLjDwXMdY7ouy7EWg2mDmTb42L7PCuZcQ+7IcJ6dgjPHJaE/M wsOV7NBXNG7uMbk3zUNPXnlrhSIkvYurxlMqPetibcbh7vNLv3JVxuXqGxxbhzbLFlSzvK1z6 RV8wNKohZ/rcea6u7dZ7rXxloD8i8ahW0oqGv7vH6C7cQDC6DXdeOzR+V8dVBMIt8UAEHfKDx RtSFZ5Qd32ZtjU0gM9wQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/BksemDYT3blcCj8S760G7YOxKKY>
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:42:47 -0000

Hi Christian,

 > what were the complaints you got about the behavior about?

(Hope, I understand that ...)

3 years ago, a colleague was working on the the option validation and
found, that this seems to be wired in the specification.

Last year the Eclipse/Californium project got a similar request about that,

https://github.com/eclipse/californium/issues/1288

and so I decided to ask the list about the intention behind that.

AFAIK, there is no real issue with that. Basically the main failure is
sending the "bad option", not the way, the other peer responds. So the
behavior seems to be more important for developing and debugging then
for real production. And during developing it should be not too hard, to
switch to CON to see, which error response your get back.

best regards
Achim Kraus

Am 17.02.21 um 09:27 schrieb Christian Amsüss:
> Hi Achim,
>
>> https://mailarchive.ietf.org/arch/msg/core/wd4LleVnnvt2WOXj28ouNZcCTXU/
>
> thanks, that's indeed essentially the same question, I just failed to
> find it.
>
> I concur with Klaus that it's weird and belongs to the request/response
> layer.
>
> Just to ensure I didn't miss anything too relevant in my (so far, to be
> continued) "I just pretent to be a proxy" excuse, what were the
> complaints you got about the behavior about? For whatever gets upset by
> your original implementation would probably also get upset by the
> presence of proxies.
>
> BR
> c
>