[Anima-signaling] Initiator field [was Two definite proposals for GRASP protocol change]
Brian E Carpenter <brian.e.carpenter@gmail.com> Sun, 10 January 2016 19:38 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 (ietfa.amsl.com [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id D3CF91ACEC7
for <anima-signaling@ietfa.amsl.com>; Sun, 10 Jan 2016 11:38:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 LLK80Xj1j9pn for <anima-signaling@ietfa.amsl.com>;
Sun, 10 Jan 2016 11:38:27 -0800 (PST)
Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com
[IPv6:2607:f8b0:400e:c03::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 B1FF71ACEC3
for <anima-signaling@ietf.org>; Sun, 10 Jan 2016 11:38:27 -0800 (PST)
Received: by mail-pa0-x22f.google.com with SMTP id yy13so217657026pab.3
for <anima-signaling@ietf.org>; Sun, 10 Jan 2016 11:38: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-type
:content-transfer-encoding;
bh=wBPO1sHMrx5+sfDmdL+P/NHzaLKcQuPkFAnmkNTG3Ac=;
b=Wioey3lFsjmBfy9aE6cPG1kyQkBGsuBUQifI3bHwUXpfimu9UhNSo5jedR/cFVMvso
osh5iZhYdTyXQaNjoYc/rommDJCtZ6w+s3bDwwl8lsyZc84+MPC6v9V6BBJ0bOhcQ4lz
CTwZgG54CA5/lSC7zwiqA+2bftgxgWCEySZEZyYpI37+Dm4Np29hemhAxKHFmgNbs/2d
WGNex70ES7+77JEjBd0vqYip0uxTPD4RGcCoGJjI8Jfm644qfMYeS41h+ini+tkUq6n5
mLgZGn7gBSAeNYqt5o8sxgFBlXbC2fOFfJ94ALngf/rVaPIIoZsI3a2y3/Q1rD7fixgE
1dNQ==
X-Received: by 10.66.234.200 with SMTP id ug8mr99105704pac.129.1452454707291;
Sun, 10 Jan 2016 11:38:27 -0800 (PST)
Received: from ?IPv6:2406:e007:744e:1:28cc:dc4c:9703:6781?
([2406:e007:744e:1:28cc:dc4c:9703:6781])
by smtp.gmail.com with ESMTPSA id p20sm18102698pfi.86.2016.01.10.11.38.23
(version=TLSv1/SSLv3 cipher=OTHER);
Sun, 10 Jan 2016 11:38:25 -0800 (PST)
To: Carsten Bormann <cabo@tzi.org>
References: <5668F8CA.2010205@gmail.com> <56698A77.5090003@tzi.org>
<5669911D.30306@tzi.org> <5669DC59.2090505@gmail.com>
<56925EBC.6010207@tzi.org> <5692A875.203@gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <5692B32E.1050209@gmail.com>
Date: Mon, 11 Jan 2016 08:38:22 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <5692A875.203@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/anima-signaling/L3Fo2r19daLyCeGLSWYQGGnI6E0>
Cc: Anima signaling DT <anima-signaling@ietf.org>
Subject: [Anima-signaling] Initiator field [was Two definite proposals for
GRASP protocol change]
X-BeenThere: anima-signaling@ietf.org
X-Mailman-Version: 2.1.15
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: Sun, 10 Jan 2016 19:38:29 -0000
On 11/01/2016 07:52, Brian E Carpenter wrote:
> Hi Carsten,
> On 11/01/2016 02:38, Carsten Bormann wrote:
...
>> More odd to me is that the session-id only makes sense in conjunction
>> with the initiator, but the latter is not always given. I can't quite
>> make rhyme and reason out of when it's there and when not. Maybe that
>> should be explained in the text (beyond what's in 3.6), including how
>> the initiator is implied when not present in the message (source IP
>> address of UDP packet?).
>
> The issue only arises at all because of the need to relay discovery
> and flood packets from one interface to another. In all other cases
> the source address of the packet is fine for disambiguating sessions.
> And in my implementation, the issue doesn't even arise for relayed
> discovery messages, because it proved easier to launch a new discovery
> session than to propagate the old one.
>
> You know, I'm going to look at my code again. If I can do the same trick
> for flood messages when they are relayed, we just wouldn't need the
> stupid initiator field at all.
I had to add three lines of code to the relay function to do this.
So I now propose to remove the 'initiator' field from the messages where
I added it (and add the necessary clarifications about using the source
IP address). That will be a straightforward change to the -02D draft
that I sent yesterday, so co-authors, please let me know what you think
ASAP.
Thanks Carsten, this helped a lot.
Brian
- [Anima-signaling] Two definite proposals for GRAS… Brian E Carpenter
- Re: [Anima-signaling] Two definite proposals for … Carsten Bormann
- Re: [Anima-signaling] Two definite proposals for … Carsten Bormann
- Re: [Anima-signaling] Two definite proposals for … Brian E Carpenter
- Re: [Anima-signaling] Two definite proposals for … Brian E Carpenter
- Re: [Anima-signaling] Two definite proposals for … Carsten Bormann
- Re: [Anima-signaling] Two definite proposals for … Brian E Carpenter
- [Anima-signaling] Initiator field [was Two defini… Brian E Carpenter
- Re: [Anima-signaling] Two definite proposals for … Carsten Bormann
- [Anima-signaling] Revised CDDL Brian E Carpenter
- [Anima-signaling] Session IDs in relayed messages… Brian E Carpenter
- Re: [Anima-signaling] Session IDs in relayed mess… Liubing (Leo)