
From marcelo@it.uc3m.es  Tue Dec  1 01:37:05 2009
Return-Path: <marcelo@it.uc3m.es>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 03D293A67FC for <shim6@core3.amsl.com>; Tue,  1 Dec 2009 01:37:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.564
X-Spam-Level: 
X-Spam-Status: No, score=-6.564 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EiYxEfnFQYNI for <shim6@core3.amsl.com>; Tue,  1 Dec 2009 01:37:04 -0800 (PST)
Received: from smtp01.uc3m.es (smtp01.uc3m.es [163.117.176.131]) by core3.amsl.com (Postfix) with ESMTP id B53FD3A6A1D for <shim6@ietf.org>; Tue,  1 Dec 2009 01:37:03 -0800 (PST)
Received: from marcelo-bagnulos-macbook-pro.local (wlap005.it.uc3m.es [163.117.139.108]) by smtp01.uc3m.es (Postfix) with ESMTP id DEC90BA594F for <shim6@ietf.org>; Tue,  1 Dec 2009 10:36:54 +0100 (CET)
Message-ID: <4B14E3B6.4070705@it.uc3m.es>
Date: Tue, 01 Dec 2009 10:36:54 +0100
From: marcelo bagnulo braun <marcelo@it.uc3m.es>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: "shim6@ietf.org" <shim6@ietf.org>
Content-Type: multipart/mixed; boundary="------------050604090507010604040101"
Subject: [shim6] [Fwd: I-D Action:draft-ietf-shim6-applicability-04.txt]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Dec 2009 09:37:05 -0000

This is a multi-part message in MIME format.
--------------050604090507010604040101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

We have submitted a new version of the applicability.

We think the draft is ready to go, but, since this is an applicability 
document, there are plenty of stuff that can be added.

So, if people can review and comment, whehter the draft is ready or 
needs more work, it would be greatly appreciated.

Thanks, marcelo



-------- Mensaje original --------
Asunto: 	I-D Action:draft-ietf-shim6-applicability-04.txt
Fecha: 	Tue, 1 Dec 2009 01:30:02 -0800 (PST)
De: 	Internet-Drafts@ietf.org
Responder a: 	internet-drafts@ietf.org
Para: 	i-d-announce@ietf.org
CC: 	shim6@psg.com



A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Site Multihoming by IPv6 Intermediation Working Group of the IETF.


	Title           : Applicability Statement for the Level 3 Multihoming Shim Protocol (Shim6)
	Author(s)       : J. Abley, et al.
	Filename        : draft-ietf-shim6-applicability-04.txt
	Pages           : 22
	Date            : 2009-11-30

This document discusses the applicability of the Shim6 IPv6 protocol
and associated support protocols and mechanisms to provide site
multihoming capabilities in IPv6.

Status of this Memo

This Internet-Draft is submitted to IETF in full conformance with the
provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups.  Note that
other groups may also distribute working documents as Internet-
Drafts.

Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time.  It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."

The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.

This Internet-Draft will expire on June 3, 2010.

Copyright Notice

Copyright (c) 2009 IETF Trust and the persons identified as the
document authors.  All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document.  Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document.  Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the BSD License.

This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008.  The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-shim6-applicability-04.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.



--------------050604090507010604040101
Content-Type: Message/External-body;
 name="draft-ietf-shim6-applicability-04.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="draft-ietf-shim6-applicability-04.txt"

Content-Type: text/plain
Content-ID: <2009-12-01012312.I-D@ietf.org>



--------------050604090507010604040101
Content-Type: text/plain;
 name="Parte del mensaje adjunto"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Parte del mensaje adjunto"

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


--------------050604090507010604040101--

From shinta@sfc.wide.ad.jp  Mon Dec  7 02:44:58 2009
Return-Path: <shinta@sfc.wide.ad.jp>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 663613A6A26 for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 02:44:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.904
X-Spam-Level: 
X-Spam-Status: No, score=0.904 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YPnJdxQY3Q3f for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 02:44:57 -0800 (PST)
Received: from mail.sfc.wide.ad.jp (mail.sfc.wide.ad.jp [203.178.142.146]) by core3.amsl.com (Postfix) with ESMTP id 70DD428C15B for <shim6@ietf.org>; Mon,  7 Dec 2009 02:44:57 -0800 (PST)
Received: from localhost.localdomain (unknown [IPv6:2001:380:633:2:20b:cdff:fefb:2a8]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id D873F4CF06 for <shim6@ietf.org>; Mon,  7 Dec 2009 19:44:42 +0900 (JST)
Message-ID: <4B1CD8D8.4060107@sfc.wide.ad.jp>
Date: Mon, 07 Dec 2009 19:28:40 +0900
From: Shinta Sugimoto <shinta@sfc.wide.ad.jp>
User-Agent: Thunderbird 2.0.0.6 (X11/20070809)
MIME-Version: 1.0
To: shim6@ietf.org
Content-Type: multipart/mixed; boundary="------------000607060700000703010903"
Subject: [shim6] [Fwd: I-D Action:draft-ietf-shim6-multihome-shim-api-11.txt]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Dec 2009 10:44:58 -0000

This is a multi-part message in MIME format.
--------------000607060700000703010903
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit

Dear SHIM6 WG members,

As you can see, we have submitted an updated version of the multihome
shim API document.

http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-11.txt

We are aiming at completing this work by publishing an informational
RFC.  Basically, the current version of the draft is supposed to clear
all the remaining issues that arose so far.  We really want to receive
your feedbacks on the document.  Thank you very much.

Regards,
Shinta

--------------000607060700000703010903
Content-Type: message/rfc822;
 name="I-D Action:draft-ietf-shim6-multihome-shim-api-11.txt.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="I-D Action:draft-ietf-shim6-multihome-shim-api-11.txt.eml"

X-Account-Key: account2
X-Mozilla-Keys: 
Return-Path: <i-d-announce-bounces@ietf.org>
X-Original-To: shinta@sfc.wide.ad.jp
Received: from ironport1.sfc.wide.ad.jp (ironport1.sfc.wide.ad.jp [203.178.142.150])
	by mail.sfc.wide.ad.jp (Postfix) with ESMTPS id 3D1B34CEC2;
	Mon,  7 Dec 2009 19:30:34 +0900 (JST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: An4AAPdnHEtAqmIgjmdsb2JhbACaO4EyAQEBAQkLCAkRB7p2hDMEgWc
X-IronPort-AV: E=Sophos;i="4.47,353,1257087600"; 
   d="txt'208?scan'208,208";a="6773764"
Received: from mail.ietf.org ([64.170.98.32])
  by ironport1.sfc.wide.ad.jp with ESMTP; 07 Dec 2009 19:30:33 +0900
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 945213A6A20;
	Mon,  7 Dec 2009 02:30:03 -0800 (PST)
X-Original-To: i-d-announce@ietf.org
Delivered-To: i-d-announce@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0)
	id EB7893A6917; Mon,  7 Dec 2009 02:30:01 -0800 (PST)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Subject: I-D Action:draft-ietf-shim6-multihome-shim-api-11.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20091207103001.EB7893A6917@core3.amsl.com>
Date: Mon,  7 Dec 2009 02:30:01 -0800 (PST)
Cc: shim6@psg.com
X-BeenThere: i-d-announce@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: internet-drafts@ietf.org
List-Id: Internet Draft Announcements only <i-d-announce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/i-d-announce>,
	<mailto:i-d-announce-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/i-d-announce>
List-Post: <mailto:i-d-announce@ietf.org>
List-Help: <mailto:i-d-announce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i-d-announce>,
	<mailto:i-d-announce-request@ietf.org?subject=subscribe>
Sender: i-d-announce-bounces@ietf.org
Errors-To: i-d-announce-bounces@ietf.org

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Site Multihoming by IPv6 Intermediation Working Group of the IETF.


	Title           : Socket Application Program Interface (API) for Multihoming Shim
	Author(s)       : M. Komu, et al.
	Filename        : draft-ietf-shim6-multihome-shim-api-11.txt
	Pages           : 44
	Date            : 2009-12-07

This document specifies sockets API extensions for the multihoming
shim layer.  The API aims to enable interactions between applications
and the multihoming shim layer for advanced locator management, and
access to information about failure detection and path exploration.

This document is based on an assumption that a multihomed host is
equipped with a conceptual sub-layer (hereafter "shim") inside the IP
layer that maintains mappings between identifiers and locators.
Examples of the shim are SHIM6 and HIP.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-11.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-shim6-multihome-shim-api-11.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-12-07022026.I-D@ietf.org>


--NextPart
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

--NextPart--


--------------000607060700000703010903--

From gih@apnic.net  Mon Dec  7 11:19:16 2009
Return-Path: <gih@apnic.net>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 807813A65A6 for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 11:19:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v8ibjrnsV9YK for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 11:19:15 -0800 (PST)
Received: from asmtp.apnic.net (asmtp.apnic.net [IPv6:2001:dc0:2001:11::199]) by core3.amsl.com (Postfix) with ESMTP id 9114E3A6972 for <shim6@ietf.org>; Mon,  7 Dec 2009 11:19:02 -0800 (PST)
Received: from [IPv6:2001:dc0:2001:10:226:b0ff:fef0:5d2a] (unknown [IPv6:2001:dc0:2001:10:226:b0ff:fef0:5d2a]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by asmtp.apnic.net (Postfix) with ESMTP id D2CADD58C0; Tue,  8 Dec 2009 05:31:08 +1000 (EST)
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset=us-ascii
From: Geoff Huston <gih@apnic.net>
In-Reply-To: <4B1CD8D8.4060107@sfc.wide.ad.jp>
Date: Tue, 8 Dec 2009 06:18:49 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <DA9BC81B-51F7-40D2-9E86-9A623868E73E@apnic.net>
References: <4B1CD8D8.4060107@sfc.wide.ad.jp>
To: Shinta Sugimoto <shinta@sfc.wide.ad.jp>
X-Mailer: Apple Mail (2.1077)
Cc: shim6@ietf.org
Subject: Re: [shim6] [Fwd: I-D Action:draft-ietf-shim6-multihome-shim-api-11.txt]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Dec 2009 19:19:16 -0000

Are you requesting a Working Group Last Call on this document?

regards,

  Geoff


On 07/12/2009, at 9:28 PM, Shinta Sugimoto wrote:

> Dear SHIM6 WG members,
>=20
> As you can see, we have submitted an updated version of the multihome
> shim API document.
>=20
> =
http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-11=
.txt
>=20
> We are aiming at completing this work by publishing an informational
> RFC.  Basically, the current version of the draft is supposed to clear
> all the remaining issues that arose so far.  We really want to receive
> your feedbacks on the document.  Thank you very much.
>=20
> Regards,
> Shinta
>=20
> From: Internet-Drafts@ietf.org
> Date: 7 December 2009 9:30:01 PM AEDT
> To: i-d-announce@ietf.org
> Cc: shim6@psg.com
> Subject: I-D Action:draft-ietf-shim6-multihome-shim-api-11.txt=20
> Reply-To: internet-drafts@ietf.org
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Site Multihoming by IPv6 =
Intermediation Working Group of the IETF.
>=20
>=20
> 	Title           : Socket Application Program Interface (API) for =
Multihoming Shim
> 	Author(s)       : M. Komu, et al.
> 	Filename        : draft-ietf-shim6-multihome-shim-api-11.txt
> 	Pages           : 44
> 	Date            : 2009-12-07
>=20
> This document specifies sockets API extensions for the multihoming
> shim layer.  The API aims to enable interactions between applications
> and the multihoming shim layer for advanced locator management, and
> access to information about failure detection and path exploration.
>=20
> This document is based on an assumption that a multihomed host is
> equipped with a conceptual sub-layer (hereafter "shim") inside the IP
> layer that maintains mappings between identifiers and locators.
> Examples of the shim are SHIM6 and HIP.
>=20
> A URL for this Internet-Draft is:
> =
http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-11=
.txt
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft.
> <Mail Attachment>_______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>=20
>=20
> _______________________________________________
> shim6 mailing list
> shim6@ietf.org
> https://www.ietf.org/mailman/listinfo/shim6


From marcelo@it.uc3m.es  Mon Dec  7 11:26:59 2009
Return-Path: <marcelo@it.uc3m.es>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 72BEE3A68CB for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 11:26:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qA9KL41sxbRN for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 11:26:58 -0800 (PST)
Received: from smtp03.uc3m.es (smtp03.uc3m.es [163.117.176.133]) by core3.amsl.com (Postfix) with ESMTP id 410163A659A for <shim6@ietf.org>; Mon,  7 Dec 2009 11:26:57 -0800 (PST)
Received: from marcelo-bagnulos-macbook-pro.local (dial-b3-107-190.telepac.pt [213.13.107.190]) by smtp03.uc3m.es (Postfix) with ESMTP id 10CC57F3FF0; Mon,  7 Dec 2009 20:26:46 +0100 (CET)
Message-ID: <4B1D56F5.8080300@it.uc3m.es>
Date: Mon, 07 Dec 2009 20:26:45 +0100
From: marcelo bagnulo braun <marcelo@it.uc3m.es>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: Geoff Huston <gih@apnic.net>
References: <4B1CD8D8.4060107@sfc.wide.ad.jp> <DA9BC81B-51F7-40D2-9E86-9A623868E73E@apnic.net>
In-Reply-To: <DA9BC81B-51F7-40D2-9E86-9A623868E73E@apnic.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-TM-AS-Product-Ver: IMSS-7.0.0.3116-6.0.0.1038-17004.003
Cc: shim6@ietf.org
Subject: Re: [shim6] [Fwd: I-D	Action:draft-ietf-shim6-multihome-shim-api-11.txt]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Dec 2009 19:26:59 -0000

Hi Geoff,

yes, we think the document is ready for WGLC.

Thanks, marcelo


Geoff Huston escribió:
> Are you requesting a Working Group Last Call on this document?
>
> regards,
>
>   Geoff
>
>
> On 07/12/2009, at 9:28 PM, Shinta Sugimoto wrote:
>
>   
>> Dear SHIM6 WG members,
>>
>> As you can see, we have submitted an updated version of the multihome
>> shim API document.
>>
>> http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-11.txt
>>
>> We are aiming at completing this work by publishing an informational
>> RFC.  Basically, the current version of the draft is supposed to clear
>> all the remaining issues that arose so far.  We really want to receive
>> your feedbacks on the document.  Thank you very much.
>>
>> Regards,
>> Shinta
>>
>> From: Internet-Drafts@ietf.org
>> Date: 7 December 2009 9:30:01 PM AEDT
>> To: i-d-announce@ietf.org
>> Cc: shim6@psg.com
>> Subject: I-D Action:draft-ietf-shim6-multihome-shim-api-11.txt 
>> Reply-To: internet-drafts@ietf.org
>>
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>> This draft is a work item of the Site Multihoming by IPv6 Intermediation Working Group of the IETF.
>>
>>
>> 	Title           : Socket Application Program Interface (API) for Multihoming Shim
>> 	Author(s)       : M. Komu, et al.
>> 	Filename        : draft-ietf-shim6-multihome-shim-api-11.txt
>> 	Pages           : 44
>> 	Date            : 2009-12-07
>>
>> This document specifies sockets API extensions for the multihoming
>> shim layer.  The API aims to enable interactions between applications
>> and the multihoming shim layer for advanced locator management, and
>> access to information about failure detection and path exploration.
>>
>> This document is based on an assumption that a multihomed host is
>> equipped with a conceptual sub-layer (hereafter "shim") inside the IP
>> layer that maintains mappings between identifiers and locators.
>> Examples of the shim are SHIM6 and HIP.
>>
>> A URL for this Internet-Draft is:
>> http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-11.txt
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> Below is the data which will enable a MIME compliant mail reader
>> implementation to automatically retrieve the ASCII version of the
>> Internet-Draft.
>> <Mail Attachment>_______________________________________________
>> I-D-Announce mailing list
>> I-D-Announce@ietf.org
>> https://www.ietf.org/mailman/listinfo/i-d-announce
>> Internet-Draft directories: http://www.ietf.org/shadow.html
>> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>>
>>
>> _______________________________________________
>> shim6 mailing list
>> shim6@ietf.org
>> https://www.ietf.org/mailman/listinfo/shim6
>>     
>
> _______________________________________________
> shim6 mailing list
> shim6@ietf.org
> https://www.ietf.org/mailman/listinfo/shim6
>
>   


From gih@apnic.net  Mon Dec  7 12:14:53 2009
Return-Path: <gih@apnic.net>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F9F03A6944 for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 12:14:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WhQMG9MGB2IC for <shim6@core3.amsl.com>; Mon,  7 Dec 2009 12:14:52 -0800 (PST)
Received: from asmtp.apnic.net (asmtp.apnic.net [IPv6:2001:dc0:2001:11::199]) by core3.amsl.com (Postfix) with ESMTP id 56DA43A692F for <shim6@ietf.org>; Mon,  7 Dec 2009 12:14:51 -0800 (PST)
Received: from [IPv6:2001:dc0:2001:10:226:b0ff:fef0:5d2a] (unknown [IPv6:2001:dc0:2001:10:226:b0ff:fef0:5d2a]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by asmtp.apnic.net (Postfix) with ESMTP id 2CBE7D58C0; Tue,  8 Dec 2009 06:26:58 +1000 (EST)
From: Geoff Huston <gih@apnic.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 8 Dec 2009 07:14:38 +1100
Message-Id: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net>
To: shim6@ietf.org
Mime-Version: 1.0 (Apple Message framework v1077)
X-Mailer: Apple Mail (2.1077)
Cc: kristian.slavov@ericsson.com, miika@iki.fi, shinta.sugimoto@ericsson.com
Subject: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Dec 2009 20:14:53 -0000

The WG chairs have received a Working Group Last Call request from the =
authors of draft-ietf-shim6-multihome-shim-api-11.txt. The intended =
status of this document is Informational. The document (and the draft =
history) is at =
http://tools.ietf.org/html/draft-ietf-shim6-multihome-shim-api-11

The 2 week WG Last Call will end as of the close of business on Tuesday =
22nd December.

As usual, please address all comments to the SHIM6 WG mailing list, and =
please be clear in your comments to this WG last call if you are =
supporting the document's submission to the IESG or if you are opposed, =
or if you are not expressing a view either way.=20


Thanks,

 Geoff

WG Co-CHair hat ON


From brian.e.carpenter@gmail.com  Sat Dec 12 20:23:58 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B5B3B3A6810 for <shim6@core3.amsl.com>; Sat, 12 Dec 2009 20:23:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k8hyxFd39oc5 for <shim6@core3.amsl.com>; Sat, 12 Dec 2009 20:23:57 -0800 (PST)
Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by core3.amsl.com (Postfix) with ESMTP id 4F6783A67B2 for <shim6@ietf.org>; Sat, 12 Dec 2009 20:23:57 -0800 (PST)
Received: by ywh15 with SMTP id 15so2136940ywh.5 for <shim6@ietf.org>; Sat, 12 Dec 2009 20:23:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=37Cy1R/2mYhcGCwAATvOcJjv7eM09uxvAxYwskpoIn4=; b=ikXh3g0xB8XgO1JT9p3zMlnZdST/v8KJHSPx5yFJQb5PhNI7bxiBKzQiyf8tCvlGx+ wLj84Er/54c+OJkt4vOBjYzKxvXjcfJzX768+xr5yp5oCnxa9a/c/Fy98M/5b+osSt3I +e1vDgoX1/IBklc7kg45vhmEMBsWWWBA0Hluw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=MvxBIqMmXhEnR9ZghIE+fHaY5q+Dgis0FfdMKp0UfupiMz8EeeDSHNIrUpbirP9w4E 76RysfxmI7OOlQYD/xn9t7ZX+EVrbaxNrmevCuH9pEPwvgHdldxag9iIaz3fCZR56non h4lZXw0InQCuxG7+o0jOulpjixAMwzK+i5/+k=
Received: by 10.150.6.32 with SMTP id 32mr5103693ybf.114.1260678221221; Sat, 12 Dec 2009 20:23:41 -0800 (PST)
Received: from ?10.1.1.4? ([121.98.142.15]) by mx.google.com with ESMTPS id 22sm2541397iwn.8.2009.12.12.20.23.38 (version=SSLv3 cipher=RC4-MD5); Sat, 12 Dec 2009 20:23:40 -0800 (PST)
Message-ID: <4B246C43.9030003@gmail.com>
Date: Sun, 13 Dec 2009 17:23:31 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: shim6@ietf.org
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net>
In-Reply-To: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: shinta.sugimoto@ericsson.com, kristian.slavov@ericsson.com, miika@iki.fi
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Dec 2009 04:23:58 -0000

Hi,

First a confession, I have never seriously looked at the earlier
versions, so I apologise if I am covering old ground.

Basically this looks good to me, but I think it isn't quite ready.

I don't really like the first three paragraphs of the Introduction.
The tone is almost apologetic somehow. Could we be more clear,
really just by starting something like

  This document defines socket API extensions by which upper layer
  protocols may be informed about and control the way in which
  multihoming shims in the IP layer manage the dynamic choice of
  locators. Initially it applies to SHIM6 and HIP, but it is defined
  generically.

and then present the main features of the shims and loc-id separation.
(Also see my later comment about the Conclusion section.)

Also in the Introduction

>    This document recommends that the switching of identifier and locator
>    is done only once inside the TCP/IP stack of an endhost.  That is, if
>    multiple shim sub-layers exist at the IP layer, any one of them
>    should be applied exclusively for a given flow.

I agree with this, but does it really belong in the API spec? It seems
more like something for an applicability statement. However, if this
stays, I think it should be very explicit, adding something like:

  Specifically, only one of SHIM6 and HIP should be in use, and neither
  of them are compatible with SCTP or multipath TCP.

(see http://www.ietf.org/mail-archive/web/multipathtcp/current/msg00178.html
for example)

> 2.  Terminology
...
>    o  Endpoint identifier (EID) - The identifier used by the application
>       to specify the endpoint of a given communication.  Applications
>       may handle EIDs in various ways such as long-lived connections,
>       callbacks, and referrals[I-D.ietf-shim6-app-refer].
>       *  In the case of SHIM6, an identifier called a ULID serves as an
>          EID.  A ULID is chosen from locators available on the host.
>       *  In the case of HIP, an identifier called a Host Identifier
>          serves as an EID.  A Host Identifier is derived from the public
>          key of a given host.  For the sake of backward compatibility
>          with the sockets API, the Host Identifier is represented in a
>          form of hash of public key.

We might add a clarification that the EID appears in the standard
socket API as an address, and does not appear in the extensions defined
in this document, which only concern locators.

> 4.  Requirements
...
>    o  Turn on/off shim.  An application should be able to request to
>       turn on or turn off the multihoming support by the shim layer:
>       *  Apply shim.  The application should be able to explicitly
>          request the shim sub-layer to apply multihoming support.
>       *  Don't apply shim.  The application should be able to request
>          the shim sub-layer not to apply the multihoming support but to
>          apply normal IP processing at the IP layer.

We might add a note that this function is also required by any multipath
transport layer such as SCTP or MPTCP, with the details being operating
system dependent.

> 11.  Discussion
> 
>    In this section, open issues are introduced.

This section is non-normative. I think it should be an appendix.

> 12.  Changes

This section seems to be in a strange place, but in any case it should
be marked for deletion by the RFC Editor.

> 14.  Security Considerations

It seems to me that the Unknown Locator mechanism described in
section 11.4 might act as a bypass for the security mechanism
applied by the shim.

> 15.  Conclusion

We don't normally put conclusions in RFCs. Actually, the content
seems to belong in the Introduction.

> Appendix A.  Context Forking
...
>    Another viable approach is to extend SHIM6 protocol by adding
>    capability of exchanging additional information to identify the
>    packet flow from others which needs to be handled by a newly forked
>    context.  The information exchange can be done during the context
>    establishment.  The initiator appends 5 tuple of the packet flow to
>    be handled by the newly forked context.  Note that the additional
>    information provided by the 5 tuple are source and destination port
>    numbers and upper layer protocol.  The information is later used by
>    the shim sub-layer to multiplex the outbound packet flow on the
>    responder side.

Hold on, this is hypothetical protocol design in a non-normative
appendix of an API spec. That seems completely out of place. If
this issue is important, maybe the whole appendix should be a
separate draft?

     Brian

From brian.e.carpenter@gmail.com  Sun Dec 13 11:43:07 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3923A3A635F for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 11:43:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UW8gnepCR8d8 for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 11:43:05 -0800 (PST)
Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by core3.amsl.com (Postfix) with ESMTP id BC8F53A682F for <shim6@ietf.org>; Sun, 13 Dec 2009 11:43:05 -0800 (PST)
Received: by pwi20 with SMTP id 20so1696651pwi.29 for <shim6@ietf.org>; Sun, 13 Dec 2009 11:42:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=3VlEz/aOvO2IcCl3dAAlMi2JJos6/b5M160wwLEtRow=; b=hbRAd9cemFsYMwreyjshaGDiEjRjJFRB6OeSb3Wgktqu59+6M2mS1kgNNRA+giN4qH 8CIuqk/z24FfutufdbYO921KLzh1XpBN2iHJnq6k6BnD3fI1lCJhkkTfD0Fl9Gb5Dto6 GBn5kvkIyM+cz/aWx1sgA09X0qLaGEXiA5Sqk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=se+4CxEx2KJcaFQNDil3rBvR4VsqRBv1Zu6QplROqU+b1wbtVhYmkMXWY4IG6HmPu7 7xIfkzZ0M7vcaq7FvVuZH/VM561Eh2gw4tv+TqnM7H7CNPNEcvsRSuYLW2qwN3UFMnp+ OBGIRwchd32aiTvlZ/gfwSbtiJMHnJFi8eDOk=
Received: by 10.114.237.7 with SMTP id k7mr2552541wah.151.1260733370237; Sun, 13 Dec 2009 11:42:50 -0800 (PST)
Received: from ?10.1.1.4? ([121.98.142.15]) by mx.google.com with ESMTPS id 21sm4297858pzk.7.2009.12.13.11.42.47 (version=SSLv3 cipher=RC4-MD5); Sun, 13 Dec 2009 11:42:49 -0800 (PST)
Message-ID: <4B2543AD.5080102@gmail.com>
Date: Mon, 14 Dec 2009 08:42:37 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: miika.komu@hiit.fi
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com> <4B24E0DD.5090008@hiit.fi>
In-Reply-To: <4B24E0DD.5090008@hiit.fi>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: shinta.sugimoto@ericsson.com, shim6@ietf.org, kristian.slavov@ericsson.com, miika@iki.fi
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Dec 2009 19:43:07 -0000

Hi Miika,


On 2009-12-14 01:41, Miika Komu wrote:
> Brian E Carpenter wrote:
> 
> Hi,
> 
> thanks for your comments! I basically I agree with the rest of your
> comments, but I think the comments on SCTP and multipath TCP needs more
> discussion.
> 
>> ...
>> Also in the Introduction
>>
>>>    This document recommends that the switching of identifier and locator
>>>    is done only once inside the TCP/IP stack of an endhost.  That is, if
>>>    multiple shim sub-layers exist at the IP layer, any one of them
>>>    should be applied exclusively for a given flow.
>>
>> I agree with this, but does it really belong in the API spec? It seems
>> more like something for an applicability statement. However, if this
>> stays, I think it should be very explicit, adding something like:
>>
>>   Specifically, only one of SHIM6 and HIP should be in use, and neither
>>   of them are compatible with SCTP or multipath TCP.
> 
> this interesting grey area at least for me. Why SHIM6 and HIP are not
> compatible with SCTP and mTCP? Both SHIM6 and HIP are low layer
> mechanisms where as SCTP and mTCP are operating at the transport layer.
> I'm not sure if the SHIM protocols are incompatible with the transport
> layer ones, but they do offer somewhat overlapping functionality.
> 
>> (see
>> http://www.ietf.org/mail-archive/web/multipathtcp/current/msg00178.html
>> for example)
> 
> Are you familiar with this work:
> 
> http://tools.ietf.org/html/draft-pierrel-hip-sima-00
> http://www.cs.helsinki.fi/u/gurtov/papers/broadnets09.pdf

No, those are new to me. But they do help to show exactly why this
is a grey area. I believe that in shim6 we've always assumed an
incompatibility between shim6 and SCTP (two different algorithms
for changing locators). MPTCP is a bit too new to be sure, but
since it assumes using several locators simultaneously and shim6
assumes using one locator at a time, again it seems incompatible.

But really, that's why I think the whole discussion doesn't
belong in the API spec, except perhaps as an open issue. See
below.

> 
>>> 4.  Requirements
>> ...
>>>    o  Turn on/off shim.  An application should be able to request to
>>>       turn on or turn off the multihoming support by the shim layer:
>>>       *  Apply shim.  The application should be able to explicitly
>>>          request the shim sub-layer to apply multihoming support.
>>>       *  Don't apply shim.  The application should be able to request
>>>          the shim sub-layer not to apply the multihoming support but to
>>>          apply normal IP processing at the IP layer.
>>
>> We might add a note that this function is also required by any multipath
>> transport layer such as SCTP or MPTCP, with the details being operating
>> system dependent.
> 
> Just based on your earlier incompatibility statement, I don't really see
> why we should drag SCTP and mTCP all the way here, but I'll wait for
> your comments on the incompatibility first.

Yes, it isn't part of the socket API. I was only suggesting a small note.

There is some discussion of this topic in draft-ietf-shim6-applicability.
My feeling is that probably we should remove it all from the API spec,
and add any missing points to draft-ietf-shim6-applicability, which can
then be an Informative reference.

    Brian

From miika.komu@hiit.fi  Sun Dec 13 04:41:10 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A23173A6825 for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 04:41:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.524
X-Spam-Level: 
X-Spam-Status: No, score=-2.524 tagged_above=-999 required=5 tests=[AWL=0.075,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPmdgATlyf7F for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 04:41:09 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id 33F553A67B7 for <shim6@ietf.org>; Sun, 13 Dec 2009 04:41:09 -0800 (PST)
Received: from [192.168.0.2] (cs27096138.pp.htv.fi [89.27.96.138]) by argo.otaverkko.fi (Postfix) with ESMTP id CD05225ED0E; Sun, 13 Dec 2009 14:40:55 +0200 (EET)
Message-ID: <4B24E0DD.5090008@hiit.fi>
Date: Sun, 13 Dec 2009 14:41:01 +0200
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com>
In-Reply-To: <4B246C43.9030003@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sun, 13 Dec 2009 19:18:11 -0800
Cc: shinta.sugimoto@ericsson.com, shim6@ietf.org, kristian.slavov@ericsson.com, miika@iki.fi
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Dec 2009 12:41:10 -0000

Brian E Carpenter wrote:

Hi,

thanks for your comments! I basically I agree with the rest of your 
comments, but I think the comments on SCTP and multipath TCP needs more 
discussion.

 > ...
> Also in the Introduction
> 
>>    This document recommends that the switching of identifier and locator
>>    is done only once inside the TCP/IP stack of an endhost.  That is, if
>>    multiple shim sub-layers exist at the IP layer, any one of them
>>    should be applied exclusively for a given flow.
> 
> I agree with this, but does it really belong in the API spec? It seems
> more like something for an applicability statement. However, if this
> stays, I think it should be very explicit, adding something like:
> 
>   Specifically, only one of SHIM6 and HIP should be in use, and neither
>   of them are compatible with SCTP or multipath TCP.

this interesting grey area at least for me. Why SHIM6 and HIP are not 
compatible with SCTP and mTCP? Both SHIM6 and HIP are low layer 
mechanisms where as SCTP and mTCP are operating at the transport layer. 
I'm not sure if the SHIM protocols are incompatible with the transport 
layer ones, but they do offer somewhat overlapping functionality.

> (see http://www.ietf.org/mail-archive/web/multipathtcp/current/msg00178.html
> for example)

Are you familiar with this work:

http://tools.ietf.org/html/draft-pierrel-hip-sima-00
http://www.cs.helsinki.fi/u/gurtov/papers/broadnets09.pdf

>> 4.  Requirements
> ...
>>    o  Turn on/off shim.  An application should be able to request to
>>       turn on or turn off the multihoming support by the shim layer:
>>       *  Apply shim.  The application should be able to explicitly
>>          request the shim sub-layer to apply multihoming support.
>>       *  Don't apply shim.  The application should be able to request
>>          the shim sub-layer not to apply the multihoming support but to
>>          apply normal IP processing at the IP layer.
> 
> We might add a note that this function is also required by any multipath
> transport layer such as SCTP or MPTCP, with the details being operating
> system dependent.

Just based on your earlier incompatibility statement, I don't really see 
why we should drag SCTP and mTCP all the way here, but I'll wait for 
your comments on the incompatibility first.

From miika.komu@hiit.fi  Sun Dec 13 05:21:50 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9444A3A6823 for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 05:21:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.539
X-Spam-Level: 
X-Spam-Status: No, score=-2.539 tagged_above=-999 required=5 tests=[AWL=0.060,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GP70HUEaZEMq for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 05:21:49 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id A9AF13A6781 for <shim6@ietf.org>; Sun, 13 Dec 2009 05:21:48 -0800 (PST)
Received: from [192.168.0.2] (cs27096138.pp.htv.fi [89.27.96.138]) by argo.otaverkko.fi (Postfix) with ESMTP id EA2ED25ED0E; Sun, 13 Dec 2009 15:21:35 +0200 (EET)
Message-ID: <4B24EA65.3000202@hiit.fi>
Date: Sun, 13 Dec 2009 15:21:41 +0200
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: shim6@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sun, 13 Dec 2009 19:18:20 -0800
Cc: Kristian Slavov <Kristian.Slavov@ericsson.com>
Subject: [shim6] SHIM API and unconnected sockets
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Dec 2009 13:21:50 -0000

Hi,

the applicability of unconnected sockets says:

    6.4. Notification from Multihoming Shim Sub-layer to Application

    ..

    There is no restriction in terms of applicability of the notification
    about locator change.  The notification can be delivered to sockets
    regardless of if it is connected or unconnected, stream-oriented or
    datagram-oriented.

However, the shim6 locator API has to have a field for the ULID or 
otherwise an unconnected application cannot distinguish the context:

    7.1. Placeholder for Locator Information

    ...
        struct shim_locator {
                 uint8_t    lc_family;       /* address family */
                 uint8_t    lc_proto;        /* protocol */
                 uint16_t   lc_port;         /* port number */
                 uint16_t   lc_flags;        /* flags */
                 uint16_t   lc_pref;         /* preference value */
                 uint32_t   lc_ifidx;        /* interface index */
                 struct in6_addr lc_addr;    /* address */
         };

So, I think we need a struct in6_addr lc_ulid here and explain it in the 
text.

From miika.komu@hiit.fi  Sun Dec 13 14:27:05 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 76EB53A6877 for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 14:27:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level: 
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.043,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zZ19EpLM+NRe for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 14:27:04 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id EDCDF3A6951 for <shim6@ietf.org>; Sun, 13 Dec 2009 14:27:03 -0800 (PST)
Received: from ip104.infrahip.net (cs27096138.pp.htv.fi [89.27.96.138]) by argo.otaverkko.fi (Postfix) with ESMTP id 8786325ED0F; Mon, 14 Dec 2009 00:26:50 +0200 (EET)
Message-ID: <4B256A29.5080608@hiit.fi>
Date: Sun, 13 Dec 2009 23:26:49 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com> <4B24E0DD.5090008@hiit.fi> <4B2543AD.5080102@gmail.com>
In-Reply-To: <4B2543AD.5080102@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sun, 13 Dec 2009 19:18:20 -0800
Cc: shim6@ietf.org, kristian.slavov@ericsson.com, shinta.sugimoto@ericsson.com
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Dec 2009 22:27:05 -0000

Brian E Carpenter wrote:

Hi,

I think adding a reference to the SHIM6 applicability document is a good 
idea.

> Hi Miika,
> 
> 
> On 2009-12-14 01:41, Miika Komu wrote:
>> Brian E Carpenter wrote:
>>
>> Hi,
>>
>> thanks for your comments! I basically I agree with the rest of your
>> comments, but I think the comments on SCTP and multipath TCP needs more
>> discussion.
>>
>>> ...
>>> Also in the Introduction
>>>
>>>>    This document recommends that the switching of identifier and locator
>>>>    is done only once inside the TCP/IP stack of an endhost.  That is, if
>>>>    multiple shim sub-layers exist at the IP layer, any one of them
>>>>    should be applied exclusively for a given flow.
>>> I agree with this, but does it really belong in the API spec? It seems
>>> more like something for an applicability statement. However, if this
>>> stays, I think it should be very explicit, adding something like:
>>>
>>>   Specifically, only one of SHIM6 and HIP should be in use, and neither
>>>   of them are compatible with SCTP or multipath TCP.
>> this interesting grey area at least for me. Why SHIM6 and HIP are not
>> compatible with SCTP and mTCP? Both SHIM6 and HIP are low layer
>> mechanisms where as SCTP and mTCP are operating at the transport layer.
>> I'm not sure if the SHIM protocols are incompatible with the transport
>> layer ones, but they do offer somewhat overlapping functionality.
>>
>>> (see
>>> http://www.ietf.org/mail-archive/web/multipathtcp/current/msg00178.html
>>> for example)
>> Are you familiar with this work:
>>
>> http://tools.ietf.org/html/draft-pierrel-hip-sima-00
>> http://www.cs.helsinki.fi/u/gurtov/papers/broadnets09.pdf
> 
> No, those are new to me. But they do help to show exactly why this
> is a grey area. I believe that in shim6 we've always assumed an
> incompatibility between shim6 and SCTP (two different algorithms
> for changing locators). MPTCP is a bit too new to be sure, but
> since it assumes using several locators simultaneously and shim6
> assumes using one locator at a time, again it seems incompatible.
> 
> But really, that's why I think the whole discussion doesn't
> belong in the API spec, except perhaps as an open issue. See
> below.
> 
>>>> 4.  Requirements
>>> ...
>>>>    o  Turn on/off shim.  An application should be able to request to
>>>>       turn on or turn off the multihoming support by the shim layer:
>>>>       *  Apply shim.  The application should be able to explicitly
>>>>          request the shim sub-layer to apply multihoming support.
>>>>       *  Don't apply shim.  The application should be able to request
>>>>          the shim sub-layer not to apply the multihoming support but to
>>>>          apply normal IP processing at the IP layer.
>>> We might add a note that this function is also required by any multipath
>>> transport layer such as SCTP or MPTCP, with the details being operating
>>> system dependent.
>> Just based on your earlier incompatibility statement, I don't really see
>> why we should drag SCTP and mTCP all the way here, but I'll wait for
>> your comments on the incompatibility first.
> 
> Yes, it isn't part of the socket API. I was only suggesting a small note.
> 
> There is some discussion of this topic in draft-ietf-shim6-applicability.
> My feeling is that probably we should remove it all from the API spec,
> and add any missing points to draft-ietf-shim6-applicability, which can
> then be an Informative reference.
> 
>     Brian


From shinta.sugimoto@ericsson.com  Sun Dec 13 20:24:29 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E0E9A3A67FC for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 20:24:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZGU1SqOQuY8v for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 20:24:28 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 041823A672E for <shim6@ietf.org>; Sun, 13 Dec 2009 20:24:27 -0800 (PST)
X-AuditID: c1b4fb3c-b7b8dae0000047e9-d5-4b25bdeddbf3
Received: from esessmw0256.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 24.EC.18409.DEDB52B4; Mon, 14 Dec 2009 05:24:13 +0100 (CET)
Received: from esgscmw0009.eapac.ericsson.se (146.11.115.34) by esessmw0256.eemea.ericsson.se (153.88.115.97) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 14 Dec 2009 05:24:13 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.36]) by esgscmw0009.eapac.ericsson.se ([146.11.115.34]) with mapi; Mon, 14 Dec 2009 12:23:38 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "shim6@ietf.org" <shim6@ietf.org>
Date: Mon, 14 Dec 2009 12:23:35 +0800
Thread-Topic: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
Thread-Index: Acp7rBFajtD7Ov/CSTmx+ziNSK5FOAAwIjpg
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com>
In-Reply-To: <4B246C43.9030003@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Dec 2009 04:24:30 -0000

Hi Brian,

Thank you very much for your comments. Please find my comments inline.

Let me address my opinion on compatibility issue of SHIM/HIP and SCTP/multi=
-path TCP in another threads.=20

> -----Original Message-----
> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]=20
> Sent: Sunday, December 13, 2009 5:24 AM
> To: shim6@ietf.org
> Cc: Kristian Slavov; miika@iki.fi; Shinta Sugimoto
> Subject: Re: [shim6] WG Last Call for=20
> draft-ietf-shim6-multihome-shim-api
>=20
> Hi,
>=20
> First a confession, I have never seriously looked at the=20
> earlier versions, so I apologise if I am covering old ground.
>=20
> Basically this looks good to me, but I think it isn't quite ready.
>=20
> I don't really like the first three paragraphs of the Introduction.
> The tone is almost apologetic somehow. Could we be more=20
> clear, really just by starting something like
>=20
>   This document defines socket API extensions by which upper layer
>   protocols may be informed about and control the way in which
>   multihoming shims in the IP layer manage the dynamic choice of
>   locators. Initially it applies to SHIM6 and HIP, but it is defined
>   generically.
>=20
> and then present the main features of the shims and loc-id separation.
> (Also see my later comment about the Conclusion section.)

Ok, let us revise the text as you suggeted.  BTW, the intention of the thre=
e paragraphs in the
currerent text is to provide explanation to people who ask "HIP/SHIM6 aims =
at
hiding locators from applications, doesn't it? Then why you specify somethi=
ng
which requires applications to deal with locators?"  But I guess texts were=
 not so clear.

> Also in the Introduction
>=20
> >    This document recommends that the switching of=20
> identifier and locator
> >    is done only once inside the TCP/IP stack of an endhost.=20
>  That is, if
> >    multiple shim sub-layers exist at the IP layer, any one of them
> >    should be applied exclusively for a given flow.
>=20
> I agree with this, but does it really belong in the API spec?=20
> It seems more like something for an applicability statement.=20
> However, if this stays, I think it should be very explicit,=20
> adding something like:

I agree that this is a generic issue in SHIM6/HIP and it is more like appli=
cability statement.
Let us revise the text.

>   Specifically, only one of SHIM6 and HIP should be in use,=20
> and neither
>   of them are compatible with SCTP or multipath TCP.
>=20
> (see=20
> http://www.ietf.org/mail-archive/web/multipathtcp/current/msg0
> 0178.html
> for example)

Let me comment in different thread about compatibility issue.

> > 2.  Terminology
> ...
> >    o  Endpoint identifier (EID) - The identifier used by=20
> the application
> >       to specify the endpoint of a given communication. =20
> Applications
> >       may handle EIDs in various ways such as long-lived=20
> connections,
> >       callbacks, and referrals[I-D.ietf-shim6-app-refer].
> >       *  In the case of SHIM6, an identifier called a ULID=20
> serves as an
> >          EID.  A ULID is chosen from locators available on the host.
> >       *  In the case of HIP, an identifier called a Host Identifier
> >          serves as an EID.  A Host Identifier is derived=20
> from the public
> >          key of a given host.  For the sake of backward=20
> compatibility
> >          with the sockets API, the Host Identifier is=20
> represented in a
> >          form of hash of public key.
>=20
> We might add a clarification that the EID appears in the=20
> standard socket API as an address, and does not appear in the=20
> extensions defined in this document, which only concern locators.

I agree. Let us add this note in the explanation about EID.

> > 4.  Requirements
> ...
> >    o  Turn on/off shim.  An application should be able to request to
> >       turn on or turn off the multihoming support by the shim layer:
> >       *  Apply shim.  The application should be able to explicitly
> >          request the shim sub-layer to apply multihoming support.
> >       *  Don't apply shim.  The application should be able=20
> to request
> >          the shim sub-layer not to apply the multihoming=20
> support but to
> >          apply normal IP processing at the IP layer.
>=20
> We might add a note that this function is also required by=20
> any multipath transport layer such as SCTP or MPTCP, with the=20
> details being operating system dependent.

I think this relates to the compabilitiy issue, so let me state my view in =
differnet thread.

> > 11.  Discussion
> >=20
> >    In this section, open issues are introduced.
>=20
> This section is non-normative. I think it should be an appendix.

Ok.

> > 12.  Changes
>=20
> This section seems to be in a strange place, but in any case=20
> it should be marked for deletion by the RFC Editor.

Ok.

> > 14.  Security Considerations
>=20
> It seems to me that the Unknown Locator mechanism described=20
> in section 11.4 might act as a bypass for the security=20
> mechanism applied by the shim.

Let me clarify if I undertand your comment.
Yes, application may provide locator(s) which the multihome shim sub-layer
may not be aware of.  In principle, the reaction of the multihome shim sub-=
layer
must be aligned with what is stated in Section 7.2 (Locator Verification) o=
f
RFC 5533.  Besides, I think an error message must be returned to the applic=
ation
when it tries to use unknown locator as the source address for outbound use=
r traffic.
Does this cover your concern?

> > 15.  Conclusion
>=20
> We don't normally put conclusions in RFCs. Actually, the=20
> content seems to belong in the Introduction.

Ok.

> > Appendix A.  Context Forking
> ...
> >    Another viable approach is to extend SHIM6 protocol by adding
> >    capability of exchanging additional information to identify the
> >    packet flow from others which needs to be handled by a=20
> newly forked
> >    context.  The information exchange can be done during the context
> >    establishment.  The initiator appends 5 tuple of the=20
> packet flow to
> >    be handled by the newly forked context.  Note that the additional
> >    information provided by the 5 tuple are source and=20
> destination port
> >    numbers and upper layer protocol.  The information is=20
> later used by
> >    the shim sub-layer to multiplex the outbound packet flow on the
> >    responder side.
>=20
> Hold on, this is hypothetical protocol design in a=20
> non-normative appendix of an API spec. That seems completely=20
> out of place. If this issue is important, maybe the whole=20
> appendix should be a separate draft?

I see.  I agree that it should be outside the API spec.
The importance of the issue depends on frequency of the scenario
(i.e., multiple applications share the same SHIM6 context), I think.

Regards,
Shinta

From shinta.sugimoto@ericsson.com  Sun Dec 13 20:41:41 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 198253A67FC for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 20:41:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uSd9Z+4rKB1D for <shim6@core3.amsl.com>; Sun, 13 Dec 2009 20:41:39 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 68B4A3A657C for <shim6@ietf.org>; Sun, 13 Dec 2009 20:41:39 -0800 (PST)
X-AuditID: c1b4fb3c-b7b8dae0000047e9-11-4b25c1f1d22f
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id FD.1E.18409.1F1C52B4; Mon, 14 Dec 2009 05:41:21 +0100 (CET)
Received: from esessmw0191.eemea.ericsson.se (153.88.115.84) by esessmw0247.eemea.ericsson.se (153.88.115.93) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 14 Dec 2009 05:41:21 +0100
Received: from esgscmw0008.eapac.ericsson.se (146.11.115.33) by esessmw0191.eemea.ericsson.se (153.88.115.84) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 14 Dec 2009 05:41:21 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.36]) by esgscmw0008.eapac.ericsson.se ([146.11.115.33]) with mapi; Mon, 14 Dec 2009 12:41:18 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "miika.komu@hiit.fi" <miika.komu@hiit.fi>
Date: Mon, 14 Dec 2009 12:41:16 +0800
Thread-Topic: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
Thread-Index: Acp8LHgsadM4DnpyQt2zVUZWKA3xAgASU4Xw
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C408610A@ESGSCCMS0002.eapac.ericsson.se>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com> <4B24E0DD.5090008@hiit.fi> <4B2543AD.5080102@gmail.com>
In-Reply-To: <4B2543AD.5080102@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Dec 2009 04:41:41 -0000

Hi again,

With regard to the compability issue with SHIM6 and SCTP (and potentially m=
ulti-path TCP), I agree that we may need to put small note in the API spec.=
  I checked the applicability document (draft-ietf-shim6-applicability) and=
 I think what is stated in Section 7.3 (Shim6 and SCTP) is reasonable.

So, I think we should notes in the document stating that:

- it is not recommended to apply SHIM6 (or HIP) and any other multihoming m=
echanism to the IP flow by referring to draft-ietf-shim6-applicability
- we recommend SCTP and multipath TCP to have API to turn on/off the multih=
oming feature (so that the TCP/IP stack can avoid conflicting use of multih=
oming mechanisms)

Regards,
Shinta

> -----Original Message-----
> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]=20
> Sent: Sunday, December 13, 2009 8:43 PM
> To: miika.komu@hiit.fi
> Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi; Shinta Sugimoto
> Subject: Re: [shim6] WG Last Call for=20
> draft-ietf-shim6-multihome-shim-api
>=20
> Hi Miika,
>=20
>=20
> On 2009-12-14 01:41, Miika Komu wrote:
> > Brian E Carpenter wrote:
> >=20
> > Hi,
> >=20
> > thanks for your comments! I basically I agree with the rest of your=20
> > comments, but I think the comments on SCTP and multipath TCP needs=20
> > more discussion.
> >=20
> >> ...
> >> Also in the Introduction
> >>
> >>>    This document recommends that the switching of=20
> identifier and locator
> >>>    is done only once inside the TCP/IP stack of an=20
> endhost.  That is, if
> >>>    multiple shim sub-layers exist at the IP layer, any one of them
> >>>    should be applied exclusively for a given flow.
> >>
> >> I agree with this, but does it really belong in the API spec? It=20
> >> seems more like something for an applicability statement.=20
> However, if=20
> >> this stays, I think it should be very explicit, adding=20
> something like:
> >>
> >>   Specifically, only one of SHIM6 and HIP should be in=20
> use, and neither
> >>   of them are compatible with SCTP or multipath TCP.
> >=20
> > this interesting grey area at least for me. Why SHIM6 and=20
> HIP are not=20
> > compatible with SCTP and mTCP? Both SHIM6 and HIP are low layer=20
> > mechanisms where as SCTP and mTCP are operating at the=20
> transport layer.
> > I'm not sure if the SHIM protocols are incompatible with=20
> the transport=20
> > layer ones, but they do offer somewhat overlapping functionality.
> >=20
> >> (see
> >>=20
> http://www.ietf.org/mail-archive/web/multipathtcp/current/msg00178.ht
> >> ml
> >> for example)
> >=20
> > Are you familiar with this work:
> >=20
> > http://tools.ietf.org/html/draft-pierrel-hip-sima-00
> > http://www.cs.helsinki.fi/u/gurtov/papers/broadnets09.pdf
>=20
> No, those are new to me. But they do help to show exactly why=20
> this is a grey area. I believe that in shim6 we've always=20
> assumed an incompatibility between shim6 and SCTP (two=20
> different algorithms for changing locators). MPTCP is a bit=20
> too new to be sure, but since it assumes using several=20
> locators simultaneously and shim6 assumes using one locator=20
> at a time, again it seems incompatible.
>=20
> But really, that's why I think the whole discussion doesn't=20
> belong in the API spec, except perhaps as an open issue. See below.
>=20
> >=20
> >>> 4.  Requirements
> >> ...
> >>>    o  Turn on/off shim.  An application should be able to=20
> request to
> >>>       turn on or turn off the multihoming support by the=20
> shim layer:
> >>>       *  Apply shim.  The application should be able to explicitly
> >>>          request the shim sub-layer to apply multihoming support.
> >>>       *  Don't apply shim.  The application should be=20
> able to request
> >>>          the shim sub-layer not to apply the multihoming=20
> support but to
> >>>          apply normal IP processing at the IP layer.
> >>
> >> We might add a note that this function is also required by any=20
> >> multipath transport layer such as SCTP or MPTCP, with the details=20
> >> being operating system dependent.
> >=20
> > Just based on your earlier incompatibility statement, I=20
> don't really=20
> > see why we should drag SCTP and mTCP all the way here, but=20
> I'll wait=20
> > for your comments on the incompatibility first.
>=20
> Yes, it isn't part of the socket API. I was only suggesting a=20
> small note.
>=20
> There is some discussion of this topic in=20
> draft-ietf-shim6-applicability.
> My feeling is that probably we should remove it all from the=20
> API spec, and add any missing points to=20
> draft-ietf-shim6-applicability, which can then be an=20
> Informative reference.
>=20
>     Brian
> =

From brian.e.carpenter@gmail.com  Mon Dec 14 11:46:09 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 379DB3A68C4 for <shim6@core3.amsl.com>; Mon, 14 Dec 2009 11:46:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.587
X-Spam-Level: 
X-Spam-Status: No, score=-2.587 tagged_above=-999 required=5 tests=[AWL=0.012,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f22fiE9z111U for <shim6@core3.amsl.com>; Mon, 14 Dec 2009 11:46:07 -0800 (PST)
Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by core3.amsl.com (Postfix) with ESMTP id 9FB8D3A6873 for <shim6@ietf.org>; Mon, 14 Dec 2009 11:46:07 -0800 (PST)
Received: by ywh15 with SMTP id 15so3384638ywh.5 for <shim6@ietf.org>; Mon, 14 Dec 2009 11:45:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=dOMjiR03HhLOy28hZBXIy/tl0PfH8BMuORCA5sO39mI=; b=X8TCJ1Bs50b/qShoXtZ4SDTJw3AsJ6B0HRVNME0N1ilkmj82rRLit4SepbuiBe8+1M FQRLHYY5zTXxY/69gwambtudsnfj58fnS57M6fuoWMBf4V2dY+D6KGGHcW11md+Wv/BJ zfn4RW+frywWUdl6F+3tDzIl+FGXqRnEIoI2E=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=dWw/Tn9LzwHJvqI6hI6x5rXGz7OPSfE9Z4gnxdxuVmFekn4lpX/Tbp3/FMl5izvRMQ xwL437uxWU66dpNFJeSw0hOZF2yoM3ehBRRph/O4ZyGV3upHok/J0073qABxROuZvkQG M4A0mGCnfNjfs/yHYhV3RFd4RVMxyOlbLZIek=
Received: by 10.150.129.13 with SMTP id b13mr7873376ybd.314.1260819951594; Mon, 14 Dec 2009 11:45:51 -0800 (PST)
Received: from ?10.1.1.4? ([121.98.142.15]) by mx.google.com with ESMTPS id 6sm1645902ywd.37.2009.12.14.11.45.48 (version=SSLv3 cipher=RC4-MD5); Mon, 14 Dec 2009 11:45:51 -0800 (PST)
Message-ID: <4B2695E7.4060702@gmail.com>
Date: Tue, 15 Dec 2009 08:45:43 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com> <4B24E0DD.5090008@hiit.fi> <4B2543AD.5080102@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C408610A@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C408610A@ESGSCCMS0002.eapac.ericsson.se>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "miika.komu@hiit.fi" <miika.komu@hiit.fi>, "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Dec 2009 19:46:09 -0000

Agreed.

Regards
   Brian Carpenter

On 2009-12-14 17:41, Shinta Sugimoto wrote:
> Hi again,
> 
> With regard to the compability issue with SHIM6 and SCTP (and potentially multi-path TCP), I agree that we may need to put small note in the API spec.  I checked the applicability document (draft-ietf-shim6-applicability) and I think what is stated in Section 7.3 (Shim6 and SCTP) is reasonable.
> 
> So, I think we should notes in the document stating that:
> 
> - it is not recommended to apply SHIM6 (or HIP) and any other multihoming mechanism to the IP flow by referring to draft-ietf-shim6-applicability
> - we recommend SCTP and multipath TCP to have API to turn on/off the multihoming feature (so that the TCP/IP stack can avoid conflicting use of multihoming mechanisms)
> 
> Regards,
> Shinta
> 
>> -----Original Message-----
>> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com] 
>> Sent: Sunday, December 13, 2009 8:43 PM
>> To: miika.komu@hiit.fi
>> Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi; Shinta Sugimoto
>> Subject: Re: [shim6] WG Last Call for 
>> draft-ietf-shim6-multihome-shim-api
>>
>> Hi Miika,
>>
>>
>> On 2009-12-14 01:41, Miika Komu wrote:
>>> Brian E Carpenter wrote:
>>>
>>> Hi,
>>>
>>> thanks for your comments! I basically I agree with the rest of your 
>>> comments, but I think the comments on SCTP and multipath TCP needs 
>>> more discussion.
>>>
>>>> ...
>>>> Also in the Introduction
>>>>
>>>>>    This document recommends that the switching of 
>> identifier and locator
>>>>>    is done only once inside the TCP/IP stack of an 
>> endhost.  That is, if
>>>>>    multiple shim sub-layers exist at the IP layer, any one of them
>>>>>    should be applied exclusively for a given flow.
>>>> I agree with this, but does it really belong in the API spec? It 
>>>> seems more like something for an applicability statement. 
>> However, if 
>>>> this stays, I think it should be very explicit, adding 
>> something like:
>>>>   Specifically, only one of SHIM6 and HIP should be in 
>> use, and neither
>>>>   of them are compatible with SCTP or multipath TCP.
>>> this interesting grey area at least for me. Why SHIM6 and 
>> HIP are not 
>>> compatible with SCTP and mTCP? Both SHIM6 and HIP are low layer 
>>> mechanisms where as SCTP and mTCP are operating at the 
>> transport layer.
>>> I'm not sure if the SHIM protocols are incompatible with 
>> the transport 
>>> layer ones, but they do offer somewhat overlapping functionality.
>>>
>>>> (see
>>>>
>> http://www.ietf.org/mail-archive/web/multipathtcp/current/msg00178.ht
>>>> ml
>>>> for example)
>>> Are you familiar with this work:
>>>
>>> http://tools.ietf.org/html/draft-pierrel-hip-sima-00
>>> http://www.cs.helsinki.fi/u/gurtov/papers/broadnets09.pdf
>> No, those are new to me. But they do help to show exactly why 
>> this is a grey area. I believe that in shim6 we've always 
>> assumed an incompatibility between shim6 and SCTP (two 
>> different algorithms for changing locators). MPTCP is a bit 
>> too new to be sure, but since it assumes using several 
>> locators simultaneously and shim6 assumes using one locator 
>> at a time, again it seems incompatible.
>>
>> But really, that's why I think the whole discussion doesn't 
>> belong in the API spec, except perhaps as an open issue. See below.
>>
>>>>> 4.  Requirements
>>>> ...
>>>>>    o  Turn on/off shim.  An application should be able to 
>> request to
>>>>>       turn on or turn off the multihoming support by the 
>> shim layer:
>>>>>       *  Apply shim.  The application should be able to explicitly
>>>>>          request the shim sub-layer to apply multihoming support.
>>>>>       *  Don't apply shim.  The application should be 
>> able to request
>>>>>          the shim sub-layer not to apply the multihoming 
>> support but to
>>>>>          apply normal IP processing at the IP layer.
>>>> We might add a note that this function is also required by any 
>>>> multipath transport layer such as SCTP or MPTCP, with the details 
>>>> being operating system dependent.
>>> Just based on your earlier incompatibility statement, I 
>> don't really 
>>> see why we should drag SCTP and mTCP all the way here, but 
>> I'll wait 
>>> for your comments on the incompatibility first.
>> Yes, it isn't part of the socket API. I was only suggesting a 
>> small note.
>>
>> There is some discussion of this topic in 
>> draft-ietf-shim6-applicability.
>> My feeling is that probably we should remove it all from the 
>> API spec, and add any missing points to 
>> draft-ietf-shim6-applicability, which can then be an 
>> Informative reference.
>>
>>     Brian
>>

From brian.e.carpenter@gmail.com  Mon Dec 14 11:52:11 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4398D28C163 for <shim6@core3.amsl.com>; Mon, 14 Dec 2009 11:52:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.587
X-Spam-Level: 
X-Spam-Status: No, score=-2.587 tagged_above=-999 required=5 tests=[AWL=0.012,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c5OVvXZ1OOXo for <shim6@core3.amsl.com>; Mon, 14 Dec 2009 11:52:10 -0800 (PST)
Received: from mail-ew0-f214.google.com (mail-ew0-f214.google.com [209.85.219.214]) by core3.amsl.com (Postfix) with ESMTP id 4D4653A6864 for <shim6@ietf.org>; Mon, 14 Dec 2009 11:52:10 -0800 (PST)
Received: by ewy6 with SMTP id 6so2272902ewy.29 for <shim6@ietf.org>; Mon, 14 Dec 2009 11:51:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=jzzAZ5o/PAee1lWBp+blEEaaj5d8+ASBKzM3SdBpNjI=; b=greOVohuinOdktsu0aZdlX3d8y2GGDjG5Rxuhoq21wa1/MCi5zMv5pTyxsnnkXQbGf ZDzoUetzyI8NHuc6xX0g+9VqDr2JRsbls8RCjRfueUzTIRZ0F6b8tzIROIXrhrIfdjR2 //gX5z1+F5kBU6VYpcv5rmw2NGEzfRM6KPwRE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=va8UnvLwXK/EZ+xVtfdCVHni7yMzfsGteh7YYQFMWTaCJ6dMkC6/h8KchnCeSFRnfC 2jafe9N+9tgGI703ofSNG8Erk85yHZ499gu9qTHzXSTc93bpn1Pox3XDhtCpEvtb0a55 kOVMOhC6jte8eQgfMC5AehYCmbaRdyBK2Zv8s=
Received: by 10.216.86.3 with SMTP id v3mr2040230wee.165.1260820314049; Mon, 14 Dec 2009 11:51:54 -0800 (PST)
Received: from ?10.1.1.4? ([121.98.142.15]) by mx.google.com with ESMTPS id q9sm17938833gve.15.2009.12.14.11.51.50 (version=SSLv3 cipher=RC4-MD5); Mon, 14 Dec 2009 11:51:53 -0800 (PST)
Message-ID: <4B269750.8040505@gmail.com>
Date: Tue, 15 Dec 2009 08:51:44 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: [shim6] Unknown locator [WG Last Call for draft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Dec 2009 19:52:11 -0000

On 2009-12-14 17:23, Shinta Sugimoto wrote:
...
>>> 14.  Security Considerations
>> It seems to me that the Unknown Locator mechanism described 
>> in section 11.4 might act as a bypass for the security 
>> mechanism applied by the shim.
> 
> Let me clarify if I undertand your comment.
> Yes, application may provide locator(s) which the multihome shim sub-layer
> may not be aware of.  In principle, the reaction of the multihome shim sub-layer
> must be aligned with what is stated in Section 7.2 (Locator Verification) of
> RFC 5533.  Besides, I think an error message must be returned to the application
> when it tries to use unknown locator as the source address for outbound user traffic.
> Does this cover your concern?

Well, I don't quite understand how an extra locator provided by the
upper layer can ever pass the CGA/HBA test. So I don't really understand
the unknown locator mechanism, I guess. Maybe it can never work in the
case of SHIM6 or HIP but might work with some other kind of shim?

    Brian

From shinta.sugimoto@ericsson.com  Thu Dec 17 21:57:13 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1B1213A6939 for <shim6@core3.amsl.com>; Thu, 17 Dec 2009 21:57:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uGGkAMuPFkKF for <shim6@core3.amsl.com>; Thu, 17 Dec 2009 21:57:12 -0800 (PST)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id B832B3A63EC for <shim6@ietf.org>; Thu, 17 Dec 2009 21:57:11 -0800 (PST)
X-AuditID: c1b4fb24-b7beeae000003a71-c5-4b2b19a795ee
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw5.ericsson.se (Symantec Mail Security) with SMTP id E8.29.14961.7A91B2B4; Fri, 18 Dec 2009 06:56:55 +0100 (CET)
Received: from esgscmw0009.eapac.ericsson.se (146.11.115.34) by esessmw0247.eemea.ericsson.se (153.88.115.94) with Microsoft SMTP Server (TLS) id 8.1.375.2; Fri, 18 Dec 2009 06:56:55 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.36]) by esgscmw0009.eapac.ericsson.se ([146.11.115.34]) with mapi; Fri, 18 Dec 2009 13:56:51 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Fri, 18 Dec 2009 13:56:49 +0800
Thread-Topic: Unknown locator [WG Last Call for draft-ietf-shim6-multihome-shim-api]
Thread-Index: Acp89uTD7ECcjlo5R5yeHzsVKcuvLwCLbuFg
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C40C6E71@ESGSCCMS0002.eapac.ericsson.se>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se> <4B269750.8040505@gmail.com>
In-Reply-To: <4B269750.8040505@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Call for draft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Dec 2009 05:57:13 -0000

Hi,

I am sorry for the delay in resonse. Let me address my view on the unknown =
locator issue.

> -----Original Message-----
> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]=20
> Sent: Monday, December 14, 2009 8:52 PM
> To: Shinta Sugimoto
> Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
> Subject: Unknown locator [WG Last Call for=20
> draft-ietf-shim6-multihome-shim-api]
>=20
> On 2009-12-14 17:23, Shinta Sugimoto wrote:
> ...
> >>> 14.  Security Considerations
> >> It seems to me that the Unknown Locator mechanism described in=20
> >> section 11.4 might act as a bypass for the security=20
> mechanism applied=20
> >> by the shim.
> >=20
> > Let me clarify if I undertand your comment.
> > Yes, application may provide locator(s) which the multihome shim=20
> > sub-layer may not be aware of.  In principle, the reaction of the=20
> > multihome shim sub-layer must be aligned with what is stated in=20
> > Section 7.2 (Locator Verification) of RFC 5533.  Besides, I=20
> think an=20
> > error message must be returned to the application when it=20
> tries to use unknown locator as the source address for=20
> outbound user traffic.
> > Does this cover your concern?
>=20
> Well, I don't quite understand how an extra locator provided=20
> by the upper layer can ever pass the CGA/HBA test. So I don't=20
> really understand the unknown locator mechanism, I guess.=20
> Maybe it can never work in the case of SHIM6 or HIP but might=20
> work with some other kind of shim?

After re-thinking, I think we need to handle two cases: 1) application send=
ing data with unknown source/destination locator, 2) application requesting=
 for using unknown source/destination locator.

As to the former case, the multihoming shim sub-layer must reject the reque=
st and send an error message to the application.  The reason is simply beca=
use the packet with unknown source locator will be dropped by the peer and =
sending packet to unknown destination locator should be prohibited for secu=
rity reasons.

As to the latter case, the multihoming shim sub-layer should do the followi=
ng:

In response to the request for using unknown source locator:

- check if the requested source locator is available on any of the local in=
terface
- if the source locator is available, then the multihoming shim sub-layer M=
AY initiate procedure to update its own locator list with the peer

In response to the request for using unknown destination locator, the situa=
tion is a bit tricky because it means that the application somehow knows an=
other locator (IP address) to reach the peer while the multihoming shim sub=
-layer does not.  I am not sure if we have such a case in reality, but in t=
heory, I think the multihoming shim sub-layer must reject the request at le=
ast in the case of SHIM6.  In the case of HIP, I am clarifying this with HI=
P experts what to do.

Any comments?

p.s., Please note that I will be off-line for 1.5 days from now due to busi=
ness travel.  Will be able to response on 19 December.

Regards,
Shinta=

From gih@apnic.net  Fri Dec 18 11:07:19 2009
Return-Path: <gih@apnic.net>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B0143A6811 for <shim6@core3.amsl.com>; Fri, 18 Dec 2009 11:07:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lyIpxcsP1bze for <shim6@core3.amsl.com>; Fri, 18 Dec 2009 11:07:18 -0800 (PST)
Received: from asmtp.apnic.net (asmtp.apnic.net [202.12.29.199]) by core3.amsl.com (Postfix) with ESMTP id A25143A6AA8 for <shim6@ietf.org>; Fri, 18 Dec 2009 11:05:25 -0800 (PST)
Received: from cpe-121-222-137-51.lnse1.woo.bigpond.net.au (CPE-121-222-137-51.lnse1.woo.bigpond.net.au [121.222.137.51]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by asmtp.apnic.net (Postfix) with ESMTP id AB62AD588E for <shim6@ietf.org>; Sat, 19 Dec 2009 05:15:10 +1000 (EST)
From: Geoff Huston <gih@apnic.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sat, 19 Dec 2009 06:05:01 +1100
References: <4B2BA6A7.5070508@hiit.fi>
To: shim6@ietf.org
Message-Id: <FB260157-B87A-47A9-8BCC-C1EADF48EB6E@apnic.net>
Mime-Version: 1.0 (Apple Message framework v1077)
X-Mailer: Apple Mail (2.1077)
Subject: [shim6] Fwd: [Fwd: SHIM API and unconnected sockets]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Dec 2009 19:07:19 -0000

Begin forwarded message:
>=20
> -------- Original Message --------
> Subject: SHIM API and unconnected sockets
> Date: Sun, 13 Dec 2009 15:21:41 +0200
> From: Miika Komu <miika.komu@hiit.fi>
> Reply-To: miika.komu@hiit.fi
> To: shim6@ietf.org
> CC: Shinta Sugimoto <shinta@sfc.wide.ad.jp>,  Kristian Slavov =
<Kristian.Slavov@ericsson.com>
>=20
> Hi,
>=20
> the applicability of unconnected sockets says:
>=20
>   6.4. Notification from Multihoming Shim Sub-layer to Application
>=20
>   ..
>=20
>   There is no restriction in terms of applicability of the =
notification
>   about locator change.  The notification can be delivered to sockets
>   regardless of if it is connected or unconnected, stream-oriented or
>   datagram-oriented.
>=20
> However, the shim6 locator API has to have a field for the ULID or
> otherwise an unconnected application cannot distinguish the context:
>=20
>   7.1. Placeholder for Locator Information
>=20
>   ...
>       struct shim_locator {
>                uint8_t    lc_family;       /* address family */
>                uint8_t    lc_proto;        /* protocol */
>                uint16_t   lc_port;         /* port number */
>                uint16_t   lc_flags;        /* flags */
>                uint16_t   lc_pref;         /* preference value */
>                uint32_t   lc_ifidx;        /* interface index */
>                struct in6_addr lc_addr;    /* address */
>        };
>=20
> So, I think we need a struct in6_addr lc_ulid here and explain it in =
the
> text.
>=20


From brian.e.carpenter@gmail.com  Fri Dec 18 12:49:24 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EC55B3A68DF for <shim6@core3.amsl.com>; Fri, 18 Dec 2009 12:49:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.59
X-Spam-Level: 
X-Spam-Status: No, score=-2.59 tagged_above=-999 required=5 tests=[AWL=0.009,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B3kfvfpp9B3d for <shim6@core3.amsl.com>; Fri, 18 Dec 2009 12:49:24 -0800 (PST)
Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by core3.amsl.com (Postfix) with ESMTP id DBF5D3A688F for <shim6@ietf.org>; Fri, 18 Dec 2009 12:49:23 -0800 (PST)
Received: by ywh15 with SMTP id 15so3693017ywh.5 for <shim6@ietf.org>; Fri, 18 Dec 2009 12:49:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=HE5ejzgNMTBnjb7K7ux21XuqmJdNSfDSrsSVTMbiD6Q=; b=ZOizOKbrVwrKJ5G2j2LvxxalhhhvOpL4GyFNpixwf4GZHpTISWtVZsL7ZSb9BA9oWx u99ocRXVvopj4RAkGUBeah2LMPqkMGmhyeQwluAVHOOCT3IijLRs9SQfyIXet1ECu/gU 1pSxJgfVBH6wiOCL8rvGm+Ei9WPCXdLzqt8MQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=uyKUeAoUs1r0aPLxfbV6bCVIOjcf8lXfZgA/787o1Aw4Iyy8g/BFZcJ1OPquhiYWrY I9/ONmkspLj8D4/KBGWJuwwfV+x/M4lDxTFu3RlsLCAP+dHRvueGd55BKQmXD5WeqTyT wKs6eP/+bmzvhHl+vhPqcercTOH3vWzrEHQpQ=
Received: by 10.101.134.16 with SMTP id l16mr4960554ann.4.1261169346473; Fri, 18 Dec 2009 12:49:06 -0800 (PST)
Received: from ?10.1.1.4? ([121.98.142.15]) by mx.google.com with ESMTPS id 9sm1243623ywf.5.2009.12.18.12.49.03 (version=SSLv3 cipher=RC4-MD5); Fri, 18 Dec 2009 12:49:05 -0800 (PST)
Message-ID: <4B2BEAB8.1020105@gmail.com>
Date: Sat, 19 Dec 2009 09:48:56 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <4B246C43.9030003@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se> <4B269750.8040505@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C40C6E71@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C40C6E71@ESGSCCMS0002.eapac.ericsson.se>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Call for draft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Dec 2009 20:49:25 -0000

Shinta,

I think that is all correct, and it will be interesting to hear
the response from the HIP experts.

Thanks
   Brian Carpenter

On 2009-12-18 18:56, Shinta Sugimoto wrote:
> Hi,
> 
> I am sorry for the delay in resonse. Let me address my view on the unknown locator issue.
> 
>> -----Original Message-----
>> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com] 
>> Sent: Monday, December 14, 2009 8:52 PM
>> To: Shinta Sugimoto
>> Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
>> Subject: Unknown locator [WG Last Call for 
>> draft-ietf-shim6-multihome-shim-api]
>>
>> On 2009-12-14 17:23, Shinta Sugimoto wrote:
>> ...
>>>>> 14.  Security Considerations
>>>> It seems to me that the Unknown Locator mechanism described in 
>>>> section 11.4 might act as a bypass for the security 
>> mechanism applied 
>>>> by the shim.
>>> Let me clarify if I undertand your comment.
>>> Yes, application may provide locator(s) which the multihome shim 
>>> sub-layer may not be aware of.  In principle, the reaction of the 
>>> multihome shim sub-layer must be aligned with what is stated in 
>>> Section 7.2 (Locator Verification) of RFC 5533.  Besides, I 
>> think an 
>>> error message must be returned to the application when it 
>> tries to use unknown locator as the source address for 
>> outbound user traffic.
>>> Does this cover your concern?
>> Well, I don't quite understand how an extra locator provided 
>> by the upper layer can ever pass the CGA/HBA test. So I don't 
>> really understand the unknown locator mechanism, I guess. 
>> Maybe it can never work in the case of SHIM6 or HIP but might 
>> work with some other kind of shim?
> 
> After re-thinking, I think we need to handle two cases: 1) application sending data with unknown source/destination locator, 2) application requesting for using unknown source/destination locator.
> 
> As to the former case, the multihoming shim sub-layer must reject the request and send an error message to the application.  The reason is simply because the packet with unknown source locator will be dropped by the peer and sending packet to unknown destination locator should be prohibited for security reasons.
> 
> As to the latter case, the multihoming shim sub-layer should do the following:
> 
> In response to the request for using unknown source locator:
> 
> - check if the requested source locator is available on any of the local interface
> - if the source locator is available, then the multihoming shim sub-layer MAY initiate procedure to update its own locator list with the peer
> 
> In response to the request for using unknown destination locator, the situation is a bit tricky because it means that the application somehow knows another locator (IP address) to reach the peer while the multihoming shim sub-layer does not.  I am not sure if we have such a case in reality, but in theory, I think the multihoming shim sub-layer must reject the request at least in the case of SHIM6.  In the case of HIP, I am clarifying this with HIP experts what to do.
> 
> Any comments?
> 
> p.s., Please note that I will be off-line for 1.5 days from now due to business travel.  Will be able to response on 19 December.
> 
> Regards,
> Shinta

From shinta.sugimoto@ericsson.com  Sat Dec 19 06:58:32 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2A2E93A6A79 for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 06:58:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tv2odMvVMmho for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 06:58:31 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 957193A687D for <shim6@ietf.org>; Sat, 19 Dec 2009 06:58:30 -0800 (PST)
X-AuditID: c1b4fb3c-b7b57ae0000005bb-1e-4b2cea05800b
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 31.26.01467.50AEC2B4; Sat, 19 Dec 2009 15:58:14 +0100 (CET)
Received: from esgscmw0055.eapac.ericsson.se (146.11.115.121) by esessmw0184.eemea.ericsson.se (153.88.115.81) with Microsoft SMTP Server (TLS) id 8.1.375.2; Sat, 19 Dec 2009 15:58:13 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.36]) by esgscmw0055.eapac.ericsson.se ([146.11.115.121]) with mapi; Sat, 19 Dec 2009 22:58:11 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: "shim6@ietf.org" <shim6@ietf.org>
Date: Sat, 19 Dec 2009 22:58:09 +0800
Thread-Topic: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
Thread-Index: AcqAH3V+1vP4Znj2SLGlhsfliEJUwwAnAtNw
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C40C7020@ESGSCCMS0002.eapac.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Subject: [shim6] FW:  WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Dec 2009 14:58:32 -0000

(let me forward the email from Michael Scharf. It seems that the email did =
not reach the ML)=20

-----Original Message-----
From: SCHARF, Michael [mailto:Michael.Scharf@alcatel-lucent.com]=20
Sent: Friday, December 18, 2009 9:20 PM
To: shim6@ietf.org
Cc: Shinta Sugimoto
Subject: RE: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api

Dear all,

I had a look at draft-ietf-shim6-multihome-shim-api-11. Unfortunately, I ha=
ve not followed the discussion before, and I am not an expert in SHIM6 and =
HIP. But I hope that my comments are still useful.


Summary:
--------

In general, I think that the document is already in a good shape, but some =
small modifications and clarifications are needed, as explained below.


Comments:
---------

> 1.  Introduction
>
>  HIP and SHIM6 have a commonality in their protocol design in the =20
> sense that the semantic roles of an IP address, i.e., an identifier =20
> and a locator, are distinguished.

It could maybe help to better understand the API if there there was an over=
view paragraph that explains which parts of the API can indeed be applied t=
o HIP or SHIM6, respectively. While the slight differences are addressed va=
rious times in the API specification, an additional overall statement would=
 make sense, e. g., in Section 5.

Also, the system model in Figure 2 seems to apply more to HIP than to SHIM6=
.

>   The distinction between "connected" sockets and "unconnected"
sockets
>   is important when discussing the applicability of the socket API
>   defined in this document.  A connected socket is bound to a given
>   peer, whereas an unconnected socket is not bound to any specific
>   peers.  That is, the destination of the user data is not known until
>   the application writes data to an unconnected socket.  TCP sockets
>   are connected, by definition.  UDP sockets are unconnected, unless
>   the application uses the connect() system call.

I would classify a TCP socket as "unconnected" before the TCP connection is=
 established, i. e., before the connect()/accept() system call. Some of the=
 socket API functions could indeed be called before the TCP connection is e=
stablished (e. g., SHIM_DONTSHIM, SHIM_DEFERRED_CONTEXT_SETUP).

The document should more explicitly describe which of the socket options ca=
n be set for an "unconnected" TCP socket.

> 3.  System Overview
>
>   It may also be possible that the shim sub-layer interacts with the
>   transport layer, however, such an interaction is outside the scope
of
>   this document.

In addition to interactions, there could also be API conflicts with a multi=
-homing capable transport, which are probably outside of the scope of this =
document, too.

> 4.  Requirements
>   o  Turn on/off shim.  An application should be able to request to
>      turn on or turn off the multihoming support by the shim layer:
>      *  Apply shim.  The application should be able to explicitly
>         request the shim sub-layer to apply multihoming support.
>      *  Don't apply shim.  The application should be able to request
>         the shim sub-layer not to apply the multihoming support but to
>         apply normal IP processing at the IP layer.

I think that this is a quite important requirement and could be put first i=
n the list.

> 5.11.  SHIM_LOCLIST_LOCAL
>
>   An application can get the locator list by getsockopt().  Note that
>   the size of the buffer pointed by optval argument should be large
>   enough to store an array of locator information.  The number of the
>   locator information is not known beforehand.

This leaves open what happens if the buffer size is not large enough to sto=
re all locators. I think there should be some comment what would happen in =
this corner case.

> 5.15.  Applicability
>
>   All the socket options for the multihoming shim sub-layer except for
>   SHIM_HOT_STANDBY are applicable for both connected and unconnected
>   sockets.

As already mentioned, this section should IMHO discuss in which state of a =
TCP connection the different socket options can be used.

> 6.4.  Notification from Multihoming Shim Sub-layer to Application

Based on the description, I am not sure if I really understand how this not=
ification mechanism would actually work, and what it would imply.

> 11.1.  Naming at Socket Layer

This subsection could IMHO be moved to Section 9. Maybe there should also b=
e a comment on potential implications of returning the EID in case of legac=
y applications.

> 11.2.  Additional Requirements from Applications

I am not sure why this subsection is needed.

> 11.3.  Issues of Header Conversion among Different Address Family=20
> 11.4.  Handling of Unknown Locator Provided by Application

These two subsection should IMHO more clearly state what the open issue is.


Some editorial comments:
------------------------

* In general, I think that the use of articles ("a", "the") should be revie=
wed in some paragraphs. But I am not a native speaker.

* Page 8: Typo: [RFC5534]]

* Page 21: "An error EINVALIDLOCATOR is returned when an invalid locator is=
 specified."


Best regards

Michael

From thomas.r.henderson@boeing.com  Sat Dec 19 08:34:08 2009
Return-Path: <thomas.r.henderson@boeing.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E4EBC3A67B3 for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 08:34:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XL7fLtvuiNRW for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 08:34:07 -0800 (PST)
Received: from stl-smtpout-01.boeing.com (stl-smtpout-01.boeing.com [130.76.96.56]) by core3.amsl.com (Postfix) with ESMTP id CDBF63A681C for <shim6@ietf.org>; Sat, 19 Dec 2009 08:34:07 -0800 (PST)
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id nBJGXicX009914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 19 Dec 2009 10:33:44 -0600 (CST)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id nBJGXiSe025503; Sat, 19 Dec 2009 10:33:44 -0600 (CST)
Received: from XCH-NWHT-07.nw.nos.boeing.com (xch-nwht-07.nw.nos.boeing.com [130.247.25.111]) by stl-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id nBJGXhEG025489 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK); Sat, 19 Dec 2009 10:33:44 -0600 (CST)
Received: from XCH-NW-10V.nw.nos.boeing.com ([130.247.25.85]) by XCH-NWHT-07.nw.nos.boeing.com ([130.247.25.111]) with mapi; Sat, 19 Dec 2009 08:33:43 -0800
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: "'Shinta Sugimoto'" <shinta.sugimoto@ericsson.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Sat, 19 Dec 2009 08:33:42 -0800
Thread-Topic: Unknown locator [WG Last Call fordraft-ietf-shim6-multihome-shim-api]
Thread-Index: Acp89uTD7ECcjlo5R5yeHzsVKcuvLwCLbuFgAGVeWiA=
Message-ID: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19AD@XCH-NW-10V.nw.nos.boeing.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net><4B246C43.903000 3@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se><4B269750.8040505@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C40C6E71@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C40C6E71@ESGSCCMS0002.eapac.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Call fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Dec 2009 16:34:09 -0000

> >
> > Well, I don't quite understand how an extra locator provided
> > by the upper layer can ever pass the CGA/HBA test. So I don't
> > really understand the unknown locator mechanism, I guess.
> > Maybe it can never work in the case of SHIM6 or HIP but might
> > work with some other kind of shim?

I think it will work with HIP, perhaps not with shim6.  My original read of=
 the draft was that this case of the shim rejecting a locator provided by t=
he application was covered by returning an error EINVALIDLOCATOR (see the v=
ery end of Section 5 of the draft).

It seemed to me that the open issue in practice is to be able to pass the k=
nowledge of a new possible locator that was provided by the application to =
the shim layer, and might then need to be communicated via some kind of upc=
all to a user-space daemon doing reachability tests, etc.  However, such an=
 upcall is outside the scope of this draft.

>
> After re-thinking, I think we need to handle two cases: 1)
> application sending data with unknown source/destination
> locator, 2) application requesting for using unknown
> source/destination locator.
>
> As to the former case, the multihoming shim sub-layer must
> reject the request and send an error message to the
> application.  The reason is simply because the packet with
> unknown source locator will be dropped by the peer and
> sending packet to unknown destination locator should be
> prohibited for security reasons.

Can you clarify what you mean by 1)?  I thought that applications sent data=
 to identifiers in this framework.

>
> As to the latter case, the multihoming shim sub-layer should
> do the following:
>
> In response to the request for using unknown source locator:
>
> - check if the requested source locator is available on any
> of the local interface

(I would add that "available" means that it is configured on some interface=
 and it satisfies whatever requirements are placed on its usage by the shim=
, such as hba).

> - if the source locator is available, then the multihoming
> shim sub-layer MAY initiate procedure to update its own
> locator list with the peer

By specifying as a MAY, applications will have a hard time relying on it be=
ing available.  Applications may know best about what locators they want to=
 use with the shim.  I'd rather see API that supported two cases:  1) locat=
ors provided as hints to the shim (where the MAY would apply), and 2) locat=
ors provided as application policy that should not be ignored; i.e. the con=
nection should perhaps fail if the locators provided cannot be used

>
> In response to the request for using unknown destination
> locator, the situation is a bit tricky because it means that
> the application somehow knows another locator (IP address) to
> reach the peer while the multihoming shim sub-layer does not.
>  I am not sure if we have such a case in reality, but in

this seems to me to be potentially a very common case for locator- and shim=
-aware applications

> theory, I think the multihoming shim sub-layer must reject
> the request at least in the case of SHIM6.  In the case of
> HIP, I am clarifying this with HIP experts what to do.

For HIP, I would suggest to accept it.  I think it will probably be a commo=
n case because it allows the application to provide locators to HIP so that=
 HIP doesn't have to do an address lookup based on the HIT.

I suggest to clarify what is meant by "unknown locator" perhaps in the term=
inology section.  I think that what is meant by the text is that there is a=
n existing context and a locator is provided that was not announced in the =
context handshake or subsequent signaling.  However, what about providing a=
 locator before any context is set up?  In this case, all locators are pote=
ntially "unknown" at this stage.  I think it is a very important piece of t=
he API for HIP to be able to have an application associate a destination lo=
cator with a destination HIT (and also source locator for policy or reachab=
ility purposes) before the HIP handshake starts.  For shim6, before context=
 is set up, it seems that identifiers are initial contact locators too. In =
this case, it should be defined what should be the behavior if bind(address=
) conflicts with SHIM_LOC_LOCAL_SEND or if connect(address) conflicts with =
SHIM_LOC_PEER_SEND.

- Tom

From miika.komu@hiit.fi  Sat Dec 19 10:21:14 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 657E23A6AA0 for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 10:21:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.568
X-Spam-Level: 
X-Spam-Status: No, score=-0.568 tagged_above=-999 required=5 tests=[AWL=-1.957, BAYES_00=-2.599, FRT_STOCK2=3.988]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gqdqjQt81i-I for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 10:21:12 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id 1EA5F3A69E8 for <shim6@ietf.org>; Sat, 19 Dec 2009 10:21:12 -0800 (PST)
Received: from ip104.infrahip.net (cs27096138.pp.htv.fi [89.27.96.138]) by argo.otaverkko.fi (Postfix) with ESMTP id 03DD525ED0F; Sat, 19 Dec 2009 20:20:55 +0200 (EET)
Message-ID: <4B2D1987.7050802@hiit.fi>
Date: Sat, 19 Dec 2009 19:20:55 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net><4B246C43.903000	3@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se><4B269750.8040505@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C40C6E71@ESGSCCMS0002.eapac.ericsson.se> <7CC566635CFE364D87DC5803D4712A6C4C1CAF19AD@XCH-NW-10V.nw.nos.boeing.com>
In-Reply-To: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19AD@XCH-NW-10V.nw.nos.boeing.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Kristian Slavov <kristian.slavov@ericsson.com>, "shim6@ietf.org" <shim6@ietf.org>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Call fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Dec 2009 18:21:14 -0000

Henderson, Thomas R wrote:

Hi,

>> After re-thinking, I think we need to handle two cases: 1)
>> application sending data with unknown source/destination
>> locator, 2) application requesting for using unknown
>> source/destination locator.
>>
>> As to the former case, the multihoming shim sub-layer must
>> reject the request and send an error message to the
>> application.  The reason is simply because the packet with
>> unknown source locator will be dropped by the peer and
>> sending packet to unknown destination locator should be
>> prohibited for security reasons.
> 
> Can you clarify what you mean by 1)?  I thought that applications sent data to identifiers in this framework.

I think this means that e.g. application has cached a ULID (HIT, etc) 
and starts just sending data to it.

>> As to the latter case, the multihoming shim sub-layer should
>> do the following:
>>
>> In response to the request for using unknown source locator:
>>
>> - check if the requested source locator is available on any
>> of the local interface
> 
> (I would add that "available" means that it is configured on some interface and it satisfies whatever requirements are placed on its usage by the shim, such as hba).

Right.

>> - if the source locator is available, then the multihoming
>> shim sub-layer MAY initiate procedure to update its own
>> locator list with the peer
> 
> By specifying as a MAY, applications will have a hard time relying on it being available.  Applications may know best about what locators they want to use with the shim.  I'd rather see API that supported two cases:  1) locators provided as hints to the shim (where the MAY would apply), and 2) locators provided as application policy that should not be ignored; i.e. the connection should perhaps fail if the locators provided cannot be used

This could be returned in the return value of setsockopt().

At least in HIP, an unkown source locator could trigger an UPDATE with 
LOCATOR parameter being sent. An unknown peer locator, could trigger an 
ECHO_REQUEST being sent. Thomas, is the latter part going to be included 
in the new revision of RFC5206 (this was also mentioned in different 
context in the cross-family handover paper)?

(Shinta: I don't think we need to go this detailed with the API draft)

>> In response to the request for using unknown destination
>> locator, the situation is a bit tricky because it means that
>> the application somehow knows another locator (IP address) to
>> reach the peer while the multihoming shim sub-layer does not.
>>  I am not sure if we have such a case in reality, but in
> 
> this seems to me to be potentially a very common case for locator- and shim-aware applications

HIP needs this. I would assume that the application is giving hints 
because the system is unable to find a locator matching to the ULID. So, 
just saying "no" does not work for HIP even though it may work for 
routable ULIDs in SHIM6.

To be more specific, the native API for HIP assumes that the SHIM layer 
can cache locators in the following sections:

http://tools.ietf.org/html/draft-ietf-hip-native-api-09
4.1.1. HIP Wildcard Addresses
4.2.1. Resolver Usage
4.6. Explicit Handling of Locators

The native API for HIP is in IESG evaluation, so I think it would be 
nice to resolve this issue quickly.

>> theory, I think the multihoming shim sub-layer must reject
>> the request at least in the case of SHIM6.  In the case of
>> HIP, I am clarifying this with HIP experts what to do.
> 
> For HIP, I would suggest to accept it.  I think it will probably be a common case because it allows the application to provide locators to HIP so that HIP doesn't have to do an address lookup based on the HIT.

+1. I think it should be technically feasible check in the SHIM socket 
handler if the socket is bound to a AF_INET6 or or AF_HIP socket.

> I suggest to clarify what is meant by "unknown locator" perhaps in the terminology section.  I think that what is meant by the text is that there is an existing context and a locator is provided that was not announced in the context handshake or subsequent signaling.  However, what about providing a locator before any context is set up?  In this case, all locators are potentially "unknown" at this stage.  I think it is a very important piece of the API for HIP to be able to have an application associate a destination locator with a destination HIT (and also source locator for policy or reachability purposes) before the HIP handshake starts.  For shim6, before context is set up, it seems that identifiers are initial contact locators too. In this case, it should be defined what should be the behavior if bind(address) conflicts with SHIM_LOC_LOCAL_SEND or if connect(address) conflicts with SHIM_LOC_PEER_SEND.

From miika.komu@hiit.fi  Sat Dec 19 10:22:09 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 19AC73A697D for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 10:22:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.344
X-Spam-Level: 
X-Spam-Status: No, score=-2.344 tagged_above=-999 required=5 tests=[AWL=0.255,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nmfjS2z3oC0a for <shim6@core3.amsl.com>; Sat, 19 Dec 2009 10:22:06 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id E2ABD3A67B3 for <shim6@ietf.org>; Sat, 19 Dec 2009 10:22:05 -0800 (PST)
Received: from ip104.infrahip.net (cs27096138.pp.htv.fi [89.27.96.138]) by argo.otaverkko.fi (Postfix) with ESMTP id 837A225ED0F for <shim6@ietf.org>; Sat, 19 Dec 2009 20:21:50 +0200 (EET)
Message-ID: <4B2D19BE.6000608@hiit.fi>
Date: Sat, 19 Dec 2009 19:21:50 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: shim6@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [shim6] SHIM API and unconnected sockets
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Dec 2009 18:22:09 -0000

(this message got moderated earlier - apologies for possible double copies)

Hi,

the applicability of unconnected sockets says:

    6.4. Notification from Multihoming Shim Sub-layer to Application

    ..

    There is no restriction in terms of applicability of the notification
    about locator change.  The notification can be delivered to sockets
    regardless of if it is connected or unconnected, stream-oriented or
    datagram-oriented.

However, the shim6 locator API has to have a field for the ULID or
otherwise an unconnected application cannot distinguish the context:

    7.1. Placeholder for Locator Information

    ...
        struct shim_locator {
                 uint8_t    lc_family;       /* address family */
                 uint8_t    lc_proto;        /* protocol */
                 uint16_t   lc_port;         /* port number */
                 uint16_t   lc_flags;        /* flags */
                 uint16_t   lc_pref;         /* preference value */
                 uint32_t   lc_ifidx;        /* interface index */
                 struct in6_addr lc_addr;    /* address */
         };

So, I think we need a struct in6_addr lc_ulid here and explain it in the
text.



From Michael.Scharf@alcatel-lucent.com  Fri Dec 18 12:20:19 2009
Return-Path: <Michael.Scharf@alcatel-lucent.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 282D53A69C6 for <shim6@core3.amsl.com>; Fri, 18 Dec 2009 12:20:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oCzPVhfi7C-A for <shim6@core3.amsl.com>; Fri, 18 Dec 2009 12:20:17 -0800 (PST)
Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by core3.amsl.com (Postfix) with ESMTP id 7F41B3A6A02 for <shim6@ietf.org>; Fri, 18 Dec 2009 12:20:15 -0800 (PST)
Received: from SLFSNX.rcs.alcatel-research.de (slfsn1.rcs.de.alcatel-lucent.com [149.204.60.98]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id nBIKJsXF031373; Fri, 18 Dec 2009 21:19:54 +0100
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 18 Dec 2009 21:19:53 +0100
Message-ID: <133D9897FB9C5E4E9DF2779DC91E947C01FFAF56@SLFSNX.rcs.alcatel-research.de>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
Thread-Index: AcqAH3V+1vP4Znj2SLGlhsfliEJUww==
From: "SCHARF, Michael" <Michael.Scharf@alcatel-lucent.com>
To: <shim6@ietf.org>
X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73
X-Mailman-Approved-At: Sat, 19 Dec 2009 13:11:00 -0800
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Dec 2009 20:20:19 -0000

Dear all,

I had a look at draft-ietf-shim6-multihome-shim-api-11. Unfortunately, I
have not followed the discussion before, and I am not an expert in SHIM6
and HIP. But I hope that my comments are still useful.


Summary:
--------

In general, I think that the document is already in a good shape, but
some small modifications and clarifications are needed, as explained
below.


Comments:
---------

> 1.  Introduction
>
>  HIP and SHIM6 have a commonality in their protocol design in the
>  sense that the semantic roles of an IP address, i.e., an identifier
>  and a locator, are distinguished.

It could maybe help to better understand the API if there there was an
overview paragraph that explains which parts of the API can indeed be
applied to HIP or SHIM6, respectively. While the slight differences are
addressed various times in the API specification, an additional overall
statement would make sense, e. g., in Section 5.

Also, the system model in Figure 2 seems to apply more to HIP than to
SHIM6.

>   The distinction between "connected" sockets and "unconnected"
sockets
>   is important when discussing the applicability of the socket API
>   defined in this document.  A connected socket is bound to a given
>   peer, whereas an unconnected socket is not bound to any specific
>   peers.  That is, the destination of the user data is not known until
>   the application writes data to an unconnected socket.  TCP sockets
>   are connected, by definition.  UDP sockets are unconnected, unless
>   the application uses the connect() system call.

I would classify a TCP socket as "unconnected" before the TCP connection
is established, i. e., before the connect()/accept() system call. Some
of the socket API functions could indeed be called before the TCP
connection is established (e. g., SHIM_DONTSHIM,
SHIM_DEFERRED_CONTEXT_SETUP).

The document should more explicitly describe which of the socket options
can be set for an "unconnected" TCP socket.

> 3.  System Overview
>
>   It may also be possible that the shim sub-layer interacts with the
>   transport layer, however, such an interaction is outside the scope
of
>   this document.

In addition to interactions, there could also be API conflicts with a
multi-homing capable transport, which are probably outside of the scope
of this document, too.

> 4.  Requirements
>   o  Turn on/off shim.  An application should be able to request to
>      turn on or turn off the multihoming support by the shim layer:
>      *  Apply shim.  The application should be able to explicitly
>         request the shim sub-layer to apply multihoming support.
>      *  Don't apply shim.  The application should be able to request
>         the shim sub-layer not to apply the multihoming support but to
>         apply normal IP processing at the IP layer.

I think that this is a quite important requirement and could be put
first in the list.

> 5.11.  SHIM_LOCLIST_LOCAL
>
>   An application can get the locator list by getsockopt().  Note that
>   the size of the buffer pointed by optval argument should be large
>   enough to store an array of locator information.  The number of the
>   locator information is not known beforehand.

This leaves open what happens if the buffer size is not large enough to
store all locators. I think there should be some comment what would
happen in this corner case.

> 5.15.  Applicability
>
>   All the socket options for the multihoming shim sub-layer except for
>   SHIM_HOT_STANDBY are applicable for both connected and unconnected
>   sockets.

As already mentioned, this section should IMHO discuss in which state of
a TCP connection the different socket options can be used.

> 6.4.  Notification from Multihoming Shim Sub-layer to Application

Based on the description, I am not sure if I really understand how this
notification mechanism would actually work, and what it would imply.

> 11.1.  Naming at Socket Layer

This subsection could IMHO be moved to Section 9. Maybe there should
also be a comment on potential implications of returning the EID in case
of legacy applications.

> 11.2.  Additional Requirements from Applications

I am not sure why this subsection is needed.

> 11.3.  Issues of Header Conversion among Different Address Family
> 11.4.  Handling of Unknown Locator Provided by Application

These two subsection should IMHO more clearly state what the open issue
is.


Some editorial comments:
------------------------

* In general, I think that the use of articles ("a", "the") should be
reviewed in some paragraphs. But I am not a native speaker.

* Page 8: Typo: [RFC5534]]

* Page 21: "An error EINVALIDLOCATOR is returned when an invalid locator
is specified."


Best regards

Michael

From shinta.sugimoto@ericsson.com  Mon Dec 21 03:17:30 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3E08B3A6932 for <shim6@core3.amsl.com>; Mon, 21 Dec 2009 03:17:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AyA7uuR-X723 for <shim6@core3.amsl.com>; Mon, 21 Dec 2009 03:17:28 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 41A2E3A69DF for <shim6@ietf.org>; Mon, 21 Dec 2009 03:17:27 -0800 (PST)
X-AuditID: c1b4fb3c-b7b57ae0000005bb-d2-4b2f57e10468
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 97.EB.01467.1E75F2B4; Mon, 21 Dec 2009 12:11:31 +0100 (CET)
Received: from esgscmw0055.eapac.ericsson.se (146.11.115.121) by esessmw0247.eemea.ericsson.se (153.88.115.93) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 21 Dec 2009 12:11:28 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.218]) by esgscmw0055.eapac.ericsson.se ([146.11.115.121]) with mapi; Mon, 21 Dec 2009 19:11:24 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: "SCHARF, Michael" <Michael.Scharf@alcatel-lucent.com>
Date: Mon, 21 Dec 2009 19:11:22 +0800
Thread-Topic: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
Thread-Index: AcqAH3V+1vP4Znj2SLGlhsfliEJUwwB4cVUw
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081A6D@ESGSCCMS0002.eapac.ericsson.se>
References: <133D9897FB9C5E4E9DF2779DC91E947C01FFAF56@SLFSNX.rcs.alcatel-research.de>
In-Reply-To: <133D9897FB9C5E4E9DF2779DC91E947C01FFAF56@SLFSNX.rcs.alcatel-research.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "shim6@ietf.org" <shim6@ietf.org>
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Dec 2009 11:17:30 -0000

Hi Michael,

Thank you very much for reviewing the draft. This is very helpful. Please f=
ind my responses inline:

(Just FYI, Michael is working on API for multi-path TCP: http://www.ietf.or=
g/id/draft-scharf-mptcp-api-00.txt which high relevance to our work. So, I =
asked Michael to review our ID)

> -----Original Message-----
> From: SCHARF, Michael [mailto:Michael.Scharf@alcatel-lucent.com]=20
> Sent: Friday, December 18, 2009 9:20 PM
> To: shim6@ietf.org
> Cc: Shinta Sugimoto
> Subject: RE: [shim6] WG Last Call for=20
> draft-ietf-shim6-multihome-shim-api
>=20
> Dear all,
>=20
> I had a look at draft-ietf-shim6-multihome-shim-api-11.=20
> Unfortunately, I have not followed the discussion before, and=20
> I am not an expert in SHIM6 and HIP. But I hope that my=20
> comments are still useful.
>=20
>=20
> Summary:
> --------
>=20
> In general, I think that the document is already in a good=20
> shape, but some small modifications and clarifications are=20
> needed, as explained below.
>=20
>=20
> Comments:
> ---------
>=20
> > 1.  Introduction
> >
> >  HIP and SHIM6 have a commonality in their protocol design in the =20
> > sense that the semantic roles of an IP address, i.e., an=20
> identifier =20
> > and a locator, are distinguished.
>=20
> It could maybe help to better understand the API if there=20
> there was an overview paragraph that explains which parts of=20
> the API can indeed be applied to HIP or SHIM6, respectively.=20
> While the slight differences are addressed various times in=20
> the API specification, an additional overall statement would=20
> make sense, e. g., in Section 5.

Basically, all the socket API extensions defined in this document are appli=
cable to both HIP and SHIM6 as we set the scope of this document is to defi=
ne socket API extensions that are *commonly* needed for both HIP and SHIM6.=
  This means that anything specific HIP or SHIM6 must be outside the scope =
of this draft.  Let us set the scope clearly in Section 1.

> Also, the system model in Figure 2 seems to apply more to HIP=20
> than to SHIM6.

Why do you think so?  In my understanding, the system model depicted in Fig=
ure 2 can be applied to both HIP and SHIM6.

> >   The distinction between "connected" sockets and "unconnected"
> sockets
> >   is important when discussing the applicability of the socket API
> >   defined in this document.  A connected socket is bound to a given
> >   peer, whereas an unconnected socket is not bound to any specific
> >   peers.  That is, the destination of the user data is not=20
> known until
> >   the application writes data to an unconnected socket.  TCP sockets
> >   are connected, by definition.  UDP sockets are unconnected, unless
> >   the application uses the connect() system call.
>=20
> I would classify a TCP socket as "unconnected" before the TCP=20
> connection is established, i. e., before the=20
> connect()/accept() system call. Some of the socket API=20
> functions could indeed be called before the TCP connection is=20
> established (e. g., SHIM_DONTSHIM, SHIM_DEFERRED_CONTEXT_SETUP).

Ok, you are right.  We will revise the text.

>=20
> The document should more explicitly describe which of the=20
> socket options can be set for an "unconnected" TCP socket.

Basically, applicability statement=20

> > 3.  System Overview
> >
> >   It may also be possible that the shim sub-layer interacts with the
> >   transport layer, however, such an interaction is outside the scope
> of
> >   this document.
>=20
> In addition to interactions, there could also be API=20
> conflicts with a multi-homing capable transport, which are=20
> probably outside of the scope of this document, too.

True.  This was pointed out by Brian and we agree to mention that:

- it is not recommended to apply SHIM6 (or HIP) and any other multihoming m=
echanism to the IP flow by referring to draft-ietf-shim6-applicability
- we recommend SCTP and multipath TCP to have API to turn on/off the multih=
oming feature (so that the TCP/IP stack can avoid conflicting use of multih=
oming mechanisms)

> > 4.  Requirements
> >   o  Turn on/off shim.  An application should be able to request to
> >      turn on or turn off the multihoming support by the shim layer:
> >      *  Apply shim.  The application should be able to explicitly
> >         request the shim sub-layer to apply multihoming support.
> >      *  Don't apply shim.  The application should be able to request
> >         the shim sub-layer not to apply the multihoming=20
> support but to
> >         apply normal IP processing at the IP layer.
>=20
> I think that this is a quite important requirement and could=20
> be put first in the list.

Ok. Well, I am not sure if this is the most important one, but will move th=
is upward (as I agree it's an important one).

> > 5.11.  SHIM_LOCLIST_LOCAL
> >
> >   An application can get the locator list by getsockopt(). =20
> Note that
> >   the size of the buffer pointed by optval argument should be large
> >   enough to store an array of locator information.  The=20
> number of the
> >   locator information is not known beforehand.
>=20
> This leaves open what happens if the buffer size is not large=20
> enough to store all locators. I think there should be some=20
> comment what would happen in this corner case.

You are right.  We will define the maximum size of the locator list and err=
or code when the list reaches the limit.

>=20
> > 5.15.  Applicability
> >
> >   All the socket options for the multihoming shim sub-layer=20
> except for
> >   SHIM_HOT_STANDBY are applicable for both connected and unconnected
> >   sockets.
>=20
> As already mentioned, this section should IMHO discuss in=20
> which state of a TCP connection the different socket options=20
> can be used.

Ok.

> > 6.4.  Notification from Multihoming Shim Sub-layer to Application
>=20
> Based on the description, I am not sure if I really=20
> understand how this notification mechanism would actually=20
> work, and what it would imply.

This is to notify the application about the locator change within a multiho=
me shim context.  Suppose if applications that run on host 1 (H1) and host =
2 (H2) are communicating each other.  Let's assume H1 is multihomed and has=
 two locators, L1_H1 and L2_H1, and H2 is a single homed host which comes w=
ith a single locator L2_H2.  Suppose if the applications use L1_H1 and L2_H=
2 to send user data.  Now, reachability between L1_H1 and L2_H2 is lost for=
 some reason and the multihoming shim sub-layer decides to re-home the appl=
ication session.  The H1 changes its locator from L1_H1 to L2_H1.  The noti=
fication defined in this section is sent to the application in this kind of=
 circumstance, i.e., whenever the locator change happens within a multihome=
d shim context.  The reaction of the application upon receiving this notifi=
cation is outside the scope of this ID, but we believe such notification is=
 useful, e.g., for application that are sensitive to characteristics of the=
 communication channel.  Does this make sense?

> > 11.1.  Naming at Socket Layer
>=20
> This subsection could IMHO be moved to Section 9. Maybe there=20
> should also be a comment on potential implications of=20
> returning the EID in case of legacy applications.

I agree. We will move the texts to Section 9.

> > 11.2.  Additional Requirements from Applications
>=20
> I am not sure why this subsection is needed.

You are right. This is obsolete and should be removed (the requirement ment=
ioned is already covered in the document).
=20
> > 11.3.  Issues of Header Conversion among Different Address Family=20
> > 11.4.  Handling of Unknown Locator Provided by Application
>=20
> These two subsection should IMHO more clearly state what the=20
> open issue is.

Ok, thanks. Let us revise the texts. With regard to 11.4, we are now discus=
sing what to do (see email threads titled "Unknown Locator").

>=20
>=20
> Some editorial comments:
> ------------------------
>=20
> * In general, I think that the use of articles ("a", "the")=20
> should be reviewed in some paragraphs. But I am not a native speaker.

Ok, thanks.  We will try to improve the grammatical correctness.

> * Page 8: Typo: [RFC5534]]

Ok, thanks.

>=20
> * Page 21: "An error EINVALIDLOCATOR is returned when an=20
> invalid locator is specified."

Ok, thanks.

Thanks again for your thorough review!

Regards,
Shinta=

From shinta.sugimoto@ericsson.com  Mon Dec 21 03:38:27 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 775883A69E1 for <shim6@core3.amsl.com>; Mon, 21 Dec 2009 03:38:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5pgXfm1uzRa8 for <shim6@core3.amsl.com>; Mon, 21 Dec 2009 03:38:26 -0800 (PST)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 983B23A684E for <shim6@ietf.org>; Mon, 21 Dec 2009 03:38:25 -0800 (PST)
X-AuditID: c1b4fb24-b7beeae000003a71-fa-4b2f5e20d301
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw5.ericsson.se (Symantec Mail Security) with SMTP id 90.5D.14961.02E5F2B4; Mon, 21 Dec 2009 12:38:08 +0100 (CET)
Received: from esgscmw0009.eapac.ericsson.se (146.11.115.34) by esessmw0247.eemea.ericsson.se (153.88.115.95) with Microsoft SMTP Server (TLS) id 8.1.375.2; Mon, 21 Dec 2009 12:38:07 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.218]) by esgscmw0009.eapac.ericsson.se ([146.11.115.34]) with mapi; Mon, 21 Dec 2009 19:38:04 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Mon, 21 Dec 2009 19:38:03 +0800
Thread-Topic: Unknown locator [WG Last Call fordraft-ietf-shim6-multihome-shim-api]
Thread-Index: Acp89uTD7ECcjlo5R5yeHzsVKcuvLwCLbuFgAGVeWiAAXRNKcA==
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081A80@ESGSCCMS0002.eapac.ericsson.se>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net><4B246C43.903000 3@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac.ericsson.se><4B269750.8040505@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C40C6E71@ESGSCCMS0002.eapac.ericsson.se> <7CC566635CFE364D87DC5803D4712A6C4C1CAF19AD@XCH-NW-10V.nw.nos.boeing.com>
In-Reply-To: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19AD@XCH-NW-10V.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Call fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Dec 2009 11:38:27 -0000

Hi Thomas,

Thanks for your comments and please find my responses inline.=20

> -----Original Message-----
> From: Henderson, Thomas R [mailto:thomas.r.henderson@boeing.com]=20
> Sent: Sunday, December 20, 2009 1:34 AM
> To: Shinta Sugimoto; Brian E Carpenter
> Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
> Subject: RE: Unknown locator [WG Last Call=20
> fordraft-ietf-shim6-multihome-shim-api]
>=20
>=20
>=20
> > >
> > > Well, I don't quite understand how an extra locator=20
> provided by the=20
> > > upper layer can ever pass the CGA/HBA test. So I don't really=20
> > > understand the unknown locator mechanism, I guess.
> > > Maybe it can never work in the case of SHIM6 or HIP but=20
> might work=20
> > > with some other kind of shim?
>=20
> I think it will work with HIP, perhaps not with shim6.  My=20
> original read of the draft was that this case of the shim=20
> rejecting a locator provided by the application was covered=20
> by returning an error EINVALIDLOCATOR (see the very end of=20
> Section 5 of the draft).
>=20
> It seemed to me that the open issue in practice is to be able=20
> to pass the knowledge of a new possible locator that was=20
> provided by the application to the shim layer, and might then=20
> need to be communicated via some kind of upcall to a=20
> user-space daemon doing reachability tests, etc.  However,=20
> such an upcall is outside the scope of this draft.
>=20
> >
> > After re-thinking, I think we need to handle two cases: 1)=20
> application=20
> > sending data with unknown source/destination locator, 2)=20
> application=20
> > requesting for using unknown source/destination locator.
> >
> > As to the former case, the multihoming shim sub-layer must=20
> reject the=20
> > request and send an error message to the application.  The=20
> reason is=20
> > simply because the packet with unknown source locator will=20
> be dropped=20
> > by the peer and sending packet to unknown destination=20
> locator should=20
> > be prohibited for security reasons.
>=20
> Can you clarify what you mean by 1)?  I thought that=20
> applications sent data to identifiers in this framework.

1) means that application sends data by specifying source (or destination) =
locator, e.g., by using SHIM_LOC_*_SEND socket options.  Of course, the soc=
ket is bound to identifiers.  But the app can optionally specify source and=
/or desination locator(s).  This is what we call "locator management" and w=
e define socket API extensions for enabling this function.

> >
> > As to the latter case, the multihoming shim sub-layer should do the=20
> > following:
> >
> > In response to the request for using unknown source locator:
> >
> > - check if the requested source locator is available on any of the=20
> > local interface
>=20
> (I would add that "available" means that it is configured on=20
> some interface and it satisfies whatever requirements are=20
> placed on its usage by the shim, such as hba).
>=20
> > - if the source locator is available, then the multihoming shim=20
> > sub-layer MAY initiate procedure to update its own locator=20
> list with=20
> > the peer
>=20
> By specifying as a MAY, applications will have a hard time=20
> relying on it being available.  Applications may know best=20
> about what locators they want to use with the shim.  I'd=20
> rather see API that supported two cases:  1) locators=20
> provided as hints to the shim (where the MAY would apply),=20
> and 2) locators provided as application policy that should=20
> not be ignored; i.e. the connection should perhaps fail if=20
> the locators provided cannot be used

I understand.  I am not quite sure if we should say MAY or SHOULD here, but=
 I think application should be fine as far as it knows if the requested loc=
ator was accepted or not (by the multihoming shim sub-layer).  The acceptan=
ce means the result of the first check, i.e., availability of the source lo=
cator.  Reachability from the source locator in question to the peer's loca=
tor, is another issue, IMO.  So, what about this:

- the multihoming shim sub-layer MUST return the result to the application =
(whether the request for updating the source locator was accepted or not. W=
hen it is accepted, it means that the locator list is updated accordingly. =
When it's rejected, no changes to the locator list).
- when the request for updating the source locator was accepted, the multih=
oming shim sub-layer SHOULD initiate the procedure to update the locator li=
st accordingly.

> >
> > In response to the request for using unknown destination=20
> locator, the=20
> > situation is a bit tricky because it means that the application=20
> > somehow knows another locator (IP address) to reach the=20
> peer while the=20
> > multihoming shim sub-layer does not.
> >  I am not sure if we have such a case in reality, but in
>=20
> this seems to me to be potentially a very common case for=20
> locator- and shim-aware applications
>=20
> > theory, I think the multihoming shim sub-layer must reject=20
> the request=20
> > at least in the case of SHIM6.  In the case of HIP, I am clarifying=20
> > this with HIP experts what to do.
>=20
> For HIP, I would suggest to accept it.  I think it will=20
> probably be a common case because it allows the application=20
> to provide locators to HIP so that HIP doesn't have to do an=20
> address lookup based on the HIT.

Ok, I think this point is where we have significant difference with HIP and=
 SHIM6.  Identifiers are non-routable in case of HIP.

> I suggest to clarify what is meant by "unknown locator"=20
> perhaps in the terminology section.  I think that what is=20
> meant by the text is that there is an existing context and a=20
> locator is provided that was not announced in the context=20
> handshake or subsequent signaling.  However, what about=20
> providing a locator before any context is set up?  In this=20
> case, all locators are potentially "unknown" at this stage.

Ok, I understand.

Then we should probably prepare an exceptional case for HIP when the app re=
quests to use specific destination locator(s) for a given application sessi=
on even when there is no context associated with the socket.  Such a case s=
hould be the initial case where the app starts communication with the peer =
using HIP.
=20
> I think it is a very important piece of the API for HIP to be=20
> able to have an application associate a destination locator=20
> with a destination HIT (and also source locator for policy or=20
> reachability purposes) before the HIP handshake starts.

Ok.  Let me come back with a proposal soon (tomorrow at the latest).  I gue=
ss we should have separate email thread for this topic.

>For=20
> shim6, before context is set up, it seems that identifiers=20
> are initial contact locators too. In this case, it should be=20
> defined what should be the behavior if bind(address)=20
> conflicts with SHIM_LOC_LOCAL_SEND or if connect(address)=20
> conflicts with SHIM_LOC_PEER_SEND.

Well, the conflict actually does not matter.  The IP address used for bind(=
) is the source identifier, and the IP address used for connect() is the de=
stination identifier.  As you mentioned, identifier and locator could be id=
entical, or could be different.  SHIM_LOC_LOCAL_SEND will give the source l=
ocator and SHIM_LOC_PEER_SEND will give the destination locator.

Regards,
Shinta

From thomas.r.henderson@boeing.com  Mon Dec 21 10:13:03 2009
Return-Path: <thomas.r.henderson@boeing.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2A41E3A6A8E for <shim6@core3.amsl.com>; Mon, 21 Dec 2009 10:13:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yOvazi5rINuz for <shim6@core3.amsl.com>; Mon, 21 Dec 2009 10:12:58 -0800 (PST)
Received: from blv-smtpout-01.boeing.com (blv-smtpout-01.boeing.com [130.76.32.69]) by core3.amsl.com (Postfix) with ESMTP id B38B328C0F7 for <shim6@ietf.org>; Mon, 21 Dec 2009 10:12:56 -0800 (PST)
Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [130.247.48.231]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id nBLICQUk007751 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 21 Dec 2009 10:12:26 -0800 (PST)
Received: from blv-av-01.boeing.com (localhost [127.0.0.1]) by blv-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id nBLICQlw022567; Mon, 21 Dec 2009 10:12:26 -0800 (PST)
Received: from XCH-NWHT-08.nw.nos.boeing.com (xch-nwht-08.nw.nos.boeing.com [130.247.25.112]) by blv-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id nBLICQ7s022555 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK); Mon, 21 Dec 2009 10:12:26 -0800 (PST)
Received: from XCH-NW-10V.nw.nos.boeing.com ([130.247.25.85]) by XCH-NWHT-08.nw.nos.boeing.com ([130.247.25.112]) with mapi; Mon, 21 Dec 2009 10:12:25 -0800
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: "'Shinta Sugimoto'" <shinta.sugimoto@ericsson.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Mon, 21 Dec 2009 10:12:25 -0800
Thread-Topic: Unknown locator [WG Last 	Call fordraft-ietf-shim6-multihome-shim-api]
Thread-Index: Acp89uTD7ECcjlo5R5yeHzsVKcuvLwCLbuFgAGVeWiAAXRNKcAAN6A8w
Message-ID: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19B2@XCH-NW-10V.nw.nos.boeing.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net><4B246C43.903000 3@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac. ericsson.se><4B269750.8040505@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01 C40C6E71@ESGSCCMS0002.eapac.ericsson.se><7CC566635CFE364D87DC5803D4712A6C4C1CAF19AD@XCH-NW-10V.nw.nos.boeing.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C5081A80@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081A80@ESGSCCMS0002.eapac.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Call	fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Dec 2009 18:13:03 -0000

Shinta, some more responses inline below

> -----Original Message-----
> From: Shinta Sugimoto [mailto:shinta.sugimoto@ericsson.com]
> Sent: Monday, December 21, 2009 3:38 AM
> To: Henderson, Thomas R; Brian E Carpenter
> Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
> Subject: RE: Unknown locator [WG Last Call
> fordraft-ietf-shim6-multihome-shim-api]
>
> Hi Thomas,
>
> Thanks for your comments and please find my responses inline.
>
> > -----Original Message-----
> > From: Henderson, Thomas R [mailto:thomas.r.henderson@boeing.com]
> > Sent: Sunday, December 20, 2009 1:34 AM
> > To: Shinta Sugimoto; Brian E Carpenter
> > Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
> > Subject: RE: Unknown locator [WG Last Call
> > fordraft-ietf-shim6-multihome-shim-api]
> >
> >
> >
> > > >
> > > > Well, I don't quite understand how an extra locator
> > provided by the
> > > > upper layer can ever pass the CGA/HBA test. So I don't really
> > > > understand the unknown locator mechanism, I guess.
> > > > Maybe it can never work in the case of SHIM6 or HIP but
> > might work
> > > > with some other kind of shim?
> >
> > I think it will work with HIP, perhaps not with shim6.  My
> > original read of the draft was that this case of the shim
> > rejecting a locator provided by the application was covered
> > by returning an error EINVALIDLOCATOR (see the very end of
> > Section 5 of the draft).
> >
> > It seemed to me that the open issue in practice is to be able
> > to pass the knowledge of a new possible locator that was
> > provided by the application to the shim layer, and might then
> > need to be communicated via some kind of upcall to a
> > user-space daemon doing reachability tests, etc.  However,
> > such an upcall is outside the scope of this draft.
> >
> > >
> > > After re-thinking, I think we need to handle two cases: 1)
> > application
> > > sending data with unknown source/destination locator, 2)
> > application
> > > requesting for using unknown source/destination locator.
> > >
> > > As to the former case, the multihoming shim sub-layer must
> > reject the
> > > request and send an error message to the application.  The
> > reason is
> > > simply because the packet with unknown source locator will
> > be dropped
> > > by the peer and sending packet to unknown destination
> > locator should
> > > be prohibited for security reasons.
> >
> > Can you clarify what you mean by 1)?  I thought that
> > applications sent data to identifiers in this framework.
>
> 1) means that application sends data by specifying source (or
> destination) locator, e.g., by using SHIM_LOC_*_SEND socket
> options.  Of course, the socket is bound to identifiers.  But
> the app can optionally specify source and/or desination
> locator(s).  This is what we call "locator management" and we
> define socket API extensions for enabling this function.

Yes, but I meant that applications send data by send, sendto, or sendmsg, a=
nd SHIM_LOC_*_SEND are set as socket options, not as ancillary data to send=
msg().  So it seemed to me that case 1) becomes case 2).

>
> > >
> > > As to the latter case, the multihoming shim sub-layer
> should do the
> > > following:
> > >
> > > In response to the request for using unknown source locator:
> > >
> > > - check if the requested source locator is available on
> any of the
> > > local interface
> >
> > (I would add that "available" means that it is configured on
> > some interface and it satisfies whatever requirements are
> > placed on its usage by the shim, such as hba).
> >
> > > - if the source locator is available, then the multihoming shim
> > > sub-layer MAY initiate procedure to update its own locator
> > list with
> > > the peer
> >
> > By specifying as a MAY, applications will have a hard time
> > relying on it being available.  Applications may know best
> > about what locators they want to use with the shim.  I'd
> > rather see API that supported two cases:  1) locators
> > provided as hints to the shim (where the MAY would apply),
> > and 2) locators provided as application policy that should
> > not be ignored; i.e. the connection should perhaps fail if
> > the locators provided cannot be used
>
> I understand.  I am not quite sure if we should say MAY or
> SHOULD here, but I think application should be fine as far as
> it knows if the requested locator was accepted or not (by the
> multihoming shim sub-layer).

Can you explain the difference between SHIM_LOC_LOCAL_PREF and SHIM_LOC_LOC=
AL_SEND?  To me, it is the difference between SHOULD and MUST.  It seems to=
 me that if you make SHIM_LOC_LOCAL_SEND either a MAY or a SHOULD, it becom=
es basically the same as SHIM_LOC_LOCAL_PREF, and applications can't tell t=
he shim that they insist on specific locators being used (regardless of wha=
t REAP, ICE, etc. may learn).

> The acceptance means the result
> of the first check, i.e., availability of the source locator.
>  Reachability from the source locator in question to the
> peer's locator, is another issue, IMO.  So, what about this:
>
> - the multihoming shim sub-layer MUST return the result to
> the application (whether the request for updating the source
> locator was accepted or not. When it is accepted, it means
> that the locator list is updated accordingly. When it's
> rejected, no changes to the locator list).
> - when the request for updating the source locator was
> accepted, the multihoming shim sub-layer SHOULD initiate the
> procedure to update the locator list accordingly.
>
> > >
> > > In response to the request for using unknown destination
> > locator, the
> > > situation is a bit tricky because it means that the application
> > > somehow knows another locator (IP address) to reach the
> > peer while the
> > > multihoming shim sub-layer does not.
> > >  I am not sure if we have such a case in reality, but in
> >
> > this seems to me to be potentially a very common case for
> > locator- and shim-aware applications
> >
> > > theory, I think the multihoming shim sub-layer must reject
> > the request
> > > at least in the case of SHIM6.  In the case of HIP, I am
> clarifying
> > > this with HIP experts what to do.
> >
> > For HIP, I would suggest to accept it.  I think it will
> > probably be a common case because it allows the application
> > to provide locators to HIP so that HIP doesn't have to do an
> > address lookup based on the HIT.
>
> Ok, I think this point is where we have significant
> difference with HIP and SHIM6.  Identifiers are non-routable
> in case of HIP.
>
> > I suggest to clarify what is meant by "unknown locator"
> > perhaps in the terminology section.  I think that what is
> > meant by the text is that there is an existing context and a
> > locator is provided that was not announced in the context
> > handshake or subsequent signaling.  However, what about
> > providing a locator before any context is set up?  In this
> > case, all locators are potentially "unknown" at this stage.
>
> Ok, I understand.
>
> Then we should probably prepare an exceptional case for HIP
> when the app requests to use specific destination locator(s)
> for a given application session even when there is no context
> associated with the socket.  Such a case should be the
> initial case where the app starts communication with the peer
> using HIP.
>
> > I think it is a very important piece of the API for HIP to be
> > able to have an application associate a destination locator
> > with a destination HIT (and also source locator for policy or
> > reachability purposes) before the HIP handshake starts.
>
> Ok.  Let me come back with a proposal soon (tomorrow at the
> latest).  I guess we should have separate email thread for this topic.
>
> >For
> > shim6, before context is set up, it seems that identifiers
> > are initial contact locators too. In this case, it should be
> > defined what should be the behavior if bind(address)
> > conflicts with SHIM_LOC_LOCAL_SEND or if connect(address)
> > conflicts with SHIM_LOC_PEER_SEND.
>
> Well, the conflict actually does not matter.  The IP address
> used for bind() is the source identifier, and the IP address
> used for connect() is the destination identifier.  As you
> mentioned, identifier and locator could be identical, or
> could be different.  SHIM_LOC_LOCAL_SEND will give the source
> locator and SHIM_LOC_PEER_SEND will give the destination locator.
>

If SHIM_LOC_*_SEND are not possible to be set before a shim6 context is set=
 up, then I agree that it seems to not make a difference.

- Tom

From shinta.sugimoto@ericsson.com  Tue Dec 22 09:05:00 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CF4063A69AF for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 09:05:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n7eyiMd1HGVt for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 09:04:59 -0800 (PST)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id C79753A696C for <shim6@ietf.org>; Tue, 22 Dec 2009 09:04:56 -0800 (PST)
X-AuditID: c1b4fb24-b7beeae000003a71-db-4b30fc26be50
Received: from esessmw0237.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw5.ericsson.se (Symantec Mail Security) with SMTP id 1F.A4.14961.62CF03B4; Tue, 22 Dec 2009 18:04:39 +0100 (CET)
Received: from esgscmw0055.eapac.ericsson.se (146.11.115.121) by esessmw0237.eemea.ericsson.se (153.88.115.90) with Microsoft SMTP Server (TLS) id 8.1.375.2; Tue, 22 Dec 2009 18:04:38 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.218]) by esgscmw0055.eapac.ericsson.se ([146.11.115.121]) with mapi; Wed, 23 Dec 2009 01:04:34 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Wed, 23 Dec 2009 01:04:33 +0800
Thread-Topic: Unknown locator [WG Last Call fordraft-ietf-shim6-multihome-shim-api]
Thread-Index: Acp89uTD7ECcjlo5R5yeHzsVKcuvLwCLbuFgAGVeWiAAXRNKcAAN6A8wABsvisA=
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FB8@ESGSCCMS0002.eapac.ericsson.se>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net><4B246C43.903000 3@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac. ericsson.se><4B269750.8040505@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01 C40C6E71@ESGSCCMS0002.eapac.ericsson.se><7CC566635CFE364D87DC5803D4712A6C4C1CAF19AD@XCH-NW-10V.nw.nos.boeing.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C5081A80@ESGSCCMS0002.eapac.ericsson.se> <7CC566635CFE364D87DC5803D4712A6C4C1CAF19B2@XCH-NW-10V.nw.nos.boeing.com>
In-Reply-To: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19B2@XCH-NW-10V.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Call fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Dec 2009 17:05:00 -0000

Hi Thomas,

Please find my responses inline. Please note that my proposal for handling =
unknown destination locator in case of HIP will follow in separate email.

> -----Original Message-----
> From: Henderson, Thomas R [mailto:thomas.r.henderson@boeing.com]=20
> Sent: Tuesday, December 22, 2009 3:12 AM
> To: Shinta Sugimoto; Brian E Carpenter
> Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
> Subject: RE: Unknown locator [WG Last Call=20
> fordraft-ietf-shim6-multihome-shim-api]
>=20
> Shinta, some more responses inline below
>=20
> > -----Original Message-----
> > From: Shinta Sugimoto [mailto:shinta.sugimoto@ericsson.com]
> > Sent: Monday, December 21, 2009 3:38 AM
> > To: Henderson, Thomas R; Brian E Carpenter
> > Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
> > Subject: RE: Unknown locator [WG Last Call=20
> > fordraft-ietf-shim6-multihome-shim-api]
> >
> > Hi Thomas,
> >
> > Thanks for your comments and please find my responses inline.
> >
> > > -----Original Message-----
> > > From: Henderson, Thomas R [mailto:thomas.r.henderson@boeing.com]
> > > Sent: Sunday, December 20, 2009 1:34 AM
> > > To: Shinta Sugimoto; Brian E Carpenter
> > > Cc: shim6@ietf.org; Kristian Slavov; miika@iki.fi
> > > Subject: RE: Unknown locator [WG Last Call=20
> > > fordraft-ietf-shim6-multihome-shim-api]
> > >
> > >
> > >
> > > > >
> > > > > Well, I don't quite understand how an extra locator
> > > provided by the
> > > > > upper layer can ever pass the CGA/HBA test. So I don't really=20
> > > > > understand the unknown locator mechanism, I guess.
> > > > > Maybe it can never work in the case of SHIM6 or HIP but
> > > might work
> > > > > with some other kind of shim?
> > >
> > > I think it will work with HIP, perhaps not with shim6. =20
> My original=20
> > > read of the draft was that this case of the shim=20
> rejecting a locator=20
> > > provided by the application was covered by returning an error=20
> > > EINVALIDLOCATOR (see the very end of Section 5 of the draft).
> > >
> > > It seemed to me that the open issue in practice is to be able to=20
> > > pass the knowledge of a new possible locator that was provided by=20
> > > the application to the shim layer, and might then need to be=20
> > > communicated via some kind of upcall to a user-space daemon doing=20
> > > reachability tests, etc.  However, such an upcall is outside the=20
> > > scope of this draft.
> > >
> > > >
> > > > After re-thinking, I think we need to handle two cases: 1)
> > > application
> > > > sending data with unknown source/destination locator, 2)
> > > application
> > > > requesting for using unknown source/destination locator.
> > > >
> > > > As to the former case, the multihoming shim sub-layer must
> > > reject the
> > > > request and send an error message to the application.  The
> > > reason is
> > > > simply because the packet with unknown source locator will
> > > be dropped
> > > > by the peer and sending packet to unknown destination
> > > locator should
> > > > be prohibited for security reasons.
> > >
> > > Can you clarify what you mean by 1)?  I thought that applications=20
> > > sent data to identifiers in this framework.
> >
> > 1) means that application sends data by specifying source (or
> > destination) locator, e.g., by using SHIM_LOC_*_SEND socket=20
> options. =20
> > Of course, the socket is bound to identifiers.  But the app can=20
> > optionally specify source and/or desination locator(s). =20
> This is what=20
> > we call "locator management" and we define socket API=20
> extensions for=20
> > enabling this function.
>=20
> Yes, but I meant that applications send data by send, sendto,=20
> or sendmsg, and SHIM_LOC_*_SEND are set as socket options,=20
> not as ancillary data to sendmsg().  So it seemed to me that=20
> case 1) becomes case 2).

Sorry, I should have said "1) means that application sends data by specifyi=
ng source (or destination) locator, e.g., by using SHIM_LOC_*_SEND ancillar=
y data."  Please note that application can sendmsg() with ancillary data by=
 using SHIM_LOC_*_SEND.  See 6.2 () and Table 2 in page 27.  It's a bit tri=
cky, but SHIM_LOC_*_SEND is also a socket option.

But, I think I understand your point.  Regardless of how the source (or des=
tination) locator is set, we need to specify how the multihoming shim sub-l=
ayer would react in response to the request made by the application.  The i=
mportant differences that we need to distinguish would be the degree of dem=
and from application.  So, I=20

> > > >
> > > > As to the latter case, the multihoming shim sub-layer
> > should do the
> > > > following:
> > > >
> > > > In response to the request for using unknown source locator:
> > > >
> > > > - check if the requested source locator is available on
> > any of the
> > > > local interface
> > >
> > > (I would add that "available" means that it is configured on some=20
> > > interface and it satisfies whatever requirements are=20
> placed on its=20
> > > usage by the shim, such as hba).
> > >
> > > > - if the source locator is available, then the multihoming shim=20
> > > > sub-layer MAY initiate procedure to update its own locator
> > > list with
> > > > the peer
> > >
> > > By specifying as a MAY, applications will have a hard=20
> time relying=20
> > > on it being available.  Applications may know best about what=20
> > > locators they want to use with the shim.  I'd rather see API that=20
> > > supported two cases:  1) locators provided as hints to the shim=20
> > > (where the MAY would apply), and 2) locators provided as=20
> application=20
> > > policy that should not be ignored; i.e. the connection should=20
> > > perhaps fail if the locators provided cannot be used
> >
> > I understand.  I am not quite sure if we should say MAY or SHOULD=20
> > here, but I think application should be fine as far as it=20
> knows if the=20
> > requested locator was accepted or not (by the multihoming shim=20
> > sub-layer).
>=20
> Can you explain the difference between SHIM_LOC_LOCAL_PREF=20
> and SHIM_LOC_LOCAL_SEND?  To me, it is the difference between=20
> SHOULD and MUST.  It seems to me that if you make=20
> SHIM_LOC_LOCAL_SEND either a MAY or a SHOULD, it becomes=20
> basically the same as SHIM_LOC_LOCAL_PREF, and applications=20
> can't tell the shim that they insist on specific locators=20
> being used (regardless of what REAP, ICE, etc. may learn).

SHIM_LOC_LOCAL_PREF allows application to set the "preference" of a given l=
ocator.  Preference is indicated by the integer value (0 to 255).  SHIM_LOC=
_LOCAL_SEND allows application to set the local locator for the IP packets =
to be sent from the socket.  SHIM_LOC_LOCAL_PREF is thus useful for the app=
lication to prioritize local locator to be used for sending IP packets when=
 there are candidate locators.  I agree with your view on the difference be=
tween the two.  I.e., the difference could be translated into different deg=
rees of demand to be fulfilled by the shim; SHIM_LOC_LOCAL_PREF indicates r=
ather weak demand (MAY or SHOULD), and SHIM_LOC_LOCAL_SEND indicates rather=
 strong (MUST) demand.

Now, let's get back to the original discussion.  I agree with your view tha=
t we should distinguish two cases: 1) source and/or destination locator is =
set by the application with rather weak demand (MAY or SHOULD), and 2) sour=
ce and/or destination locator is set by application with strong demand (MUS=
T).  However, I don't think the connection must fail (even when the specifi=
ed source and/or destination locator with strong demand was not available).=
  I think the application is fine as far as it knows if the request was acc=
epted or not.  Does this make sense to you?

> > The acceptance means the result
> > of the first check, i.e., availability of the source locator.
> >  Reachability from the source locator in question to the peer's=20
> > locator, is another issue, IMO.  So, what about this:
> >
> > - the multihoming shim sub-layer MUST return the result to the=20
> > application (whether the request for updating the source=20
> locator was=20
> > accepted or not. When it is accepted, it means that the=20
> locator list=20
> > is updated accordingly. When it's rejected, no changes to=20
> the locator=20
> > list).
> > - when the request for updating the source locator was=20
> accepted, the=20
> > multihoming shim sub-layer SHOULD initiate the procedure to=20
> update the=20
> > locator list accordingly.
> >
> > > >
> > > > In response to the request for using unknown destination
> > > locator, the
> > > > situation is a bit tricky because it means that the application=20
> > > > somehow knows another locator (IP address) to reach the
> > > peer while the
> > > > multihoming shim sub-layer does not.
> > > >  I am not sure if we have such a case in reality, but in
> > >
> > > this seems to me to be potentially a very common case for
> > > locator- and shim-aware applications
> > >
> > > > theory, I think the multihoming shim sub-layer must reject
> > > the request
> > > > at least in the case of SHIM6.  In the case of HIP, I am
> > clarifying
> > > > this with HIP experts what to do.
> > >
> > > For HIP, I would suggest to accept it.  I think it will=20
> probably be=20
> > > a common case because it allows the application to=20
> provide locators=20
> > > to HIP so that HIP doesn't have to do an address lookup=20
> based on the=20
> > > HIT.
> >
> > Ok, I think this point is where we have significant difference with=20
> > HIP and SHIM6.  Identifiers are non-routable in case of HIP.
> >
> > > I suggest to clarify what is meant by "unknown locator"
> > > perhaps in the terminology section.  I think that what is=20
> meant by=20
> > > the text is that there is an existing context and a locator is=20
> > > provided that was not announced in the context handshake or=20
> > > subsequent signaling.  However, what about providing a locator=20
> > > before any context is set up?  In this case, all locators are=20
> > > potentially "unknown" at this stage.
> >
> > Ok, I understand.
> >
> > Then we should probably prepare an exceptional case for HIP=20
> when the=20
> > app requests to use specific destination locator(s) for a given=20
> > application session even when there is no context=20
> associated with the=20
> > socket.  Such a case should be the initial case where the=20
> app starts=20
> > communication with the peer using HIP.
> >
> > > I think it is a very important piece of the API for HIP=20
> to be able=20
> > > to have an application associate a destination locator with a=20
> > > destination HIT (and also source locator for policy or=20
> reachability=20
> > > purposes) before the HIP handshake starts.
> >
> > Ok.  Let me come back with a proposal soon (tomorrow at the=20
> latest). =20
> > I guess we should have separate email thread for this topic.
> >
> > >For
> > > shim6, before context is set up, it seems that identifiers  are=20
> > >initial contact locators too. In this case, it should be  defined=20
> > >what should be the behavior if bind(address)  conflicts with=20
> > >SHIM_LOC_LOCAL_SEND or if connect(address)  conflicts with=20
> > >SHIM_LOC_PEER_SEND.
> >
> > Well, the conflict actually does not matter.  The IP=20
> address used for=20
> > bind() is the source identifier, and the IP address used=20
> for connect()=20
> > is the destination identifier.  As you mentioned, identifier and=20
> > locator could be identical, or could be different. =20
> > SHIM_LOC_LOCAL_SEND will give the source locator and=20
> > SHIM_LOC_PEER_SEND will give the destination locator.
> >
>=20
> If SHIM_LOC_*_SEND are not possible to be set before a shim6=20
> context is set up, then I agree that it seems to not make a=20
> difference.

I agree.  SHIM_LOC_*_SEND has no effect when there is no multihome shim con=
text associated with the socket (and thus the behavior of bind() would not =
conflict with SHIM_LOC_LOCAL_SEND).

Regards,
Shinta

From shinta.sugimoto@ericsson.com  Tue Dec 22 09:38:07 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 566853A68A2 for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 09:38:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kbOuf3MEil8K for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 09:38:06 -0800 (PST)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 57F8F3A67B5 for <shim6@ietf.org>; Tue, 22 Dec 2009 09:38:06 -0800 (PST)
X-AuditID: c1b4fb24-b7beeae000003a71-ef-4b3103ec10cb
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw5.ericsson.se (Symantec Mail Security) with SMTP id 96.C8.14961.CE3013B4; Tue, 22 Dec 2009 18:37:48 +0100 (CET)
Received: from esessmw0191.eemea.ericsson.se (153.88.115.86) by esessmw0197.eemea.ericsson.se (153.88.115.87) with Microsoft SMTP Server (TLS) id 8.1.375.2; Tue, 22 Dec 2009 18:37:48 +0100
Received: from esgscmw0054.eapac.ericsson.se (146.11.115.120) by esessmw0191.eemea.ericsson.se (153.88.115.84) with Microsoft SMTP Server (TLS) id 8.1.375.2; Tue, 22 Dec 2009 18:37:47 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.218]) by esgscmw0054.eapac.ericsson.se ([146.11.115.120]) with mapi; Wed, 23 Dec 2009 01:37:45 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: "shim6@ietf.org" <shim6@ietf.org>
Date: Wed, 23 Dec 2009 01:37:10 +0800
Thread-Topic: Unknown destination locator [was: WG Last Call for draft-ietf-shim6-multihome-shim-api]
Thread-Index: AcqDLWN0yo1wFh13Tnug5tCS8pK7hQ==
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FBC@ESGSCCMS0002.eapac.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Subject: [shim6] Unknown destination locator [was: WG Last Call for draft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Dec 2009 17:38:07 -0000

Hi all,

As pointed out by HIP experts (Thomas and Miika), we need to consider excep=
tional case for HIP when the application sets unknown destination locator f=
or the socket.  Such an exceptional handling will allow application to prov=
ide the destination locator to the HIP.

1. The multihoming shim sub-layer checks if address family of the socket is=
 AF_INET6 (all the SHIM6 cases would fall into this case).  If so, the shim=
 must reject the request.
2. Otherwise, the shim checks if there is any multihome shim context associ=
ated with the socket.  If there is any, the shim must reject the request.
3. If there is none, and the multihome shim sub-layer turns out to be HIP, =
the shim SHOULD accept the request (accordingly, the shim being HIP impleme=
ntation will probably initiate HIP basic exchange by sending I1 packet to t=
he requested locator)

Does the above make sense?  Please comment.

Regards,
Shinta

From brian.e.carpenter@gmail.com  Tue Dec 22 11:34:55 2009
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 218AB3A68AA for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 11:34:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.627
X-Spam-Level: 
X-Spam-Status: No, score=-2.627 tagged_above=-999 required=5 tests=[AWL=-0.027, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8O0NbUjNthyb for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 11:34:54 -0800 (PST)
Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by core3.amsl.com (Postfix) with ESMTP id 3F5C33A657C for <shim6@ietf.org>; Tue, 22 Dec 2009 11:34:54 -0800 (PST)
Received: by ywh15 with SMTP id 15so6763562ywh.5 for <shim6@ietf.org>; Tue, 22 Dec 2009 11:34:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=FsDMJz4FaMD65WEIdN6RuBZBLsdAcGwgAfks19bf7iQ=; b=Z316QlQ/i5zkEaT8yYRRb8HD38ktoB67FRmGtwVmtr3d6rnfBvLvqfG8wtgmM8vsXj xqgHKnu//buKtdkDOCS8LYOBGMVp2qwx8aBWxQf+qy9Jsj/W6+txCav47r4iE6p0Ni/t Y7d4/QnNM/kix38u3Pyr2zY+wn2gpTyz7/kk4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=En68QjKdSK4XHCbCFZmpCSXj65HHfrRk2S73P1xUpkgYM2utfPsTHVexRvWdm5J6r0 1iVTOD8UOZKrJRijW7gw4D34PIc+swQp0dkzI8aM2eDY+4hS+LiNIRWzm3SXwQY5D9Xm ISxU712ghonUSCYt01RSMe+U5sVzuNaxGnoPA=
Received: by 10.150.24.34 with SMTP id 34mr13831543ybx.239.1261510475206; Tue, 22 Dec 2009 11:34:35 -0800 (PST)
Received: from ?10.1.1.4? ([121.98.142.15]) by mx.google.com with ESMTPS id 21sm2502737ywh.16.2009.12.22.11.34.33 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 11:34:34 -0800 (PST)
Message-ID: <4B311F41.3010902@gmail.com>
Date: Wed, 23 Dec 2009 08:34:25 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
References: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FBC@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FBC@ESGSCCMS0002.eapac.ericsson.se>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>
Subject: Re: [shim6] Unknown destination locator [was: WG Last Call for draft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Dec 2009 19:34:55 -0000

Cases 1 and 3 make sense to me. Maybe for case 2 it should be SHOULD
reject the request (because we might have some future shim design
that works differently). Or add a note that the rules may need to be
modified for some future shim design.

Thanks
   Brian

On 2009-12-23 06:37, Shinta Sugimoto wrote:
> Hi all,
> 
> As pointed out by HIP experts (Thomas and Miika), we need to consider exceptional case for HIP when the application sets unknown destination locator for the socket.  Such an exceptional handling will allow application to provide the destination locator to the HIP.
> 
> 1. The multihoming shim sub-layer checks if address family of the socket is AF_INET6 (all the SHIM6 cases would fall into this case).  If so, the shim must reject the request.
> 2. Otherwise, the shim checks if there is any multihome shim context associated with the socket.  If there is any, the shim must reject the request.
> 3. If there is none, and the multihome shim sub-layer turns out to be HIP, the shim SHOULD accept the request (accordingly, the shim being HIP implementation will probably initiate HIP basic exchange by sending I1 packet to the requested locator)
> 
> Does the above make sense?  Please comment.
> 
> Regards,
> Shinta
> _______________________________________________
> shim6 mailing list
> shim6@ietf.org
> https://www.ietf.org/mailman/listinfo/shim6
> 

From gih@apnic.net  Tue Dec 22 11:48:10 2009
Return-Path: <gih@apnic.net>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 647DD3A68F4 for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 11:48:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tuNtl16IB4Ma for <shim6@core3.amsl.com>; Tue, 22 Dec 2009 11:48:09 -0800 (PST)
Received: from asmtp.apnic.net (asmtp.apnic.net [202.12.29.199]) by core3.amsl.com (Postfix) with ESMTP id 69FDF3A68D3 for <shim6@ietf.org>; Tue, 22 Dec 2009 11:48:09 -0800 (PST)
Received: from dhcp207.potaroo.net (220-253-188-230.NSW.netspace.net.au [220.253.188.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by asmtp.apnic.net (Postfix) with ESMTP id 3C16BD58C5; Wed, 23 Dec 2009 05:58:23 +1000 (EST)
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset=us-ascii
From: Geoff Huston <gih@apnic.net>
In-Reply-To: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net>
Date: Wed, 23 Dec 2009 06:46:34 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <8EBBD766-903F-46A8-9F3D-DF41231DC5AA@apnic.net>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net>
To: shim6@ietf.org
X-Mailer: Apple Mail (2.1077)
Cc: kristian.slavov@ericsson.com, miika@iki.fi
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Dec 2009 19:48:10 -0000

On 08/12/2009, at 7:14 AM, Geoff Huston wrote:

> The WG chairs have received a Working Group Last Call request from the =
authors of draft-ietf-shim6-multihome-shim-api-11.txt. The intended =
status of this document is Informational. The document (and the draft =
history) is at =
http://tools.ietf.org/html/draft-ietf-shim6-multihome-shim-api-11
>=20
> The 2 week WG Last Call will end as of the close of business on =
Tuesday 22nd December.
>=20
> As usual, please address all comments to the SHIM6 WG mailing list, =
and please be clear in your comments to this WG last call if you are =
supporting the document's submission to the IESG or if you are opposed, =
or if you are not expressing a view either way.=20
>=20

Thanks to all for your reviews and subsequent discussion.

Its evident to me that there is still further work to be done on this =
document, and I do not feel that I saw a general consensus form the WG =
activity that the document is ready to be sent ot the IESG.

Could I ask the authors to submit another rev of the document that =
includes the outcomes of the issues discussed in the last couple of =
weeks, and we'll then try to see if these changes are able to address =
the outstanding concerns in a further round of a WG Last Call.

many thanks,

    Geoff




From shinta.sugimoto@ericsson.com  Wed Dec 23 10:20:57 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A54B53A6A18 for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 10:20:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oZtyoT8COzKF for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 10:20:53 -0800 (PST)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id DF8483A6A11 for <shim6@ietf.org>; Wed, 23 Dec 2009 10:20:52 -0800 (PST)
X-AuditID: c1b4fb24-b7beeae000003a71-2e-4b325f726843
Received: from esessmw0256.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw5.ericsson.se (Symantec Mail Security) with SMTP id 71.5A.14961.27F523B4; Wed, 23 Dec 2009 19:20:34 +0100 (CET)
Received: from esgscmw0055.eapac.ericsson.se (146.11.115.121) by esessmw0256.eemea.ericsson.se (153.88.115.96) with Microsoft SMTP Server (TLS) id 8.1.375.2; Wed, 23 Dec 2009 19:20:34 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.218]) by esgscmw0055.eapac.ericsson.se ([146.11.115.121]) with mapi; Thu, 24 Dec 2009 02:20:31 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Thu, 24 Dec 2009 02:20:30 +0800
Thread-Topic: [shim6] Unknown destination locator [was: WG Last Call for draft-ietf-shim6-multihome-shim-api]
Thread-Index: AcqDPc6M/TdogLjWSviGwDFCnErzXAArqWSg
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C5082452@ESGSCCMS0002.eapac.ericsson.se>
References: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FBC@ESGSCCMS0002.eapac.ericsson.se> <4B311F41.3010902@gmail.com>
In-Reply-To: <4B311F41.3010902@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "shim6@ietf.org" <shim6@ietf.org>
Subject: Re: [shim6] Unknown destination locator [was: WG Last Call for draft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Dec 2009 18:20:57 -0000

Hi Brian,

Thank you for your comment.  I see and your suggestion sounds reasonable to=
 me.  Let us state that the shim SHOULD reject the request in the second ca=
se.

Regards,
Shinta=20

> -----Original Message-----
> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]=20
> Sent: Wednesday, December 23, 2009 4:34 AM
> To: Shinta Sugimoto
> Cc: shim6@ietf.org
> Subject: Re: [shim6] Unknown destination locator [was: WG=20
> Last Call for draft-ietf-shim6-multihome-shim-api]
>=20
> Cases 1 and 3 make sense to me. Maybe for case 2 it should be=20
> SHOULD reject the request (because we might have some future=20
> shim design that works differently). Or add a note that the=20
> rules may need to be modified for some future shim design.
>=20
> Thanks
>    Brian
>=20
> On 2009-12-23 06:37, Shinta Sugimoto wrote:
> > Hi all,
> >=20
> > As pointed out by HIP experts (Thomas and Miika), we need=20
> to consider exceptional case for HIP when the application=20
> sets unknown destination locator for the socket.  Such an=20
> exceptional handling will allow application to provide the=20
> destination locator to the HIP.
> >=20
> > 1. The multihoming shim sub-layer checks if address family=20
> of the socket is AF_INET6 (all the SHIM6 cases would fall=20
> into this case).  If so, the shim must reject the request.
> > 2. Otherwise, the shim checks if there is any multihome=20
> shim context associated with the socket.  If there is any,=20
> the shim must reject the request.
> > 3. If there is none, and the multihome shim sub-layer turns=20
> out to be=20
> > HIP, the shim SHOULD accept the request (accordingly, the=20
> shim being=20
> > HIP implementation will probably initiate HIP basic exchange by=20
> > sending I1 packet to the requested locator)
> >=20
> > Does the above make sense?  Please comment.
> >=20
> > Regards,
> > Shinta
> > _______________________________________________
> > shim6 mailing list
> > shim6@ietf.org
> > https://www.ietf.org/mailman/listinfo/shim6
> >=20
> =

From shinta.sugimoto@ericsson.com  Wed Dec 23 10:21:08 2009
Return-Path: <shinta.sugimoto@ericsson.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 997123A688C for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 10:21:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YIF10c1EOytu for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 10:21:07 -0800 (PST)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id A1A5B3A6A32 for <shim6@ietf.org>; Wed, 23 Dec 2009 10:21:06 -0800 (PST)
X-AuditID: c1b4fb24-b7beeae000003a71-73-4b325f801669
Received: from esessmw0237.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw5.ericsson.se (Symantec Mail Security) with SMTP id 89.5A.14961.08F523B4; Wed, 23 Dec 2009 19:20:48 +0100 (CET)
Received: from esgscmw0009.eapac.ericsson.se (146.11.115.34) by esessmw0237.eemea.ericsson.se (153.88.115.90) with Microsoft SMTP Server (TLS) id 8.1.375.2; Wed, 23 Dec 2009 19:20:48 +0100
Received: from ESGSCCMS0002.eapac.ericsson.se ([169.254.1.218]) by esgscmw0009.eapac.ericsson.se ([146.11.115.34]) with mapi; Thu, 24 Dec 2009 02:20:38 +0800
From: Shinta Sugimoto <shinta.sugimoto@ericsson.com>
To: Geoff Huston <gih@apnic.net>, "shim6@ietf.org" <shim6@ietf.org>
Date: Thu, 24 Dec 2009 02:20:37 +0800
Thread-Topic: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
Thread-Index: AcqDP7S+YWcDlGV1RCuf06Hne7CVOwAuWbMA
Message-ID: <541EE6CB2B85BE4389E2910C9B4BC77E01C5082453@ESGSCCMS0002.eapac.ericsson.se>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net> <8EBBD766-903F-46A8-9F3D-DF41231DC5AA@apnic.net>
In-Reply-To: <8EBBD766-903F-46A8-9F3D-DF41231DC5AA@apnic.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Dec 2009 18:21:08 -0000

Hi Geoff and all,

Thanks for your support and suggestion.  Yes, I agree.  Let us revise the d=
ocument taking all the comments/suggestions that we received into account, =
and go for another round of WGLC.

Let me clarify the list of substantial comments that we received besides qu=
ite a few editorial comments.  The following three are the ones that we rec=
eived so far, I think.  We (authors, I mean) will make sure that we have en=
ough discussion on the ML and outcomes are addressed in the next revision o=
f the draft.

1. Compatibility issue with other mutlihoming mechanism (SCTP, multi-path T=
CP)

	Reached to an agreement to state recommendation.

2. Treatment of unknown locator

	Seems that the treatment for unknown source locator is agreed.  With regar=
d to the treatment for unknown destination locator, an exceptional handling=
 for HIP (when the application provides destination locator to the HIP in t=
he initial stage of communication) has been proposed and clarification/conf=
irmation by HIP experts is needed.

3. Need for including ULID pair in the shim locator data structure (struct =
shim_locator{})

	Discussion has not been started yet on the ML.

Regards,
Shinta

> -----Original Message-----
> From: Geoff Huston [mailto:gih@apnic.net]=20
> Sent: Wednesday, December 23, 2009 4:47 AM
> To: shim6@ietf.org
> Cc: Kristian Slavov; miika@iki.fi; Shinta Sugimoto; Jari Arkko
> Subject: Re: [shim6] WG Last Call for=20
> draft-ietf-shim6-multihome-shim-api
>=20
>=20
> On 08/12/2009, at 7:14 AM, Geoff Huston wrote:
>=20
> > The WG chairs have received a Working Group Last Call=20
> request from the=20
> > authors of draft-ietf-shim6-multihome-shim-api-11.txt. The intended=20
> > status of this document is Informational. The document (and=20
> the draft=20
> > history) is at=20
> > http://tools.ietf.org/html/draft-ietf-shim6-multihome-shim-api-11
> >=20
> > The 2 week WG Last Call will end as of the close of=20
> business on Tuesday 22nd December.
> >=20
> > As usual, please address all comments to the SHIM6 WG=20
> mailing list, and please be clear in your comments to this WG=20
> last call if you are supporting the document's submission to=20
> the IESG or if you are opposed, or if you are not expressing=20
> a view either way.=20
> >=20
>=20
> Thanks to all for your reviews and subsequent discussion.
>=20
> Its evident to me that there is still further work to be done=20
> on this document, and I do not feel that I saw a general=20
> consensus form the WG activity that the document is ready to=20
> be sent ot the IESG.
>=20
> Could I ask the authors to submit another rev of the document=20
> that includes the outcomes of the issues discussed in the=20
> last couple of weeks, and we'll then try to see if these=20
> changes are able to address the outstanding concerns in a=20
> further round of a WG Last Call.
>=20
> many thanks,
>=20
>     Geoff
>=20
>=20
>=20
> =

From thomas.r.henderson@boeing.com  Wed Dec 23 14:31:32 2009
Return-Path: <thomas.r.henderson@boeing.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C62853A6A26 for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 14:31:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mzHPO3q8wriz for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 14:31:32 -0800 (PST)
Received: from stl-smtpout-01.boeing.com (stl-smtpout-01.boeing.com [130.76.96.56]) by core3.amsl.com (Postfix) with ESMTP id E874B3A69E7 for <shim6@ietf.org>; Wed, 23 Dec 2009 14:31:31 -0800 (PST)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id nBNMV8GF024787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Dec 2009 16:31:09 -0600 (CST)
Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id nBNMV8mG012335; Wed, 23 Dec 2009 14:31:08 -0800 (PST)
Received: from XCH-NWHT-05.nw.nos.boeing.com (xch-nwht-05.nw.nos.boeing.com [130.247.25.109]) by slb-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id nBNMV880012319 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK); Wed, 23 Dec 2009 14:31:08 -0800 (PST)
Received: from XCH-NW-10V.nw.nos.boeing.com ([130.247.25.85]) by XCH-NWHT-05.nw.nos.boeing.com ([130.247.25.109]) with mapi; Wed, 23 Dec 2009 14:31:08 -0800
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: "'Shinta Sugimoto'" <shinta.sugimoto@ericsson.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Wed, 23 Dec 2009 14:31:06 -0800
Thread-Topic: Unknown locator [WG Last Callfordraft-ietf-shim6-multihome-shim-api]
Thread-Index: Acp89uTD7ECcjlo5R5yeHzsVKcuvLwCLbuFgAGVeWiAAXRNKcAAN6A8wABsvisAAUyB5AA==
Message-ID: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19D3@XCH-NW-10V.nw.nos.boeing.com>
References: <D20B2D29-D285-43A0-A1F8-AA12055059B5@apnic.net><4B246C43.903000 3@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01C40860EC@ESGSCCMS0002.eapac. ericsson.se><4B269750.8040505@gmail.com><541EE6CB2B85BE4389E2910C9B4BC77E01 C40C6E71@ESGSCCMS0002.eapac.ericsson.se><7CC566635CFE364D87DC5803D4712A6C4C 1CAF19AD@XCH-NW-10V.nw.nos.boeing.com><541EE6CB2B85BE4389E2910C9B4BC77E01C5 081A80@ESGSCCMS0002.eapac.ericsson.se><7CC566635CFE364D87DC5803D4712A6C4C1CAF19B2@XCH-NW-10V.nw.nos.boeing.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FB8@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FB8@ESGSCCMS0002.eapac.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <kristian.slavov@ericsson.com>, "miika@iki.fi" <miika@iki.fi>
Subject: Re: [shim6] Unknown locator [WG Last Callfordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Dec 2009 22:42:16 -0000

Shinta, a few more replies inline on this thread:
>
> Sorry, I should have said "1) means that application sends
> data by specifying source (or destination) locator, e.g., by
> using SHIM_LOC_*_SEND ancillary data."  Please note that
> application can sendmsg() with ancillary data by using
> SHIM_LOC_*_SEND.  See 6.2 () and Table 2 in page 27.  It's a
> bit tricky, but SHIM_LOC_*_SEND is also a socket option.
>
> But, I think I understand your point.  Regardless of how the
> source (or destination) locator is set, we need to specify
> how the multihoming shim sub-layer would react in response to
> the request made by the application.  The important
> differences that we need to distinguish would be the degree
> of demand from application.  So, I

Your above sentence trailed off but I think you were basically agreeing to =
clarify this point.

>
> SHIM_LOC_LOCAL_PREF allows application to set the
> "preference" of a given locator.  Preference is indicated by
> the integer value (0 to 255).  SHIM_LOC_LOCAL_SEND allows
> application to set the local locator for the IP packets to be
> sent from the socket.  SHIM_LOC_LOCAL_PREF is thus useful for
> the application to prioritize local locator to be used for
> sending IP packets when there are candidate locators.  I
> agree with your view on the difference between the two.
> I.e., the difference could be translated into different
> degrees of demand to be fulfilled by the shim;
> SHIM_LOC_LOCAL_PREF indicates rather weak demand (MAY or
> SHOULD), and SHIM_LOC_LOCAL_SEND indicates rather strong
> (MUST) demand.
>
> Now, let's get back to the original discussion.  I agree with
> your view that we should distinguish two cases: 1) source
> and/or destination locator is set by the application with
> rather weak demand (MAY or SHOULD), and 2) source and/or
> destination locator is set by application with strong demand
> (MUST).  However, I don't think the connection must fail
> (even when the specified source and/or destination locator
> with strong demand was not available).  I think the
> application is fine as far as it knows if the request was
> accepted or not.  Does this make sense to you?

I agree that the policy to fail or not should be with the application and n=
ot with the shim, so long as the shim accurately notifies the application.

Regards,
Tom

From thomas.r.henderson@boeing.com  Wed Dec 23 14:41:06 2009
Return-Path: <thomas.r.henderson@boeing.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7659B3A69E7 for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 14:41:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7X+XdlsHWW4v for <shim6@core3.amsl.com>; Wed, 23 Dec 2009 14:41:05 -0800 (PST)
Received: from stl-smtpout-01.boeing.com (stl-smtpout-01.boeing.com [130.76.96.56]) by core3.amsl.com (Postfix) with ESMTP id 8408B3A67F2 for <shim6@ietf.org>; Wed, 23 Dec 2009 14:41:05 -0800 (PST)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id nBNMejmK028188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Dec 2009 16:40:46 -0600 (CST)
Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id nBNMejGK021215; Wed, 23 Dec 2009 14:40:45 -0800 (PST)
Received: from XCH-NWHT-10.nw.nos.boeing.com (xch-nwht-10.nw.nos.boeing.com [130.247.25.113]) by slb-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id nBNMejNb021207 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK); Wed, 23 Dec 2009 14:40:45 -0800 (PST)
Received: from XCH-NW-10V.nw.nos.boeing.com ([130.247.25.85]) by XCH-NWHT-10.nw.nos.boeing.com ([130.247.25.113]) with mapi; Wed, 23 Dec 2009 14:40:44 -0800
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: "'Shinta Sugimoto'" <shinta.sugimoto@ericsson.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Wed, 23 Dec 2009 14:40:44 -0800
Thread-Topic: [shim6] Unknown destination locator [was: WG Last Call fordraft-ietf-shim6-multihome-shim-api]
Thread-Index: AcqDPc6M/TdogLjWSviGwDFCnErzXAArqWSgAAzYN3A=
Message-ID: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19D4@XCH-NW-10V.nw.nos.boeing.com>
References: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FBC@ESGSCCMS0002.eapac.ericsson.se><4B311F41.3010902@gmail.com> <541EE6CB2B85BE4389E2910C9B4BC77E01C5082452@ESGSCCMS0002.eapac.ericsson.se>
In-Reply-To: <541EE6CB2B85BE4389E2910C9B4BC77E01C5082452@ESGSCCMS0002.eapac.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "shim6@ietf.org" <shim6@ietf.org>
Subject: Re: [shim6] Unknown destination locator [was: WG Last Call fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Dec 2009 22:42:22 -0000

>
> > -----Original Message-----
> > From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]
> > Sent: Wednesday, December 23, 2009 4:34 AM
> > To: Shinta Sugimoto
> > Cc: shim6@ietf.org
> > Subject: Re: [shim6] Unknown destination locator [was: WG
> > Last Call for draft-ietf-shim6-multihome-shim-api]
> >
> > Cases 1 and 3 make sense to me. Maybe for case 2 it should be
> > SHOULD reject the request (because we might have some future
> > shim design that works differently). Or add a note that the
> > rules may need to be modified for some future shim design.
> >
> > Thanks
> >    Brian
> >
> > On 2009-12-23 06:37, Shinta Sugimoto wrote:
> > > Hi all,
> > >
> > > As pointed out by HIP experts (Thomas and Miika), we need
> > to consider exceptional case for HIP when the application
> > sets unknown destination locator for the socket.  Such an
> > exceptional handling will allow application to provide the
> > destination locator to the HIP.
> > >
> > > 1. The multihoming shim sub-layer checks if address family
> > of the socket is AF_INET6 (all the SHIM6 cases would fall
> > into this case).  If so, the shim must reject the request.
> > > 2. Otherwise, the shim checks if there is any multihome
> > shim context associated with the socket.  If there is any,
> > the shim must reject the request.
> > > 3. If there is none, and the multihome shim sub-layer turns
> > out to be
> > > HIP, the shim SHOULD accept the request (accordingly, the
> > shim being
> > > HIP implementation will probably initiate HIP basic exchange by
> > > sending I1 packet to the requested locator)
> > >

Would it be clearer to just restrict the scenario of "Unknown locator" to s=
him6?  I think the main issue with unknown locators is security in shim6.  =
For HIP, I don't think it matters so even in case 2 above, I think that HIP=
 shim should accept the request unless such locator violates some other pol=
icy restriction in HIP.  As the above reads now, it seems to me that it is =
saying that HIP should reject an unknown locator after the HIP handshake wa=
s completed.

Tom

From miika.komu@hiit.fi  Mon Dec 28 06:31:33 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8F9733A6805 for <shim6@core3.amsl.com>; Mon, 28 Dec 2009 06:31:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oA8hQvqysnuj for <shim6@core3.amsl.com>; Mon, 28 Dec 2009 06:31:32 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id 6F70B3A6841 for <shim6@ietf.org>; Mon, 28 Dec 2009 06:31:32 -0800 (PST)
Received: from ip104.infrahip.net (87-94-236-71.bb.dnainternet.fi [87.94.236.71]) by argo.otaverkko.fi (Postfix) with ESMTP id 931C325ED10; Mon, 28 Dec 2009 16:31:12 +0200 (EET)
Message-ID: <4B38C12F.3050307@hiit.fi>
Date: Mon, 28 Dec 2009 15:31:11 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
References: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FBC@ESGSCCMS0002.eapac.ericsson.se><4B311F41.3010902@gmail.com>	<541EE6CB2B85BE4389E2910C9B4BC77E01C5082452@ESGSCCMS0002.eapac.ericsson.se> <7CC566635CFE364D87DC5803D4712A6C4C1CAF19D4@XCH-NW-10V.nw.nos.boeing.com>
In-Reply-To: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19D4@XCH-NW-10V.nw.nos.boeing.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>
Subject: Re: [shim6] Unknown destination locator [was: WG Last Call fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Dec 2009 14:31:33 -0000

Henderson, Thomas R wrote:

Hi,

>>> -----Original Message----- From: Brian E Carpenter
>>> [mailto:brian.e.carpenter@gmail.com] Sent: Wednesday, December
>>> 23, 2009 4:34 AM To: Shinta Sugimoto Cc: shim6@ietf.org Subject:
>>> Re: [shim6] Unknown destination locator [was: WG Last Call for
>>> draft-ietf-shim6-multihome-shim-api]
>>> 
>>> Cases 1 and 3 make sense to me. Maybe for case 2 it should be 
>>> SHOULD reject the request (because we might have some future shim
>>> design that works differently). Or add a note that the rules may
>>> need to be modified for some future shim design.
>>> 
>>> Thanks Brian
>>> 
>>> On 2009-12-23 06:37, Shinta Sugimoto wrote:
>>>> Hi all,
>>>> 
>>>> As pointed out by HIP experts (Thomas and Miika), we need
>>> to consider exceptional case for HIP when the application sets
>>> unknown destination locator for the socket.  Such an exceptional
>>> handling will allow application to provide the destination
>>> locator to the HIP.
>>>> 1. The multihoming shim sub-layer checks if address family
>>> of the socket is AF_INET6 (all the SHIM6 cases would fall into
>>> this case).  If so, the shim must reject the request.
>>>> 2. Otherwise, the shim checks if there is any multihome
>>> shim context associated with the socket.  If there is any, the
>>> shim must reject the request.
>>>> 3. If there is none, and the multihome shim sub-layer turns
>>> out to be
>>>> HIP, the shim SHOULD accept the request (accordingly, the
>>> shim being
>>>> HIP implementation will probably initiate HIP basic exchange by
>>>>  sending I1 packet to the requested locator)
>>>> 
> 
> Would it be clearer to just restrict the scenario of "Unknown
> locator" to shim6?  I think the main issue with unknown locators is
> security in shim6.  For HIP, I don't think it matters so even in case
> 2 above, I think that HIP shim should accept the request unless such
> locator violates some other policy restriction in HIP.  As the above
> reads now, it seems to me that it is saying that HIP should reject an
> unknown locator after the HIP handshake was completed.

I agree with Thomas. I think the suggested change is too strict when it
comes to HIP. Also, HIP can check unknown peer locators with return 
routability procedures after the base exchange is completed.


From thomas.r.henderson@boeing.com  Mon Dec 28 22:50:49 2009
Return-Path: <thomas.r.henderson@boeing.com>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 62BA13A6850 for <shim6@core3.amsl.com>; Mon, 28 Dec 2009 22:50:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.558
X-Spam-Level: 
X-Spam-Status: No, score=-6.558 tagged_above=-999 required=5 tests=[AWL=0.041,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O3JgcVHyJ+4e for <shim6@core3.amsl.com>; Mon, 28 Dec 2009 22:50:48 -0800 (PST)
Received: from blv-smtpout-01.boeing.com (blv-smtpout-01.boeing.com [130.76.32.69]) by core3.amsl.com (Postfix) with ESMTP id 607BA3A67AA for <shim6@ietf.org>; Mon, 28 Dec 2009 22:50:48 -0800 (PST)
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by blv-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id nBT6oIGM003534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Dec 2009 22:50:18 -0800 (PST)
Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id nBT6oIuj006684; Mon, 28 Dec 2009 22:50:18 -0800 (PST)
Received: from XCH-NWHT-02.nw.nos.boeing.com (xch-nwht-02.nw.nos.boeing.com [130.247.70.248]) by slb-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id nBT6oH3x006671 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK); Mon, 28 Dec 2009 22:50:18 -0800 (PST)
Received: from XCH-NW-10V.nw.nos.boeing.com ([130.247.25.85]) by XCH-NWHT-02.nw.nos.boeing.com ([130.247.70.248]) with mapi; Mon, 28 Dec 2009 22:50:17 -0800
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: "'miika.komu@hiit.fi'" <miika.komu@hiit.fi>, "shim6@ietf.org" <shim6@ietf.org>
Date: Mon, 28 Dec 2009 22:50:16 -0800
Thread-Topic: [shim6] SHIM API and unconnected sockets
Thread-Index: Acp8bBEnGiuO2btdR+6zVAQoYkoMiQLqpwjA
Message-ID: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19E0@XCH-NW-10V.nw.nos.boeing.com>
References: <4B24EA65.3000202@hiit.fi>
In-Reply-To: <4B24EA65.3000202@hiit.fi>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Kristian Slavov <Kristian.Slavov@ericsson.com>
Subject: Re: [shim6] SHIM API and unconnected sockets
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Dec 2009 06:50:49 -0000

> -----Original Message-----
> From: shim6-bounces@ietf.org [mailto:shim6-bounces@ietf.org]
> On Behalf Of Miika Komu
> Sent: Sunday, December 13, 2009 5:22 AM
> To: shim6@ietf.org
> Cc: Kristian Slavov
> Subject: [shim6] SHIM API and unconnected sockets
>
> Hi,
>
> the applicability of unconnected sockets says:
>
>     6.4. Notification from Multihoming Shim Sub-layer to Application
>
>     ..
>
>     There is no restriction in terms of applicability of the
> notification
>     about locator change.  The notification can be delivered
> to sockets
>     regardless of if it is connected or unconnected,
> stream-oriented or
>     datagram-oriented.
>
> However, the shim6 locator API has to have a field for the ULID or
> otherwise an unconnected application cannot distinguish the context:
>
>     7.1. Placeholder for Locator Information
>
>     ...
>         struct shim_locator {
>                  uint8_t    lc_family;       /* address family */
>                  uint8_t    lc_proto;        /* protocol */
>                  uint16_t   lc_port;         /* port number */
>                  uint16_t   lc_flags;        /* flags */
>                  uint16_t   lc_pref;         /* preference value */
>                  uint32_t   lc_ifidx;        /* interface index */
>                  struct in6_addr lc_addr;    /* address */
>          };
>
> So, I think we need a struct in6_addr lc_ulid here and
> explain it in the
> text.


In section 6, under Figure 3, it says:
   In case of non-connected socket, msg_name member stores the socket
   address of the peer which should be considered as an identifier
   rather than a locator.  The locator of the peer node should be
   retrieved by SHIM_LOC_PEER_RECV as specified below.

So, is the additional lc_ulid needed in this case?  Is it storing the socke=
t address of the local host?

It is a bit unclear to me the relationship between an unconnected socket an=
d an underlying shim association (with context)-- perhaps some explanatory =
text would be helpful to add that describes how the transport-layer connect=
ion is related to the shim context, and what it means when one is present b=
ut the other is not.

Tom



From miika.komu@hiit.fi  Tue Dec 29 04:51:50 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4C2B33A67DF for <shim6@core3.amsl.com>; Tue, 29 Dec 2009 04:51:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aeFbFw7cN-u4 for <shim6@core3.amsl.com>; Tue, 29 Dec 2009 04:51:49 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id 32D8F3A693E for <shim6@ietf.org>; Tue, 29 Dec 2009 04:51:49 -0800 (PST)
Received: from ip104.infrahip.net (87-94-236-71.bb.dnainternet.fi [87.94.236.71]) by argo.otaverkko.fi (Postfix) with ESMTP id 2C08125ED06; Tue, 29 Dec 2009 14:51:29 +0200 (EET)
Message-ID: <4B39FB50.1070504@hiit.fi>
Date: Tue, 29 Dec 2009 13:51:28 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
References: <4B24EA65.3000202@hiit.fi> <7CC566635CFE364D87DC5803D4712A6C4C1CAF19E0@XCH-NW-10V.nw.nos.boeing.com>
In-Reply-To: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19E0@XCH-NW-10V.nw.nos.boeing.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <Kristian.Slavov@ericsson.com>
Subject: Re: [shim6] SHIM API and unconnected sockets
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Dec 2009 12:51:50 -0000

Henderson, Thomas R wrote:

Hi,

>> -----Original Message----- From: shim6-bounces@ietf.org
>> [mailto:shim6-bounces@ietf.org] On Behalf Of Miika Komu Sent:
>> Sunday, December 13, 2009 5:22 AM To: shim6@ietf.org Cc: Kristian
>> Slavov Subject: [shim6] SHIM API and unconnected sockets
>> 
>> Hi,
>> 
>> the applicability of unconnected sockets says:
>> 
>> 6.4. Notification from Multihoming Shim Sub-layer to Application
>> 
>> ..
>> 
>> There is no restriction in terms of applicability of the 
>> notification about locator change.  The notification can be
>> delivered to sockets regardless of if it is connected or
>> unconnected, stream-oriented or datagram-oriented.
>> 
>> However, the shim6 locator API has to have a field for the ULID or 
>> otherwise an unconnected application cannot distinguish the
>> context:
>> 
>> 7.1. Placeholder for Locator Information
>> 
>> ... struct shim_locator { uint8_t    lc_family;       /* address
>> family */ uint8_t    lc_proto;        /* protocol */ uint16_t
>> lc_port;         /* port number */ uint16_t   lc_flags;        /*
>> flags */ uint16_t   lc_pref;         /* preference value */ 
>> uint32_t   lc_ifidx;        /* interface index */ struct in6_addr
>> lc_addr;    /* address */ };
>> 
>> So, I think we need a struct in6_addr lc_ulid here and explain it
>> in the text.
> 
> 
> In section 6, under Figure 3, it says: In case of non-connected
> socket, msg_name member stores the socket address of the peer which
> should be considered as an identifier rather than a locator.  The
> locator of the peer node should be retrieved by SHIM_LOC_PEER_RECV as
> specified below.
> 
> So, is the additional lc_ulid needed in this case?  Is it storing the
> socket address of the local host?

This information is not available in socket options.

> It is a bit unclear to me the relationship between an unconnected
> socket and an underlying shim association (with context)-- perhaps
> some explanatory text would be helpful to add that describes how the
> transport-layer connection is related to the shim context, and what
> it means when one is present but the other is not.

A connected socket is always related zero or one context. An unconnected 
socket is related zero, one or many contexts.

From shinta@sfc.wide.ad.jp  Wed Dec 30 05:47:40 2009
Return-Path: <shinta@sfc.wide.ad.jp>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 925813A67F6 for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 05:47:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.904
X-Spam-Level: 
X-Spam-Status: No, score=0.904 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YX3d4lNWEdOI for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 05:47:39 -0800 (PST)
Received: from mail.sfc.wide.ad.jp (mail.sfc.wide.ad.jp [203.178.142.146]) by core3.amsl.com (Postfix) with ESMTP id B951E3A67AF for <shim6@ietf.org>; Wed, 30 Dec 2009 05:47:39 -0800 (PST)
Received: from imac.local (softbank126018084248.bbtec.net [126.18.84.248]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id 8A2794C0AB; Wed, 30 Dec 2009 22:47:14 +0900 (JST)
Message-ID: <4B3B59E2.9030105@sfc.wide.ad.jp>
Date: Wed, 30 Dec 2009 22:47:14 +0900
From: Shinta Sugimoto <shinta@sfc.wide.ad.jp>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: miika.komu@hiit.fi
References: <541EE6CB2B85BE4389E2910C9B4BC77E01C5081FBC@ESGSCCMS0002.eapac.ericsson.se><4B311F41.3010902@gmail.com>	<541EE6CB2B85BE4389E2910C9B4BC77E01C5082452@ESGSCCMS0002.eapac.ericsson.se>	<7CC566635CFE364D87DC5803D4712A6C4C1CAF19D4@XCH-NW-10V.nw.nos.boeing.com> <4B38C12F.3050307@hiit.fi>
In-Reply-To: <4B38C12F.3050307@hiit.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>
Subject: Re: [shim6] Unknown destination locator [was: WG Last Call	fordraft-ietf-shim6-multihome-shim-api]
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Dec 2009 13:47:40 -0000

Hi Thomas and Miika,

sorry for the delayed repsonse. please find my comments below.

Miika Komu wrote:
> Henderson, Thomas R wrote:
> 
> Hi,
> 
>>>> -----Original Message----- From: Brian E Carpenter
>>>> [mailto:brian.e.carpenter@gmail.com] Sent: Wednesday, December
>>>> 23, 2009 4:34 AM To: Shinta Sugimoto Cc: shim6@ietf.org Subject:
>>>> Re: [shim6] Unknown destination locator [was: WG Last Call for
>>>> draft-ietf-shim6-multihome-shim-api]
>>>>
>>>> Cases 1 and 3 make sense to me. Maybe for case 2 it should be SHOULD 
>>>> reject the request (because we might have some future shim
>>>> design that works differently). Or add a note that the rules may
>>>> need to be modified for some future shim design.
>>>>
>>>> Thanks Brian
>>>>
>>>> On 2009-12-23 06:37, Shinta Sugimoto wrote:
>>>>> Hi all,
>>>>>
>>>>> As pointed out by HIP experts (Thomas and Miika), we need
>>>> to consider exceptional case for HIP when the application sets
>>>> unknown destination locator for the socket.  Such an exceptional
>>>> handling will allow application to provide the destination
>>>> locator to the HIP.
>>>>> 1. The multihoming shim sub-layer checks if address family
>>>> of the socket is AF_INET6 (all the SHIM6 cases would fall into
>>>> this case).  If so, the shim must reject the request.
>>>>> 2. Otherwise, the shim checks if there is any multihome
>>>> shim context associated with the socket.  If there is any, the
>>>> shim must reject the request.
>>>>> 3. If there is none, and the multihome shim sub-layer turns
>>>> out to be
>>>>> HIP, the shim SHOULD accept the request (accordingly, the
>>>> shim being
>>>>> HIP implementation will probably initiate HIP basic exchange by
>>>>>  sending I1 packet to the requested locator)
>>>>>
>>
>> Would it be clearer to just restrict the scenario of "Unknown
>> locator" to shim6?  I think the main issue with unknown locators is
>> security in shim6.  For HIP, I don't think it matters so even in case
>> 2 above, I think that HIP shim should accept the request unless such
>> locator violates some other policy restriction in HIP.  As the above
>> reads now, it seems to me that it is saying that HIP should reject an
>> unknown locator after the HIP handshake was completed.
> 
> I agree with Thomas. I think the suggested change is too strict when it
> comes to HIP. Also, HIP can check unknown peer locators with return 
> routability procedures after the base exchange is completed.

Ok, let us relax the rule a bit for HIP then.

We will specify that the restriction in treatment of unknown 
*destination* locator is applied only to SHIM6.  Note that the treatment 
of unknown *source* locator is the same for SHIM6 and HIP.

Regards,
Shinta

From shinta@sfc.wide.ad.jp  Wed Dec 30 06:21:17 2009
Return-Path: <shinta@sfc.wide.ad.jp>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 913143A67EC for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 06:21:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.904
X-Spam-Level: 
X-Spam-Status: No, score=0.904 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PIgOELxoE3pY for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 06:21:16 -0800 (PST)
Received: from mail.sfc.wide.ad.jp (mail.sfc.wide.ad.jp [203.178.142.146]) by core3.amsl.com (Postfix) with ESMTP id 86B963A67AF for <shim6@ietf.org>; Wed, 30 Dec 2009 06:21:16 -0800 (PST)
Received: from imac.local (softbank126018084248.bbtec.net [126.18.84.248]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id 137474C0A9; Wed, 30 Dec 2009 23:20:52 +0900 (JST)
Message-ID: <4B3B61C4.2060501@sfc.wide.ad.jp>
Date: Wed, 30 Dec 2009 23:20:52 +0900
From: Shinta Sugimoto <shinta@sfc.wide.ad.jp>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
References: <4B24EA65.3000202@hiit.fi> <7CC566635CFE364D87DC5803D4712A6C4C1CAF19E0@XCH-NW-10V.nw.nos.boeing.com>
In-Reply-To: <7CC566635CFE364D87DC5803D4712A6C4C1CAF19E0@XCH-NW-10V.nw.nos.boeing.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <Kristian.Slavov@ericsson.com>
Subject: Re: [shim6] SHIM API and unconnected sockets
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Dec 2009 14:21:17 -0000

Henderson, Thomas R wrote:
> 
>> -----Original Message-----
>> From: shim6-bounces@ietf.org [mailto:shim6-bounces@ietf.org]
>> On Behalf Of Miika Komu
>> Sent: Sunday, December 13, 2009 5:22 AM
>> To: shim6@ietf.org
>> Cc: Kristian Slavov
>> Subject: [shim6] SHIM API and unconnected sockets
>>
>> Hi,
>>
>> the applicability of unconnected sockets says:
>>
>>     6.4. Notification from Multihoming Shim Sub-layer to Application
>>
>>     ..
>>
>>     There is no restriction in terms of applicability of the
>> notification
>>     about locator change.  The notification can be delivered
>> to sockets
>>     regardless of if it is connected or unconnected,
>> stream-oriented or
>>     datagram-oriented.
>>
>> However, the shim6 locator API has to have a field for the ULID or
>> otherwise an unconnected application cannot distinguish the context:
>>
>>     7.1. Placeholder for Locator Information
>>
>>     ...
>>         struct shim_locator {
>>                  uint8_t    lc_family;       /* address family */
>>                  uint8_t    lc_proto;        /* protocol */
>>                  uint16_t   lc_port;         /* port number */
>>                  uint16_t   lc_flags;        /* flags */
>>                  uint16_t   lc_pref;         /* preference value */
>>                  uint32_t   lc_ifidx;        /* interface index */
>>                  struct in6_addr lc_addr;    /* address */
>>          };
>>
>> So, I think we need a struct in6_addr lc_ulid here and
>> explain it in the
>> text.
> 
> 
> In section 6, under Figure 3, it says:
>    In case of non-connected socket, msg_name member stores the socket
>    address of the peer which should be considered as an identifier
>    rather than a locator.  The locator of the peer node should be
>    retrieved by SHIM_LOC_PEER_RECV as specified below.
> 
> So, is the additional lc_ulid needed in this case?  Is it storing the socket address of the local host?
> 
> It is a bit unclear to me the relationship between an unconnected socket and an underlying shim association (with context)-- perhaps some explanatory text would be helpful to add that describes how the transport-layer connection is related to the shim context, and what it means when one is present but the other is not.

I see your concern.  The relationship between an unconnected socket and 
shim context(s) is tricky and should be explained in the document, I 
think.  There was a discussion among authors whether to cover 
unconnected sockets or not for notification from the shim sub-layer to 
the application (the feature addressed in Section 6.4), and the outcome 
of the discussion was that we may cover unconnected socket as well 
provided that the shim sub-layer employs a kind of caching mechanism to 
store source and destination EID pair of the IP packet sent over the 
unconnected socket.  The cached information allows the shim sub-layer to 
  identify the target (unconnected) socket when there is an event 
(locator  change) occurs within a shim context.

As Miika pointed out, we need to include the EID in the shim_locator{} 
structure in order to implement the notification mechanism *if* we aim 
at supporting unconnected socket.

All in all, I think we should simply exclude the support for unconnected 
sockets for the notification feature.  The reason is that there are too 
many system requirements posed by this, and I think it makes the system 
too complex.  The caching mechanism required by the support of 
unconnected sockets seems overkill, and the additional member (lc_ulid) 
for the shim_locator{} structure required by the support of unconnected 
sockets seems redundant to me as the data structure is meant to store 
information about a single locator.  I do not think it's worthwhile 
fulfilling these system requirements for the support of unnconnected 
sockets.  So, I'd suggest to specify that the notification from the shim 
sub-layer to the application is supported only for connected sockets.

Miika (and maybe others), would you please hear your opinion on this?

Regards,
Shinta




From miika.komu@hiit.fi  Wed Dec 30 14:30:08 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 606873A6835 for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 14:30:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4cftjkNzrhOS for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 14:30:07 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id 4ABB43A6819 for <shim6@ietf.org>; Wed, 30 Dec 2009 14:30:06 -0800 (PST)
Received: from ip104.infrahip.net (87-94-236-71.bb.dnainternet.fi [87.94.236.71]) by argo.otaverkko.fi (Postfix) with ESMTP id E170F25ED06; Thu, 31 Dec 2009 00:29:45 +0200 (EET)
Message-ID: <4B3BD459.1050101@hiit.fi>
Date: Wed, 30 Dec 2009 23:29:45 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "shim6@ietf.org" <shim6@ietf.org>
References: <4B24EA65.3000202@hiit.fi>	<7CC566635CFE364D87DC5803D4712A6C4C1CAF19E0@XCH-NW-10V.nw.nos.boeing.com> <4B39FB50.1070504@hiit.fi>
In-Reply-To: <4B39FB50.1070504@hiit.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Kristian Slavov <Kristian.Slavov@ericsson.com>
Subject: Re: [shim6] SHIM API and unconnected sockets
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Dec 2009 22:30:08 -0000

Miika Komu wrote:

Hi,

> Henderson, Thomas R wrote:
> 
> Hi,
> 
>>> -----Original Message----- From: shim6-bounces@ietf.org
>>> [mailto:shim6-bounces@ietf.org] On Behalf Of Miika Komu Sent:
>>> Sunday, December 13, 2009 5:22 AM To: shim6@ietf.org Cc: Kristian
>>> Slavov Subject: [shim6] SHIM API and unconnected sockets
>>>
>>> Hi,
>>>
>>> the applicability of unconnected sockets says:
>>>
>>> 6.4. Notification from Multihoming Shim Sub-layer to Application
>>>
>>> ..
>>>
>>> There is no restriction in terms of applicability of the notification 
>>> about locator change.  The notification can be
>>> delivered to sockets regardless of if it is connected or
>>> unconnected, stream-oriented or datagram-oriented.
>>>
>>> However, the shim6 locator API has to have a field for the ULID or 
>>> otherwise an unconnected application cannot distinguish the
>>> context:
>>>
>>> 7.1. Placeholder for Locator Information
>>>
>>> ... struct shim_locator { uint8_t    lc_family;       /* address
>>> family */ uint8_t    lc_proto;        /* protocol */ uint16_t
>>> lc_port;         /* port number */ uint16_t   lc_flags;        /*
>>> flags */ uint16_t   lc_pref;         /* preference value */ 
>>> uint32_t   lc_ifidx;        /* interface index */ struct in6_addr
>>> lc_addr;    /* address */ };
>>>
>>> So, I think we need a struct in6_addr lc_ulid here and explain it
>>> in the text.
>>
>>
>> In section 6, under Figure 3, it says: In case of non-connected
>> socket, msg_name member stores the socket address of the peer which
>> should be considered as an identifier rather than a locator.  The
>> locator of the peer node should be retrieved by SHIM_LOC_PEER_RECV as
>> specified below.
>>
>> So, is the additional lc_ulid needed in this case?  Is it storing the
>> socket address of the local host?
> 
> This information is not available in socket options.

actually, I'm starting to wonder if I started this thread for nothing. I 
think the lc_ulid field is not needed because section 6.4 applies only 
to recvmg(). Right, Shinta?


From miika.komu@hiit.fi  Wed Dec 30 14:36:13 2009
Return-Path: <miika.komu@hiit.fi>
X-Original-To: shim6@core3.amsl.com
Delivered-To: shim6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3C5D33A6819 for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 14:36:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E8cp49WPSAwF for <shim6@core3.amsl.com>; Wed, 30 Dec 2009 14:36:12 -0800 (PST)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id F37713A67EB for <shim6@ietf.org>; Wed, 30 Dec 2009 14:36:11 -0800 (PST)
Received: from ip104.infrahip.net (87-94-236-71.bb.dnainternet.fi [87.94.236.71]) by argo.otaverkko.fi (Postfix) with ESMTP id 80B8C25ED06; Thu, 31 Dec 2009 00:35:51 +0200 (EET)
Message-ID: <4B3BD5C6.6020102@hiit.fi>
Date: Wed, 30 Dec 2009 23:35:50 +0100
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Shinta Sugimoto <shinta@sfc.wide.ad.jp>
References: <4B24EA65.3000202@hiit.fi> <7CC566635CFE364D87DC5803D4712A6C4C1CAF19E0@XCH-NW-10V.nw.nos.boeing.com> <4B3B61C4.2060501@sfc.wide.ad.jp>
In-Reply-To: <4B3B61C4.2060501@sfc.wide.ad.jp>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "shim6@ietf.org" <shim6@ietf.org>, Kristian Slavov <Kristian.Slavov@ericsson.com>
Subject: Re: [shim6] SHIM API and unconnected sockets
X-BeenThere: shim6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
List-Id: SHIM6 Working Group Mailing List <shim6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/shim6>
List-Post: <mailto:shim6@ietf.org>
List-Help: <mailto:shim6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/shim6>, <mailto:shim6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Dec 2009 22:36:13 -0000

Shinta Sugimoto wrote:

Hi,

> Henderson, Thomas R wrote:
>>
>>> -----Original Message-----
>>> From: shim6-bounces@ietf.org [mailto:shim6-bounces@ietf.org]
>>> On Behalf Of Miika Komu
>>> Sent: Sunday, December 13, 2009 5:22 AM
>>> To: shim6@ietf.org
>>> Cc: Kristian Slavov
>>> Subject: [shim6] SHIM API and unconnected sockets
>>>
>>> Hi,
>>>
>>> the applicability of unconnected sockets says:
>>>
>>>     6.4. Notification from Multihoming Shim Sub-layer to Application
>>>
>>>     ..
>>>
>>>     There is no restriction in terms of applicability of the
>>> notification
>>>     about locator change.  The notification can be delivered
>>> to sockets
>>>     regardless of if it is connected or unconnected,
>>> stream-oriented or
>>>     datagram-oriented.
>>>
>>> However, the shim6 locator API has to have a field for the ULID or
>>> otherwise an unconnected application cannot distinguish the context:
>>>
>>>     7.1. Placeholder for Locator Information
>>>
>>>     ...
>>>         struct shim_locator {
>>>                  uint8_t    lc_family;       /* address family */
>>>                  uint8_t    lc_proto;        /* protocol */
>>>                  uint16_t   lc_port;         /* port number */
>>>                  uint16_t   lc_flags;        /* flags */
>>>                  uint16_t   lc_pref;         /* preference value */
>>>                  uint32_t   lc_ifidx;        /* interface index */
>>>                  struct in6_addr lc_addr;    /* address */
>>>          };
>>>
>>> So, I think we need a struct in6_addr lc_ulid here and
>>> explain it in the
>>> text.
>>
>>
>> In section 6, under Figure 3, it says:
>>    In case of non-connected socket, msg_name member stores the socket
>>    address of the peer which should be considered as an identifier
>>    rather than a locator.  The locator of the peer node should be
>>    retrieved by SHIM_LOC_PEER_RECV as specified below.
>>
>> So, is the additional lc_ulid needed in this case?  Is it storing the 
>> socket address of the local host?
>>
>> It is a bit unclear to me the relationship between an unconnected 
>> socket and an underlying shim association (with context)-- perhaps 
>> some explanatory text would be helpful to add that describes how the 
>> transport-layer connection is related to the shim context, and what it 
>> means when one is present but the other is not.
> 
> I see your concern.  The relationship between an unconnected socket and 
> shim context(s) is tricky and should be explained in the document, I 
> think.  There was a discussion among authors whether to cover 
> unconnected sockets or not for notification from the shim sub-layer to 
> the application (the feature addressed in Section 6.4), and the outcome 
> of the discussion was that we may cover unconnected socket as well 
> provided that the shim sub-layer employs a kind of caching mechanism to 
> store source and destination EID pair of the IP packet sent over the 
> unconnected socket.  The cached information allows the shim sub-layer to 
>  identify the target (unconnected) socket when there is an event 
> (locator  change) occurs within a shim context.
> 
> As Miika pointed out, we need to include the EID in the shim_locator{} 
> structure in order to implement the notification mechanism *if* we aim 
> at supporting unconnected socket.

I think the new field is not needed after all, please check the previous 
email.

> All in all, I think we should simply exclude the support for unconnected 
> sockets for the notification feature.  The reason is that there are too 
> many system requirements posed by this, and I think it makes the system 
> too complex.  The caching mechanism required by the support of 
> unconnected sockets seems overkill, and the additional member (lc_ulid) 
> for the shim_locator{} structure required by the support of unconnected 
> sockets seems redundant to me as the data structure is meant to store 
> information about a single locator.  I do not think it's worthwhile 
> fulfilling these system requirements for the support of unnconnected 
> sockets.  So, I'd suggest to specify that the notification from the shim 
> sub-layer to the application is supported only for connected sockets.
> 
> Miika (and maybe others), would you please hear your opinion on this?

I think we want to support unconnected sockets because the whole 
notification feature requires recvmsg() which implies UDP based sockets. 
This means that we're ruling out the majority of the audience which are 
unconnected apps.
