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

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 21 July 2016 12:30 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 AE5E012D561 for <anima-signaling@ietfa.amsl.com>; Thu, 21 Jul 2016 05:30:38 -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 51x39BpQFNcx for <anima-signaling@ietfa.amsl.com>; Thu, 21 Jul 2016 05:30:36 -0700 (PDT)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 7EC4712D12B for <anima-signaling@ietf.org>; Thu, 21 Jul 2016 05:30:36 -0700 (PDT)
Received: by mail-wm0-x234.google.com with SMTP id f65so20306812wmi.0 for <anima-signaling@ietf.org>; Thu, 21 Jul 2016 05:30:36 -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=SrFAoItsM54pCwz6KAS81SKI5c6JtYBMQOvxOGNOmTU=; b=pEBp0C7hsoo+ISf08RiX2Q/14sYZiYH/0oGM/FOhdp+JOgVsIUDUHoNiOhrbZuTtOv 1zGo6Q1hZ+AzSx/+5RalSbKJakKExmXvsjlwdqNfCWJ5b1FjyJ2X4LWb9mIPKq+Vm3ur jXvD/BdLrJjDauuZuziUos9hc6Nqc2zQAcuZhWql6BQNmOkyFsWA8P5dz0XaHk2Lba/6 c2qyCvYN0Kof4Qf4qVGeVNxGVcgmT39WdaNkSJKzg9nq2214B1pUPgEHL6/M0+HzF+3V O3NflfFbGACqIMsM/EUxQBqgcBjlPtWMp30LVKiWB313+a5E2yuivfBhZSokoFNWGy2o fIZg==
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=SrFAoItsM54pCwz6KAS81SKI5c6JtYBMQOvxOGNOmTU=; b=GfvK85KV3xoWzwkRBfaHWwlNkoLG5GLqRhKNn7HIVVEWTT53RO6oxUYvLqOSr7hPx9 EG22Tb70H1eSP64J36K7HRYlr3q0q1lAHir6fEsJvqGTA6qRpM+jwep632LHIx2ztW8Y KazPYxsVL7UQNCfrI1s3fbdA92/Rcc/DVuNQSj/RB7WdUOnwyWuQQQbPpgZMriwnPvuK 5RVCkqtHu9CGwfo1piLIz6917fHGt1ZFJ7JgEwA5ZH0lrPjdZCrWpAgpQHlclQrNebvU kJXJJik+DSYmq4+WisVehW1NhcTtJPyip4PY3YeIZHEUQoD36rFauN8koZBSaMxA4AM9 NYJg==
X-Gm-Message-State: ALyK8tJF70QqeNDpYtjTKjMSM5TYG/0pO9rWOF7t2t5onbqQyT72LOpZUv23v3NdpGxuOQ==
X-Received: by 10.28.92.71 with SMTP id q68mr1047632wmb.85.1469104235032; Thu, 21 Jul 2016 05:30:35 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:160:28cc:dc4c:9703:6781? ([2001:67c:370:160:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id 17sm3736989wmf.6.2016.07.21.05.30.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 05:30:33 -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> <aa089c05-9465-4192-72dd-5b66d78c77d5@gmail.com> <57908BB9.4030307@tzi.org> <15ed0e03-bf1e-6e04-67ac-dbbaa428711f@gmail.com> <20160721092336.GQ7377@cisco.com> <aeedaaa3-f5d8-841c-6809-3531cf5033c2@gmail.com> <20160721120333.GV7377@cisco.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <d9249c8b-e143-19d1-4027-98711f67dcc0@gmail.com>
Date: Fri, 22 Jul 2016 00:30:40 +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: <20160721120333.GV7377@cisco.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-signaling/qfulDcosRXaNu1pWFoQP1Ok5XdU>
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 12:30:39 -0000

On 22/07/2016 00:03, Toerless Eckert wrote:
> On Thu, Jul 21, 2016 at 10:31:32PM +1200, Brian E Carpenter wrote:
>> The loop count is already a mandatory field in every objective.
>> We can add original-loop-count as a specific field in this
>> objective. No problem.
> 
> Ok. Any guidelines when you consider some attrbite to be part of
> an objective as opposed to eg: a GRASP header ?
> 
>>>  Refine flood pruning as: 
>>>  If the distance of a received announcement is smaller than the
>>>  distsance of the cached announcement, flood the new packet (and put
>>>  into cache).
>>
>> I have a problem with that but it's connected with another change
>> we have to make: caching multiple versions of a flooded objective
>> iff they come from different sources. We need to do that so that
>> in your use case (and probably others), the user ASA can make its
>> own choice among several alternatives. So in the flood cache we
>> will overwrite the cached value from address A if we receive a
>> new value from A, but the cached value from address B will not be
>> overwritten. As long as we do that, the distance comparison isn't
>> in the cache, it's in the user ASA.
> 
> So there are two comparisons:
> 
> The first comparison is in GRASP when a new message from A is received.
> It's compared with the exxisting cache of A, and when it's better
> (longer remaining cache time or lower distance), then it does get into
> the cache and is flooded. Else it's dropped, and existing cache is better.
> 
> The second comparison is as you said in the ASA between the A cache and B
> cache.
> 
>> So, to be clear, the objective syntax is:
>>
>> objective = ["ANI_Registrar", objective-flags, loop-count, original-loop-count, stack-list]
>>
>> and in the flood cache, it is tagged with its sending address (which
>> I noticed is already in the Flood message anyway, so that part is solved).
> 
> Ok.
> 
> And the stack list will have the locators ?

Certainly they will be available somehow, but let me pass on that question for this
week. I need to think through all the implications of what we've been discussing
when I'm not in a hotel with 1200 geeks.

   Brian

> 
> Cheers
>     Toerless
> 
>>     Brian
>>
>>> Cheers
>>>     Toerless
>>>
>>> On Thu, Jul 21, 2016 at 09:06:02PM +1200, Brian E Carpenter wrote:
>>>> On 21/07/2016 20:45, Carsten Bormann wrote:
>>>>> Brian E Carpenter wrote:
>>>>>> 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
>>>>>
>>>>> Well, the content of the message then appears to be "x is offering to be
>>>>> bootstrap registrar".  This can of course alternatively be represented
>>>>> by "x says: 'I am offering to be bootstrap registrar'".
>>>>
>>>> Exactly, but the Flood mechanism loses track of x when the message is relayed.
>>>> That would need a protocol change.
>>>>
>>>>    Brian
>>>
>