Re: [core] RFC 7252 - 8.2 - Multicast - Request / Response Layer, page 67, top
Achim Kraus <achimkraus@gmx.net> Fri, 27 March 2020 18:00 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 71F623A104B for <core@ietfa.amsl.com>; Fri, 27 Mar 2020 11:00:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.561
X-Spam-Level:
X-Spam-Status: No, score=-3.561 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=-1.463, 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 bbrDZ4WgtQ5r for <core@ietfa.amsl.com>; Fri, 27 Mar 2020 11:00:04 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 C9D473A1000 for <core@ietf.org>; Fri, 27 Mar 2020 10:59:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1585331977; bh=l8oOftUYTOH/OPWsJ8WNdU0v0Vif1tlfZ7j+oaT6P/E=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=lSD/iEbhxQFDkaMooD5XkcJace0U/IgcD/Gv5sTBFw5ncYYQeOVhVoteu17XRHKci mGsiUtWmaoMkgQVeePVbJQmkajUsNygnqf2mVmCrV7WYKQr5b0dxud7qcc0Mpa8//D jmHPdFZI/FK1bpnu/TPMHs7Pk6QYOQjx4thpXTJg=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.45] ([178.2.210.105]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N8XPt-1jMigS03Wb-014Wwz; Fri, 27 Mar 2020 18:59:37 +0100
To: Jim Schaad <ietf@augustcellars.com>, core@ietf.org
References: <580bb0f4-89c4-2d11-b17b-520ddfe89c33@gmx.net> <000501d60452$c96cfa00$5c46ee00$@augustcellars.com>
From: Achim Kraus <achimkraus@gmx.net>
Message-ID: <1e74313a-d258-622f-d43e-ff1fa8f7d06d@gmx.net>
Date: Fri, 27 Mar 2020 18:59:35 +0100
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: <000501d60452$c96cfa00$5c46ee00$@augustcellars.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: de-AT-frami
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:UdQCXhCY0AOROqxr2IxgVRue23lLfiP+XMPz17B2T5czywrHKsf 9gJ1L1p7Jbp/t+3XKl5LNvfTm3GcdELJ4MNqsJhmImK9YV+dBH4Au22yl/HLuZoE8fYNG2m ajK4ZWyvm1COYk/snBVyrqTO5jYS1dxmnIRoXzxM/qd5tmCoXnp0toXLB6amszIkh4kn1gH EgV6zzhjeL6/OtMWEj6/w==
X-UI-Out-Filterresults: notjunk:1;V03:K0:B8cuC1jyvmY=:mvyXAR/0pUBpOF46SoRcJa vX/h73Bcc1jtIqpyGOg+uyzL+fuMvKFjAdI0ZgT4uvrxqy0hp45uiTypV9JT8KyCRbtc/5D3c yKiaBqiMviGKgbCySaPj8Bf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ZUvr1 S8Ih07XPnvFtyy/UrdC8lTTS+U/BiUbVwzmSaoX9LGidb7lw+HBScHJjsNjxBjlJsCmvg5KEh ma/i77Y2WHiGto3yV
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Cc1rX9epLzbBGK8PWYIkq5q0etU>
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 18:00:14 -0000
Hi Jim, thanks for the fast answer! > The unicast responder does not need to be on the default COAP port number. It's more the destination port of the request than the default CoAP port. > 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. OK, I see. Interesting. Using different ports for multicast and unicast makes it also easier to distinguish multicast from unicast. (On the other side, it kills somehow the idea of a "service, bound to a port" and it makes tracking the traffic with wireshark harder :-). I will see, when I can spend some time into adjust the server-side according this idea in your answer.) best regards Achim Am 27.03.20 um 17:14 schrieb Jim Schaad: > > > -----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 >
- [core] RFC 7252 - 8.2 - Multicast - Request / Res… Achim Kraus
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Jim Schaad
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Achim Kraus
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Esko Dijk
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Klaus Hartke
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Jim Schaad
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Esko Dijk
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Thomas Fossati
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Klaus Hartke
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Thomas Fossati
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Achim Kraus
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Jim Schaad
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Esko Dijk
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Esko Dijk
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Thomas Fossati
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Jim Schaad
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Esko Dijk
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Jim Schaad
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Achim Kraus
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Achim Kraus
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Jim Schaad
- Re: [core] RFC 7252 - 8.2 - Multicast - Request /… Achim Kraus