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

Jim Schaad <ietf@augustcellars.com> Fri, 27 March 2020 16:17 UTC

Return-Path: <ietf@augustcellars.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 BD20F3A0EEF for <core@ietfa.amsl.com>; Fri, 27 Mar 2020 09:17:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 mkcRti8_EKXp for <core@ietfa.amsl.com>; Fri, 27 Mar 2020 09:16:52 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 364B93A1126 for <core@ietf.org>; Fri, 27 Mar 2020 09:15:01 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Mar 2020 09:14:25 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Achim Kraus' <achimkraus@gmx.net>, core@ietf.org
References: <580bb0f4-89c4-2d11-b17b-520ddfe89c33@gmx.net>
In-Reply-To: <580bb0f4-89c4-2d11-b17b-520ddfe89c33@gmx.net>
Date: Fri, 27 Mar 2020 09:14:23 -0700
Message-ID: <000501d60452$c96cfa00$5c46ee00$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQIXVeiVC1e4HIxpxUNqDgp/ppWwx6fZ+Gkg
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/59w49WL5SoTmoFnVjnvhlDOC9DY>
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: Fri, 27 Mar 2020 16:17:04 -0000


-----Original Message-----
From: core <core-bounces@ietf.org> On Behalf Of Achim Kraus
Sent: Thursday, March 26, 2020 11:39 PM
To: core@ietf.org
Subject: [core] RFC 7252 - 8.2 - Multicast - Request / Response Layer, page
67, top

Hi list,

RFC 7252 - 8.2 - Multicast - Request / Response Layer, page 67, top

"When matching a response to a multicast request, only the token MUST match;
the source endpoint of the response does not need to (and will
not) be the same as the destination endpoint of the original request."

(4.1. Messages and Endpoint, "With no security, the endpoint is solely
identified by an IP address and a UDP port number")

Though it is obvious, that the IP address part is changing (from multicast
destination to a unicast source), I 'm not sure, why the port should be
considered to change as well.


example:
192.168.1.50:15683 -> 224.0.1.187:5683   (multicast request)

192.168.1.50:15683 <- 192.168.1.40:5683  (unicast response, I would expect)

192.168.1.50:15683 <- 192.168.1.40:7843  (unicast response, the spec.
also allows)

So,

- was a change of the port (2. example response) considered when writting
that definition?
- if yes, what was the reason to do so?

[JLS] My response would be that the answer is yes.  The unicast responder
does not need to be on the default COAP port number.  This would be
especially true if you had two different server running on the same piece of
hardware.   I find this to be very common for me in testing because I am
running 10 different CoAP servers on my laptop and while they can share the
multicast addresses, they need to end up on different unicast ports.

Jim Schaad


best regards
Achim Kraus

_______________________________________________
core mailing list
core@ietf.org
https://www.ietf.org/mailman/listinfo/core