Re: [core] RFC 7252 - 8.2 - Multicast - Request / Response Layer, page 67, top

Achim Kraus <achimkraus@gmx.net> Wed, 01 April 2020 20:28 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 11E263A07BF for <core@ietfa.amsl.com>; Wed, 1 Apr 2020 13:28:08 -0700 (PDT)
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, RCVD_IN_MSPIKE_H2=-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 DL1wgb7HMRXX for <core@ietfa.amsl.com>; Wed, 1 Apr 2020 13:28:05 -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 36A413A07CB for <core@ietf.org>; Wed, 1 Apr 2020 13:28:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1585772882; bh=KmrpQijEwdiJgWZX4NUrFTRaoRdpmQ8+0wLvun4p+hM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=SH1jCNNAch16mVa3qZRBd1H9iUcc/tAnwyR65osyLy35vlp5a84CrL/bf0QiLkBim Tsx/yKM/baTGcIT1Uh5oagQEpnejkIc1DWWgj4gUbfc9SbzSxEoYpzl8lNDjVfw0GE yB6xacGXNSfpPuSd7E2H+D4hmnJ8EcaLtc1xfYl8=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.45] ([178.2.215.6]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MK3Rs-1jcuyt3APm-00LWRD; Wed, 01 Apr 2020 22:28:01 +0200
To: Thomas Fossati <tho.ietf@gmail.com>, Klaus Hartke <hartke@projectcool.de>
Cc: "core@ietf.org" <core@ietf.org>
References: <580bb0f4-89c4-2d11-b17b-520ddfe89c33@gmx.net> <000501d60452$c96cfa00$5c46ee00$@augustcellars.com> <1e74313a-d258-622f-d43e-ff1fa8f7d06d@gmx.net> <AM5P190MB027536259A44102F7AB9E058FDC80@AM5P190MB0275.EURP190.PROD.OUTLOOK.COM> <CAAzbHvbeEyws+wVchovoVTK=WutWoHCNcfv8LrpxmshLxJ_w+Q@mail.gmail.com> <011301d6077c$b5d347b0$2179d710$@augustcellars.com> <AM5P190MB0275218BA7C801E50C8353F0FDC90@AM5P190MB0275.EURP190.PROD.OUTLOOK.COM> <CAObGJnOscTtyeQ+qvD0N0w_TD2JfV8h9+=zf=bz-jrr7LWhD2Q@mail.gmail.com> <CAAzbHvaJy9WfMOzzKhczreuZBcbA5TDQ5ThtGMT7eVj2Jf83gQ@mail.gmail.com> <CAObGJnOcP_FxNuORqAvpBE-P+nRdPjxcXVdb-VTN5in5obanmw@mail.gmail.com>
From: Achim Kraus <achimkraus@gmx.net>
Message-ID: <02ec5628-3f7d-ff5d-620c-c0a90a4b89b0@gmx.net>
Date: Wed, 01 Apr 2020 22:28:01 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <CAObGJnOcP_FxNuORqAvpBE-P+nRdPjxcXVdb-VTN5in5obanmw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:eBdRj2IIgGaNQFniRAWB8ZKWmULhdA+U6IRhMFB/uMdO+fx9tb4 nQmzIVxgD+BqxUfUCtNuelUyvgZ5qOggEPd/0z7MjAk+XhgvyCtzOcIpPpaEklOCtmuNMPu CbxBFs6EXDTUtZYglnftnnx1VLIftITnppO47y9QrE0JeXv2F9cmPCbRYFdTj3+KeXhrbGR pDIO7Oljks/rG5f6XLo3g==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Jx3/3S54B6g=:+bK2GISlKEuaPl8Pj+B6ZT o2dj3rBprvVjtSgcLa6kUZVJtBm8MKqekCiIiDzRT3TpP3Trwqen/vC1upcqtRB74qfraHwtl XmueHjsej2pepbvKa9/VSx0dd8+3XPoRK2nYOrU3/wjRJT+l5msP6pZGK9LPeXi2nLzJYbHe9 ZySfx4VY4JkWJiJwg0vrYV8M6iMUqmwzjn7kzLUGDmlh2t7cVqFZHe3CrH1CWEpOTwYnBL3MA 0GiA3qrhRQpbRQm8v6VWrLrCBseEvxBm6MZR8tVxqeQK3rpSv6WlPpCGtjVFyvKJBzxWLeAfr hf1yNYQIeOBoKmfxKUAi9QSyNBGXJJpMheIn4dsdZ4gqpnL/b0TiEa0NXxTzty4qDI4IUUlnk w5TZZ/k+poSoG7UVq9Ukpz2VtQB2smuEbiyRcJlwXRMO0Eo0Kp1jbAjcM0atvzQ/Yek8HEaA0 PkvNpBnAOsz1HlS7nI8MNj/SYo3P1t6jcvpALMgLbCel3uYFZko3tbUiRcrjC/VqjNshx4eTI 9c2iVuRtUAWGPy4AMRqiw/1COUNSz9LkmxYNcOTfMrhh/jvFuv/pKrjNtyUQFBKRGhmyQ/hH7 WG+tp3Qq/IGnx0XeyOIYC/aae084kLLGOAKPDrQMq5I5IsiKtYsn9IS4Q0T4V4paqIzjd2Ln+ zW6eLZZ4RJWTUekkZaSKg73y9/Yd+QW3D32TjGcuWPRpPcS4MPhoH0DzkZQOr0rPhAtPvygG4 2uAaMeK6Y3KbSGlraS5SH8yEneLcnAEjgsgnFDP7DUCRhvrQaH0Ah8uN2Z+OEyOirExOePZnZ 7IkZ/hVCFPJIPLHWEvM5KKMhh9ih3K7NPI3FBBlt6Yct/xpy2JUsDBfpz8aHeMCedyPXi7THg AVZ91wDN7wDPlMkbXb2AaASY7A/NtUgrldVEyJgjH0FHhBdGEzTC7HlQaIwTnCysFkLePPWNM l4q/WbppDHZ+FKN1cfBwTDjViUztSr+1YXwfg+8ukDp0Wrwn2y61UTuwEInKRwAxHlqTtSgU4 tlCrGYI9vFBPNaV5WGEEp1tohMJfJD0LOpDdYaYPbTGbneRVIw05nh4iaWRxaa1LPGT2WaYn9 IqXVdT3uTe40FbpWSaEU3gpSh4shjD0584SWrL9wd1bPB2nvmyMDFpK42aFmKlUKLj7pGJEck n2e1vB/8AxqNzQYv2h/nJQabp85iuwmlXIbyrC95jySDE8xqwUv/jraTI9v7ebdyYa5RYMneE Bwk2sybpsmZUgHBWC
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/73SvJBUW921naotQJZKcB87NRiU>
Subject: Re: [core] RFC 7252 - 8.2 - Multicast - Request / Response Layer, page 67, top
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, 01 Apr 2020 20:28:08 -0000

Hi,

>> +---------------+                +-----------------+
>> |               |    request    _|_                |
>> |               |        .---> /   \   224.0.1.187 |
>> |              _|_      /      \___/ --.   :9999   |
>> | 192.168.0.1 /   \ ---´         |      \          |
>> |   :54321    \___/ <---.       _|_     /  rewrite |
>> |               |        \     /   \ <-´           |
>> |               |         `--- \___/ 192.168.0.100 |
>> |               |    response    |         :5683   |
>> +---------------+                +-----------------+
>>        Client                           Server

Nice diagram.

> Not sure why you would also want to rewrite the transport endpoint?

I tried to follow the discussion.
The idea to change the port as well enables java (and I guess some more)
to differentiate between multicast and unicast requests. Jim also
mentioned, that it enables the use of multiple servers on the same host.
I have not enough experience with multicast in different environments to
see, if that may cause more trouble (e.g. firewall etc.). I would guess,
that some  implementations will just offer that variant, at least as
configurable option (I would try do so for Californium).
So my favorite for now is just implement it and see, what the user's
feedback will be.

If that idea gets declined (may be by negative feedback of users), I
still think, that there is a demand for other means to distinguish
between multicast and unicast requests. Maybe, either the usage of the
uri-host option or a new option will help.

This maybe considered as "too pragmatically", but on the other side I
also don't see the "great benefit" in insist not to change the port.

best regards
Achim