Re: [Anima] Use of M_FLOOD for discovery of Proxy

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 17 June 2017 01:01 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFB08129432 for <anima@ietfa.amsl.com>; Fri, 16 Jun 2017 18:01:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 fFh-xLz7zdyr for <anima@ietfa.amsl.com>; Fri, 16 Jun 2017 18:01:33 -0700 (PDT)
Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (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 6557C120454 for <anima@ietf.org>; Fri, 16 Jun 2017 18:01:33 -0700 (PDT)
Received: by mail-pf0-x22f.google.com with SMTP id l89so29313395pfi.2 for <anima@ietf.org>; Fri, 16 Jun 2017 18:01:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=AnMzESSZre29jAh3hnquumaeknO8yoz6TxbbTPrYzAw=; b=sy34dmUNlGE0ayEyiWvFjV/H7VUVXNXVVlalt9jstgJLHVh6wRJGmChD/Hmp+xqPkN dUh2Iy3Jd5VuiCU2jOmIQYmujvSznsJSWMaJAkGdVqW3lglA9sLJ2e9RWDY71v3iF256 f49eVmW3uncgTf0vSAeGcTIrNYOOJEw98ZzENTbMjDJS/wWvMm+Z/Y8DJIiNPY3acENL di27NAbzv7W6y/+kAJMLsyPRh3QSKvlA8g0fbxlngsG/p+R7FaQdanIzhyXRaq9l6BsW 2DxaWWIU6CxNnKPWnK0d7TL0aJyrUWrLqNUu/JbMvngowTMobynFr1u+gCeKaihVL3Ed qrOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=AnMzESSZre29jAh3hnquumaeknO8yoz6TxbbTPrYzAw=; b=ZC7N2sJRo6oNL8+pLT8em/iwoO3KxKESCOaCujs5TN4MN1E6WRnY2OIwqS9G781wNY 0mh/ZA0kheOhuuTtmY//siF+edPq3q5qW1/jC6fXXrWHGRIpBvt11FIocH9ilv9xaobK NZ6V40lm/Tc7MN3XKss5whCvAJhweFzjKhBXw+o7U8pU9lDpuNu+O7UcMQkdy7uYWZgT QitQS68ZCfW9QjTyflCr6e5OwTKFUD1wEMxWxxxxFcnHSxd5i4s939dC7O8v1r/7uYzg RLSqds+wKifuaXTb/vHfRsc/4MjZWmihLVKnEPzipiggqWk2M1AMMeNOa9MKKUtOS2BN 2IlQ==
X-Gm-Message-State: AKS2vOyBXtOyO8Oxcne0jxpvkLjYJS2iT9yiM+ljKK/ngMcMk/HT/Q7r q5jRpXLWid74HS/O
X-Received: by 10.98.166.196 with SMTP id r65mr13933978pfl.120.1497661292411; Fri, 16 Jun 2017 18:01:32 -0700 (PDT)
Received: from ?IPv6:2406:e007:53e7:1:28cc:dc4c:9703:6781? ([2406:e007:53e7:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id r5sm6726466pgu.5.2017.06.16.18.01.30 for <anima@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 18:01:31 -0700 (PDT)
To: anima@ietf.org
References: <149566389334.8737.940293315082013190@ietfa.amsl.com> <e24d09bd-9497-3066-7659-895c664bb248@gmail.com> <2540.1497281932@obiwan.sandelman.ca> <20170617000102.GI20021@faui40p.informatik.uni-erlangen.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <b96322cb-8ea7-8167-69f4-d4ca1742dc90@gmail.com>
Date: Sat, 17 Jun 2017 13:01:38 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0
MIME-Version: 1.0
In-Reply-To: <20170617000102.GI20021@faui40p.informatik.uni-erlangen.de>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/SV8fkb60icotdRmpy_k0xBbea38>
Subject: Re: [Anima] Use of M_FLOOD for discovery of Proxy
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Jun 2017 01:01:36 -0000

If the BRSKI team agree that you want a flood (i.e. unsolicited announcement)
for pledge<->proxy and discovery+synchronization request (i.e. solicited
announcement) for proxy<->registrar, I will suggest complete text for these,
and implement a Python demo version.

So, BRSKIsts please confirm what you want.

Regards
   Brian

On 17/06/2017 12:01, Toerless Eckert wrote:
> On Mon, Jun 12, 2017 at 11:38:52AM -0400, Michael Richardson wrote:
> [reordering]
>> So, let's leave this part, which is
>>     https://tools.ietf.org/html/draft-ietf-anima-bootstrapping-keyinfra-06#section-3.1.1
> 
> 1. I think those sections are incorrect wrt to the GRASP format. Here is whats in BRSKI -06:
> 
>     proxy-objective = ["Proxy", [ O_IPv6_LOCATOR, ipv6-address,
>     transport-proto, port-number ] ]
> 
>     ipv6-address       - the v6 LL of the proxy
>     transport-proto    - 6, for TCP 17 for UDP
>     port-number        - the TCP or UDP port number to find the proxy
> 
> The definition of M_FLOOD from grasp-13 is:
> 
>   flood-message =  [M_FLOOD, session-id, initiator, ttl,
>                   +[objective, (locator-option / [])]]
> 
>   objective = [objective-name, objective-flags, loop-count, ?objective-value]
>   objective-name = text ;see section "Format of Objective Options"
>   objective-value = any
> 
> This means that we do not need to have a locator in the proxy objective because
> the flood message already has the locator element outside the objective.
> 
> The second problem with -06 is that we need to be able to indicate different protocol
> stacks, eg: TLS or (later) CoAP. 
> 
> In draft-carpenter-anima-ani-objectives, the proposal for the proxy-objective was therefore:
> 
>     assistant-objective = ["AN_join_assistant", F_SYNCH, 1, method]
> 
>     eg:
>                           ["AN_join_assistant", F_SYNCH, 1, "BRSKI-TLS"]
> 
> Aka: The objective needs F_SYNCH, that standard objective parameter, the second parameter
> is also mandatory loop-count (must be 1 for DULL)  and then "BRSKI-TLS" would be the value of
> the proposed "method" parameter.
> 
> This is what i did put into the proposed -07 diffs that we are reviewing.
> 
>> {note subject line change}
>>
>> Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>>     >> 3.1.1.  Proxy Discovery Protocol Details
>>     >>
>>     >> The proxy uses the GRASP M_FLOOD mechanism to announce itself.  This
>>     >> announcement is done with the same message as the ACP announcement
>>     >> detailed in [I-D.ietf-anima-autonomic-control-plane].
>>
>>     bc> Can we make it:
>>
>>     bc> This announcement SHOULD be done with the same message...
>>     bc> That's only an optimisation, really.
>>
>> Agreed.  I think we all agree that the announcement of the proxy
>> (and the search for ACP peers) is something that M_FLOOD is good for.
>>
>>
>>     bc> (After the discussion back in Berlin, we added a feature to
>>     bc> M_FLOOD to allow arbitrary locators to be attached to a given
>>     bc> flood message. I thought that was what the BRSKI team wanted
>>     bc> at that time. Seems not.)
>>
>> yes, we asked for two locators to be attached to a flood message so that we
>> could announce ACP and Proxy in the same message.  Given the experience
>> with rate limiting that you experienced, this seems doubly prudent since
>> this M_FLOOD will occur outside any ACP, and will have to traverse any
>> number of layer-2 devices.
>>
>> (This will be worse at the beginning of ANIMA deployment, as the layer-2
>> devices will not be ACP aware, but will get better as more devices get with
>> the program...)
> 
> 2. If we send the M_FLOOD for BRSKI and ACP periodicially once every 30 seconds,
> i don't think that we should be worried about sending one instead of two packets.
> 
>>From grasp-13 it seems that i can only put a single grasp-message into a single
> UDP packets. And i can only put a single objective into a single grasp-message.
> 
> I don't think i want a single objective to announce both ACP and BRSKI. Those
> are features of two different ASA. How would i implement this.
> 
>  
>> As there is no dispute about it, I think.
>> If it should be named AN_PROXY, that's fine.
> 
> i have no strong opinion about the term, you pick ;-).
> 
> Cheers
>     Toerless
>>
>> --
>> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>>  -= IPv6 IoT consulting =-
>>
>>
>>
> 
> 
> 
>> _______________________________________________
>> Anima mailing list
>> Anima@ietf.org
>> https://www.ietf.org/mailman/listinfo/anima
> 
>