Re: [shim6] WG Last Call for draft-ietf-shim6-multihome-shim-api

Brian E Carpenter <brian.e.carpenter@gmail.com> Sun, 13 December 2009 19:43 UTC

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