Re: [Anima-signaling] draft-ietf-anima-grasp-04A

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 11 March 2016 03:02 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 4CF7212DB88 for <anima-signaling@ietfa.amsl.com>; Thu, 10 Mar 2016 19:02:30 -0800 (PST)
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 y2p8_Ga14NoC for <anima-signaling@ietfa.amsl.com>; Thu, 10 Mar 2016 19:02:28 -0800 (PST)
Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (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 E30B612DB32 for <anima-signaling@ietf.org>; Thu, 10 Mar 2016 19:02:27 -0800 (PST)
Received: by mail-pa0-x22e.google.com with SMTP id fl4so81439458pad.0 for <anima-signaling@ietf.org>; Thu, 10 Mar 2016 19:02:27 -0800 (PST)
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=tNgEvTUFwe/ZDG+laWcKFOAkjA8vwdIa4yBD9RL8JbY=; b=lU8d18U4ys1U0d6uZOyQmJkQpWjlAZA9PuKTDIVQYXHyBFooV+I8Gt9B5UUvAU77Lz SVpDuP9yJ8/3qZI+hLT2KuwFCg7uOW8zFygg0Z4vGvw4DQredHQMR9vY3h9fyRIhIkoz 0ewreIN5T8nS5mdCNR1HF5xal2VXUTdI1ZGjDM2fHjz06+ZQIB0YvlKJC8fC9ZahPBQe sxcxewbrxwXfNs1vA5cTH/7ZbV5hLnDaAFkRdhLe8Iw4O35UEmV9+0RrLtNR/fjL+Xc6 utq15ITILKKz2qCiHkl+lJSH/X1bCBTDSz3mOe0hx9JtQkeGAT3mstLbVEA+NAgGqn/W wXJQ==
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=tNgEvTUFwe/ZDG+laWcKFOAkjA8vwdIa4yBD9RL8JbY=; b=RpgPhYHEy0eE0UaeZl70Ec/p3ZsoaVj91DfvGz+qZpbGztAr+6IRo+tv+a1gcE4sfj 8/bDje/Vt+7xRHzzZDtFQwUnemXgu8B5ofK8eP+8tiWZr6zXz0dCL72WdMUeUNAv+Bg0 GCj1Wq/dHZ2hWVG35rGC/X2TFAOvM38c24RigidloKBAX5KlABLDK2Y9QPm+7ckNwbnk hsP7N41v+SlcaK1e5BOYH45XD0gfGJjFgBjOrNHVvd/3M8C4jN/1t1nohH47+asoZ+pr zhk0qHGmUuiANEgHd/6yBsWY6mxPtoTYH2LpJ3srUkN+wJkRQUBKWMlCgXpWgC7HYt1V cmMw==
X-Gm-Message-State: AD7BkJIvesGz1xrzixkZoSzFkA6NJhcOATN1/w3ExrTWxAZZTaCr3dAL+PUdmtxolX0aSg==
X-Received: by 10.66.243.35 with SMTP id wv3mr8885576pac.93.1457665347218; Thu, 10 Mar 2016 19:02:27 -0800 (PST)
Received: from ?IPv6:2406:e007:64b4:1:28cc:dc4c:9703:6781? ([2406:e007:64b4:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id ac1sm8523061pad.41.2016.03.10.19.02.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2016 19:02:25 -0800 (PST)
To: "Liubing (Leo)" <leo.liubing@huawei.com>, Anima signaling DT <anima-signaling@ietf.org>
References: <56DE05D2.1070802@gmail.com> <8AE0F17B87264D4CAC7DE0AA6C406F45C2D4B25D@nkgeml514-mbx.china.huawei.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <56E23546.2020809@gmail.com>
Date: Fri, 11 Mar 2016 16:02:30 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <8AE0F17B87264D4CAC7DE0AA6C406F45C2D4B25D@nkgeml514-mbx.china.huawei.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/anima-signaling/8q1JdTRuYMc23Nw15u9J5W9gvm8>
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>
Subject: Re: [Anima-signaling] draft-ietf-anima-grasp-04A
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: Fri, 11 Mar 2016 03:02:30 -0000

On 11/03/2016 15:33, Liubing (Leo) wrote:
> Hi Brian,
> 
> Thanks for the update. I only have a minor comment.
> 
>  " It MUST cache the	
>    Session ID value and initiator address of each relayed	
>    discovery message until the discovery process has ended or	
>    timed out.  To prevent loops, it MUST NOT relay a Discovery	
>    message which carries a given cached Session ID and initiator	
>    address more than once."
> 
> I think it is hard for the relays to judge whether the Discovery process has ended/time out. Even the initiator could only do "time out" count (GRASP_DEF_TIMEOUT), not solid judgment of "Discovery end".

Actually the end of discovery is well-defined. Either the relayed discovery
receives a Response message or the discovery timeout itself expires.
So the discovery code already does disactivate the cached entry
automatically, even for a normal (not relayed) discovery.

I'm not sure I know how to explain that in the text though, let me have
a quick look. Then I will submit the draft because I will be on travel
from tomorrow.

Regards
   Brian

> So maybe we also recommend a value of twice the GRASP_DEF_TIMEOUT, just as the Flood Synchronization case.
> 
> Best regards,
> Bing
> 
> 
>> -----Original Message-----
>> From: Anima-signaling [mailto:anima-signaling-bounces@ietf.org] On Behalf
>> Of Brian E Carpenter
>> Sent: Tuesday, March 08, 2016 6:51 AM
>> To: Anima signaling DT
>> Cc: Joel M. Halpern
>> Subject: [Anima-signaling] draft-ietf-anima-grasp-04A
>>
>> Hi Design Team, Joel,
>>
>> Attached is proposed update to GRASP that hopefully fixes a serious looping
>> issue that Joel noticed in the -03 draft.
>>
>> The issue was that in a physical topology with 3 or more LANs connected in a
>> loop by 3 or more routers, GRASP multicasts (Discovery and Flood Synch
>> messages) would have looped until the loop count reached zero.
>>
>> The fix was to revert to the 'initiator' field previously included in the -02 draft,
>> but with the logic properly worked out this time ;-).
>>
>> I've both observed the problem in the -03 version of the prototype code, and
>> shown that the fix works in a new -04 version of the code. (I didn't need to
>> build a router loop; when the code is set to listen to its own multicasts, it
>> simulates an infinite router loop.)
>>
>> Co-authors: any comments or objections? I'd like to post this draft during
>> this week, as I will be on vacation next week.
>>
>> Txt file and diffs attached. I will post the XML to GitHub.
>>
>> Regards
>>    Brian
>