Re: [core] Scalability of multicast use for discovery (ticket #247)

Antonio Jara <jara@um.es> Tue, 13 November 2012 10:59 UTC

Return-Path: <jara@um.es>
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 38D8B21F869B for <core@ietfa.amsl.com>; Tue, 13 Nov 2012 02:59:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86HraBqg4qbf for <core@ietfa.amsl.com>; Tue, 13 Nov 2012 02:59:09 -0800 (PST)
Received: from xenon12.um.es (xenon12.um.es [155.54.212.166]) by ietfa.amsl.com (Postfix) with ESMTP id A1B3021F861B for <core@ietf.org>; Tue, 13 Nov 2012 02:59:08 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by xenon12.um.es (Postfix) with ESMTP id 4B12C4BD49; Tue, 13 Nov 2012 11:59:06 +0100 (CET)
X-Virus-Scanned: by antispam in UMU at xenon12.um.es
Received: from xenon12.um.es ([127.0.0.1]) by localhost (xenon12.um.es [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EL2QeG3IjimF; Tue, 13 Nov 2012 11:59:05 +0100 (CET)
Received: from localhost (ursus11.um.es [155.54.212.229]) by xenon12.um.es (Postfix) with ESMTP id 054414BDC6; Tue, 13 Nov 2012 11:59:04 +0100 (CET)
Received: from mdc-wsg-1.utc.com (mdc-wsg-1.utc.com [192.249.47.201]) by webmail.atica.um.es (Horde Framework) with HTTP; Tue, 13 Nov 2012 11:59:04 +0100
Message-ID: <20121113115904.6252576sd1m1g8hk@webmail.atica.um.es>
Date: Tue, 13 Nov 2012 11:59:04 +0100
From: Antonio Jara <jara@um.es>
To: "Dijk, Esko" <esko.dijk@philips.com>
References: <031DD135F9160444ABBE3B0C36CED618AFBE04@011-DB3MPN2-082.MGDPHG.emi.philips.com> <1D48EEB1-8B66-4D82-97E7-AC3B6C7F944D@sensinode.com> <031DD135F9160444ABBE3B0C36CED618AFBE78@011-DB3MPN2-082.MGDPHG.emi.philips.com> <8AFA0CA2-F37E-4A25-AD4C-8E863A9FFD0B@sensinode.com> <20121102115222.15844vkxp8y3r6qu@webmail.atica.um.es> <031DD135F9160444ABBE3B0C36CED618B0C18C@011-DB3MPN2-082.MGDPHG.emi.philips.com>
In-Reply-To: <031DD135F9160444ABBE3B0C36CED618B0C18C@011-DB3MPN2-082.MGDPHG.emi.philips.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; DelSp="Yes"; format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.2)
Cc: "core@ietf.org" <core@ietf.org>
Subject: Re: [core] Scalability of multicast use for discovery (ticket #247)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 13 Nov 2012 10:59:14 -0000

Hi Esko,

This sounds perfect for me.

Checking the IANA assignment this does not look  assigned. Therefore,  
it should not be any problem.

http://www.iana.org/assignments/ipv6-multicast-addresses/ipv6-multicast-addresses.xml

Best regards and thanks,
Antonio J. Jara

Quoting "Dijk, Esko" <esko.dijk@philips.com>:

> Hi Antonio,
>
> what we will first try is to get an allocation in the 0x0-0xFF group  
> which would help save some bytes in 6LoWPAN link-local use. So it  
> could be, skipping the last 2 characters:
>  FF0x::C0
>
> if that's not allowed for some reason, we could ask for C0A7.
> The usage of scopes may be restricted in the way Zach proposes.
>
> Esko
>
> -----Original Message-----
> From: Antonio Jara [mailto:jara@um.es]
> Sent: Friday 2 November 2012 11:52
> To: Zach Shelby
> Cc: Dijk, Esko; core@ietf.org
> Subject: Re: [core] Scalability of multicast use for discovery (ticket #247)
>
> Hi Zach,
>
> Maybe, it could be interesting to ask also to IANA some predefinition
> of multicast addresses for CoAP devices:
>
> Variable scope to find all the CoAP devices (similar to other
> technologies e.g. BACnet).
> 1- CoAP // e.g. FF0X:0:0:0:0:0:0:C0A7
>
> Note that, it s is also considering the local and site scopes:
> 1- Local CoAP Devices // e.g. FF02:0:0:0:0:0:0:C0A7
> 2- Site CoAP Devices // e.g. FF05:0:0:0:0:0:0:C0A7
>
> 7 is because looks like "P" in HEX.
>
> In addition, it could be considered the options for CoAP RD.
> 1- Local CoAP Resource Directories (Browsing) // e.g. FF02:0:0:0:0:0:0:C0AB
> 2- Site CoAP Resource Directories (Browsing) // e.g. FF05:0:0:0:0:0:0:C0AB
>
> B is because the browsing, commonly used in mDNSv6 (FB).
>
> Best regards,
> Antonio J. Jara
>
> Quoting Zach Shelby <zach@sensinode.com>:
>
>> Coming back to the solution for this ticket. I would like to propose
>> the following in the WG meeting next week:
>>
>> 1. Change the IPv4 request to the Local Network Control Block.
>> Although we could ask for the Ad-Hoc Block I think Local Network is
>> sufficient for our discovery needs in IPv4.
>> 2. Change the IPv6 request to link-local and site-local scope only.
>> Here we need site-local scope due to the way 6LoWPAN networks are
>> typically built.
>> 3. Recommend the use application specific multicast addresses for
>> larger scope multicast needs.
>>
>> Regarding the security consideration, with these changes I think the
>> existing text in 11.4 is sufficient.
>>
>> If this is OK with the WG, then we can make the needed changes in
>> -13 and then update our IANA registration request accordingly.
>>
>> Zach
>>
>> On Oct 18, 2012, at 10:27 AM, Dijk, Esko wrote:
>>
>>> I agree, since the CoRE discovery use cases seem to be all for
>>> link-local or site-local scope multicast.
>>>
>>> For the IPv4 address assignment, there's no site-local IPv4 but
>>> looking at the IANA registry
>>> (http://www.iana.org/assignments/multicast-addresses/multicast-addresses.xml#multicast-addresses-3 ) it looks somewhat like the ad-hoc block I (224.0.2.0 - 224.0.255.255) has taken on this function? Since there are some recent additions of single addresses  
>>> in
>>> there.
>>> Alternatively we only register link-local for IPv4.
>>>
>>> Esko
>>>
>>> -----Original Message-----
>>> From: Zach Shelby [mailto:zach@sensinode.com]
>>> Sent: Thursday 18 October 2012 9:05
>>> To: Dijk, Esko
>>> Cc: core@ietf.org
>>> Subject: Re: [core] Scalability of multicast use for discovery  
>>> (ticket #247)
>>>
>>> Esko,
>>>
>>> On Oct 18, 2012, at 9:07 AM, Dijk, Esko wrote:
>>>
>>>> Dear all,
>>>>
>>>> to explore possible solutions to ticket #247
>>>> (http://trac.tools.ietf.org/wg/core/trac/ticket/247) in the WG
>>>> here are some initial ideas.
>>>>
>>>> To enable safe use of multicast for CoAP discovery; we could
>>>> include in core-coap stricter requirements on multicast responding
>>>> e.g.:
>>>>
>>>> - for site-local scope or any smaller scope, a discovery multicast
>>>> request (/.well-known/core) by an unauthenticated client MAY be
>>>> responded to by a server
>>>> - for organization-local and global scope, a discovery multicast
>>>> request by an unauthenticated client SHOULD NOT be responsed to
>>>> - for global scope, a discovery multicast request SHOULD NOT be
>>>> responded to. Exception case is a server known to be deployed in
>>>> an isolated network i.e. multicast not propagating onto the
>>>> internet or to multicast backbones. In that case the server MUST
>>>> be explicitly configured to do so.
>>>
>>> This is not just about discovery, but for responding to any
>>> multicast CoAP request.
>>>
>>> I start to be doubtful about the actual utility of the CoAP
>>> multicast address with global scope (the risks are much greater
>>> than the benefit). To be safer, and deal with the IANA comments
>>> completely, we could just limit the default CoAP multicast address
>>> to local and site-local scope only. For specialized applications
>>> where global scope could be useful, it would be better for that
>>> application to use a dedicated multicast address for that purpose.
>>>
>>> Zach
>>>
>>>> This would allow local multicast discovery (of servers previously
>>>> unknown to the client) use cases without the side effects that the
>>>> IANA appointed expert mentions.
>>>>
>>>> regards,
>>>> Esko
>>>>
>>>>
>>>> Esko Dijk
>>>>
>>>> Philips Group Innovation, Research
>>>> High Tech Campus 34, Eindhoven, The Netherlands
>>>> esko.dijk@philips.com
>>>>
>>>>
>>>>
>>>> The information contained in this message may be confidential and
>>>> legally protected under applicable law. The message is intended
>>>> solely for the addressee(s). If you are not the intended
>>>> recipient, you are hereby notified that any use, forwarding,
>>>> dissemination, or reproduction of this message is strictly
>>>> prohibited and may be unlawful. If you are not the intended
>>>> recipient, please contact the sender by return e-mail and destroy
>>>> all copies of the original message.
>>>> _______________________________________________
>>>> core mailing list
>>>> core@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/core
>>>
>>> --
>>> Zach Shelby, Chief Nerd, Sensinode Ltd.
>>> http://www.sensinode.com
>>> http://zachshelby.org  - My blog "On the Internet of Things"
>>> http://6lowpan.net - My book "6LoWPAN: The Wireless Embedded Internet"
>>> Mobile: +358 40 7796297
>>>
>>>
>>
>> --
>> Zach Shelby, Chief Nerd, Sensinode Ltd.
>> http://www.sensinode.com
>> http://zachshelby.org  - My blog "On the Internet of Things"
>> http://6lowpan.net - My book "6LoWPAN: The Wireless Embedded Internet"
>> Mobile: +358 40 7796297
>>
>> _______________________________________________
>> core mailing list
>> core@ietf.org
>> https://www.ietf.org/mailman/listinfo/core
>>
>
>
>
> ________________________________
> The information contained in this message may be confidential and  
> legally protected under applicable law. The message is intended  
> solely for the addressee(s). If you are not the intended recipient,  
> you are hereby notified that any use, forwarding, dissemination, or  
> reproduction of this message is strictly prohibited and may be  
> unlawful. If you are not the intended recipient, please contact the  
> sender by return e-mail and destroy all copies of the original  
> message.
>
>