Re: [Anima-signaling] Concern about GRASP Flood message

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 21 July 2016 08:25 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima-signaling@ietfa.amsl.com
Delivered-To: anima-signaling@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1FA712DB9A for <anima-signaling@ietfa.amsl.com>; Thu, 21 Jul 2016 01:25:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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_LOW=-0.7, SPF_PASS=-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 VUWl_EbYn48n for <anima-signaling@ietfa.amsl.com>; Thu, 21 Jul 2016 01:25:27 -0700 (PDT)
Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 B3AF712DBE5 for <anima-signaling@ietf.org>; Thu, 21 Jul 2016 01:25:26 -0700 (PDT)
Received: by mail-wm0-x233.google.com with SMTP id o80so15296691wme.1 for <anima-signaling@ietf.org>; Thu, 21 Jul 2016 01:25:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Z/P9kpY2b9t8fFf5qt12bHrVpuJ7X0LOm1N8O2gyybg=; b=fMKwRr2KGCKVmI/OTacbV3i1Swy6t7lHLP8+/628ckfk8KYqML9EcFYw/kDeWAzIPZ Cialf6BBa6j1Xn5cFUkWQpbF2m8YXdVcKkhNDyREpbsGxJIbl5TMNfV46hmGI5U3vqab cuHkn8AO2+Vd6Ys5wEtsEGKMmgCSz7Zt/HEGbLOO2NHGFZnIO+GhxNGulFPDSuQvKW3N +hWTBErrB8s7k/KNvRGxNUx30W/zQd+feJVzgv0Q++dfQgFcpZamLpXhvjGTX8nYWB16 7uUS5kN9KCQLRt5Zq9CGzCMxtNVZQGKK1wN5+RjIQxMJSBhEtAollei1+7cFO7TYhQdi ksfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=Z/P9kpY2b9t8fFf5qt12bHrVpuJ7X0LOm1N8O2gyybg=; b=foWn2vDv7QX15wubEYuDVNfL97YoNhmviCrbiYEbyhsz5h9DBUhPBWeXtWxpPNolyc RNE8A0FagE/VXRYI0cSVXHa5ssXJCE8xCgAMefWTfIU1ozKvojjqz6vYgCpoqAlLFBId 5CkCkT6iW07imRq3tNKUtIbs9igeUqBlPS36k3F/q/fcwS15tcerdDvUzeYcNabB5z3u M9vNgZcVm3hduHjhFLJ3Zjncpi1DV+BcNQSiVuELiggy9pVEWXgiTgFjggznhJoYtY/u DkG8dfYct0LGsRPTtK3EZlkvCg5yMlZIrP0d0vTSjEfr4XBohsrOQeHFfsn7mbbmXxFn 8vrg==
X-Gm-Message-State: ALyK8tJoEv1tzV0ZY7XrR9LtBLTl88ZkpPIg0rAE5U4orVqQbOvHvOgKzuE6MUji19/FLQ==
X-Received: by 10.194.88.200 with SMTP id bi8mr5635608wjb.126.1469089525259; Thu, 21 Jul 2016 01:25:25 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:152:28cc:dc4c:9703:6781? ([2001:67c:370:152:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id f4sm2119367wmf.8.2016.07.21.01.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 01:25:24 -0700 (PDT)
To: Toerless Eckert <eckert@cisco.com>
References: <77afcc64-ca15-003d-661b-a31ed4866149@gmail.com> <579073DB.50505@tzi.org> <00b894f9-61ca-c5cf-b8d8-aae1a8262c04@gmail.com> <20160721075059.GJ7377@cisco.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <aa089c05-9465-4192-72dd-5b66d78c77d5@gmail.com>
Date: Thu, 21 Jul 2016 20:25:31 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160721075059.GJ7377@cisco.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-signaling/h4vgYubTaZfHYZri6axXSFWKPC8>
Cc: Carsten Bormann <cabo@tzi.org>, Anima signaling DT <anima-signaling@ietf.org>
Subject: Re: [Anima-signaling] Concern about GRASP Flood message
X-BeenThere: anima-signaling@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the signaling design team of the ANIMA WG <anima-signaling.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-signaling/>
List-Post: <mailto:anima-signaling@ietf.org>
List-Help: <mailto:anima-signaling-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2016 08:25:32 -0000

On 21/07/2016 19:51, Toerless Eckert wrote:
> If we had in the future ASA that can come from different vendors,
> eg: lightblub ASAs from two different lightning system vendors,
> and they want to trust objectives from other ASAs of the same vendor
> differently than those from other vendors, then it would certainly
> become interesting to have per-objective authentication. Would be an
> interesting GRASP CBOR layer question if you want to take the relevant
> part of the objective/synchronization payload and create a signature
> for the CBOR representation of that and then add that signature to the CBOR message.
> 
> Alas, this is a long way off. We'd first need to have models
> for per-ASA keying material. Like at least eg: certificates for apps like
> android/iOS stores have them. and then expand from there.

Right. But adding a signature option to all or some GRASP messages
is a backwards-compatible extension we could introduce later. Adding it
at the CBOR level might be a bit more tricky.

For now, I think the requirement to identify the source of a Flood message
is a more urgent question. There is already one use case emerging: using Flood
to announce bootstrap Registrars to all bootstrap Proxies. A proxy needs to
be able to choose which registrar to use, so needs to distinguish them by
source locator.

    Brian

> On Thu, Jul 21, 2016 at 07:31:19PM +1200, Brian E Carpenter wrote:
>> On 21/07/2016 19:03, Carsten Bormann wrote:
>>> Is there going to be any security?
>>> Or is a flood message authenticated by the group key protecting the ASA?
>>
>> No, it will be implicitly authenticated by arriving via the ACP.
>> (Unless used in a insecure instance of GRASP, but I don't think we will
>> want that.)
>>
>>> If there is data origin authentication, this already provides a source.
>>
>> Right, we had that sort of approach in the old TLV version of the protocol,
>> but removed it when the ACP came along.
>>
>> Regards
>>   Brian
>>
>>>
>>> Grüße, Carsten
>>>
>>>
>>> Brian E Carpenter wrote:
>>>> During various discussions this week, I decided there is an issue to decide
>>>> around the GRASP Flood message.
>>>>
>>>> As it's currently defined, the node/ASA that receives a flooded objective
>>>> doesn't know where it came from; the flood relaying mechanism simply
>>>> loses the original source locator.
>>>>
>>>> Is this a problem? Does the recipient of a flooded objective sometimes
>>>> need to know the source?
>>>>
>>>> If so, we'd have to add a field to the Flood message. For example, we could
>>>> allow it to carry a Locator option.
>>>>
>>>> BTW, flooded objectives have no lifetime - they are valid until overwritten
>>>> by a subsequent Flood message.
>>>>
>>>> Comments?
>>>>
>>>
>>
>> _______________________________________________
>> Anima-signaling mailing list
>> Anima-signaling@ietf.org
>> https://www.ietf.org/mailman/listinfo/anima-signaling
>