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

Toerless Eckert <eckert@cisco.com> Thu, 21 July 2016 12:03 UTC

Return-Path: <eckert@cisco.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 108BC12D594 for <anima-signaling@ietfa.amsl.com>; Thu, 21 Jul 2016 05:03:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.808
X-Spam-Level:
X-Spam-Status: No, score=-15.808 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 2MzKZmbZxX0p for <anima-signaling@ietfa.amsl.com>; Thu, 21 Jul 2016 05:03:35 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79CCD12D568 for <anima-signaling@ietf.org>; Thu, 21 Jul 2016 05:03:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2760; q=dns/txt; s=iport; t=1469102615; x=1470312215; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=R4waFQRjZu+jQQw2+yY+z05yGJB0Koyb/bAaAA62/2k=; b=KnDXt2zHM2OMDMmVtwe4vDSDolb9MEPId8Iu+K+0mbmBzUbZ9Q6QHpys W6A7mUDyhvo8iGUjuwuE9+ByijSJG5jENna3W39cu/BJhcP/WiXh/vID0 b6jQ6Dsp0RMYeutK5Kp3WVVaWBj6IzavAO2TinT7uiiemMNgY0JtpCXtx 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AlAgCvuZBX/4gNJK1dgz+BUrZVgg+Be?= =?us-ascii?q?4YaAoEtOBQBAQEBAQEBZSeEXAEBBAE6PwULCxgJJQ8FSROIKAi9AQEBAQEBAQE?= =?us-ascii?q?BAQEBAQEBAQEBAQEBARyKd4obBY8BhDyFaY5hCo86kCEeNoILHIFsHDKHTgEBA?= =?us-ascii?q?Q?=
X-IronPort-AV: E=Sophos;i="5.28,399,1464652800"; d="scan'208";a="299716448"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Jul 2016 12:03:34 +0000
Received: from mcast-linux1.cisco.com (mcast-linux1.cisco.com [172.27.244.121]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id u6LC3YsT006917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jul 2016 12:03:34 GMT
Received: from mcast-linux1.cisco.com (localhost.cisco.com [127.0.0.1]) by mcast-linux1.cisco.com (8.13.8/8.13.8) with ESMTP id u6LC3Xt5030514; Thu, 21 Jul 2016 05:03:33 -0700
Received: (from eckert@localhost) by mcast-linux1.cisco.com (8.13.8/8.13.8/Submit) id u6LC3XPu030513; Thu, 21 Jul 2016 05:03:33 -0700
Date: Thu, 21 Jul 2016 05:03:33 -0700
From: Toerless Eckert <eckert@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <20160721120333.GV7377@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>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aeedaaa3-f5d8-841c-6809-3531cf5033c2@gmail.com>
User-Agent: Mutt/1.4.2.2i
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-signaling/GTZd5kGHwGOHiLIcPQHaCkCEPmg>
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:03:38 -0000

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 ?

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
> > 

-- 
---
Toerless Eckert, eckert@cisco.com