[Anima] Discovered link-local addresses [was review of grasp-08]

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 28 November 2016 00:27 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BD25129438 for <anima@ietfa.amsl.com>; Sun, 27 Nov 2016 16:27:33 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 jDXmQSPSggpR for <anima@ietfa.amsl.com>; Sun, 27 Nov 2016 16:27:32 -0800 (PST)
Received: from mail-pg0-x234.google.com (mail-pg0-x234.google.com [IPv6:2607:f8b0:400e:c05::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 14EEF126579 for <anima@ietf.org>; Sun, 27 Nov 2016 16:27:31 -0800 (PST)
Received: by mail-pg0-x234.google.com with SMTP id p66so50438880pga.2 for <anima@ietf.org>; Sun, 27 Nov 2016 16:27:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=VGWntVFfSaJ6W6Ceo4iVyWm53lHt/qmgOnePqCVs5E4=; b=jjyMdgzTOJ155lcDOGdYfbMERvPbEXesZx8aYdlgBu5atRNEmQPKAqjSNmKzjVj9SL q8wNils8+gVkPD+AD9CVQi5mOiTIsiqyUJ+3r/S6yqM5KlRp6zqGIorPCUB15+KVBo9E PW2jzye1C97jp0wgtPe0y6QxCjCdtzcmFtsT/gA9ZxHwQPO+pEVj6eSsSdp/uZg5F3dT vij2+B+ng3oqGOM8p+nvXcdA1NNAzyD1OtVvDyIOKNw8WpZibyyG5w9VqdJi502tnvmK 8Tq+Q1TsVeuYGy847Yr9IyUnJdaFjn+WMrHKYnIDoF+Id+e3RTdCog6jqPKr1tSYOFuy cpSg==
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:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=VGWntVFfSaJ6W6Ceo4iVyWm53lHt/qmgOnePqCVs5E4=; b=Iyya2vX2RZMSrV4qea5ybUxHnzkvUqCLZREIWdfoCN1lEz9ahM5EHUiel5/kFZPCKH NEOlJ27AFTAlrdLS0u/GyYxPQNMA2SAhoc4CFgHmeghNZ9ldPCUgzE6pRXcfhvWXybUf CmdRBJO4DoA/4uGNl5Luud3FrMuas3tS57WJf7a9zEatm/TDCWsCFwV1sba5CqE2TJJ6 YO33Z3IaJFe5XUkMj+CL5ypS3LxHzvc0UZZGVdx1Y1y0AC+uwpKPObXP1sZ6rWAZugcW qkYEV0o2+iOQD7wkMi+OnGaBeXe7xsBFppaPX0v9Szk3LxwL5lOFtwWLn8HTLzEHOItP FqOQ==
X-Gm-Message-State: AKaTC01T9kvlQMkC4XsMdhvZqNJbUX523QL7BJs0dCFbiX+juxCLmK07rZD2nuLBZvE4lQ==
X-Received: by 10.84.206.37 with SMTP id f34mr43522221ple.127.1480292851194; Sun, 27 Nov 2016 16:27:31 -0800 (PST)
Received: from [192.168.178.23] ([118.148.115.30]) by smtp.gmail.com with ESMTPSA id y200sm77358077pfb.16.2016.11.27.16.27.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Nov 2016 16:27:30 -0800 (PST)
To: Michael Richardson <mcr+ietf@sandelman.ca>, anima@ietf.org
References: <4565.1479941260@obiwan.sandelman.ca> <dee9e527-4e32-5abf-9b17-e6d96cc34f97@gmail.com> <10713.1480019847@obiwan.sandelman.ca>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <632839c1-f73c-db68-3fbe-7e9822b8c1d0@gmail.com>
Date: Mon, 28 Nov 2016 13:27:27 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <10713.1480019847@obiwan.sandelman.ca>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/h9Bk5u1TtDm10iSHlUP8h3jbrcE>
Subject: [Anima] Discovered link-local addresses [was review of grasp-08]
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Nov 2016 00:27:33 -0000

On 25/11/2016 09:37, Michael Richardson wrote:
...
>     >> 3.5.4.4: QUERY re: The relayed discovery message MUST have the same
>     >> Session ID as the incoming discovery message and MUST be tagged with
>     >> the IP address of its original initiator (see Section 3.8.4).
>     >>
>     >> I thought we were adding something about Link Local addresses here?
> 
>     > What was the point there? (Clearly, discovered link-local addresses
>     > MUST NOT be sent on to another interface, is that it? But that affects
>     > the Discovery Response process, not the relay process. Must check my
>     > code, too...)
> 
> I think that's the point.  Should we even relay discovery messages from LL
> origins?

In fact, this point is covered in the formal spec of the Locator Option. I propose
to augment it slightly thus:

<t>Note 1: The IPv6 address MUST normally have global scope. Exceptionally, during initialisation,
a link-local address MAY be used for specific objectives only (<xref target="secinst"/>). In this case
the corresponding Discovery Response message MUST be sent via the interface to which the link-local
address applies.</t>

<t>Note 2: A link-local IPv6 address MUST NOT be used when this option is included in a Divert option.</t>