Re: [multipathtcp] q about remove addr behavior

Yoshifumi Nishida <nishida@sfc.wide.ad.jp> Thu, 29 June 2017 21:13 UTC

Return-Path: <nishida@sfc.wide.ad.jp>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD4A01274D2 for <multipathtcp@ietfa.amsl.com>; Thu, 29 Jun 2017 14:13:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level:
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QKGHSAgO6ZIp for <multipathtcp@ietfa.amsl.com>; Thu, 29 Jun 2017 14:13:38 -0700 (PDT)
Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp [203.178.142.130]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08CD7127369 for <multipathtcp@ietf.org>; Thu, 29 Jun 2017 14:13:37 -0700 (PDT)
Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id A4DE2278628 for <multipathtcp@ietf.org>; Fri, 30 Jun 2017 06:13:35 +0900 (JST)
Received: by mail-wm0-f46.google.com with SMTP id w126so93381428wme.0 for <multipathtcp@ietf.org>; Thu, 29 Jun 2017 14:13:35 -0700 (PDT)
X-Gm-Message-State: AKS2vOwjFaikprjSCRYWYFS9ikCsVRWg2dqreoIeEKyy75BrewwCI+vb beY6jTgbBTtSuNX1r8sPL8nby1WviA==
X-Received: by 10.80.206.22 with SMTP id y22mr3098933edi.20.1498770813717; Thu, 29 Jun 2017 14:13:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.163.180 with HTTP; Thu, 29 Jun 2017 14:13:33 -0700 (PDT)
In-Reply-To: <2E4C9882-0608-4CE7-9B39-49A870E58DE6@apple.com>
References: <CAO249ydwQgPr2t6n9dNJ=xa5ubXDB2meYdU6OK7ATNvrpCGA_g@mail.gmail.com> <0D08287D-1F1B-44CB-B937-EB38DF0DCA84@apple.com> <CAO249ydxgN6Yzs8-6Rj1Khup+HmGUNCzCymUp5P8qXWa+EOP+Q@mail.gmail.com> <2E4C9882-0608-4CE7-9B39-49A870E58DE6@apple.com>
From: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
Date: Thu, 29 Jun 2017 14:13:33 -0700
X-Gmail-Original-Message-ID: <CAO249yc48xmMBcZO=+JpO858i59GDy3WV95-rDhS6tGiptNzJA@mail.gmail.com>
Message-ID: <CAO249yc48xmMBcZO=+JpO858i59GDy3WV95-rDhS6tGiptNzJA@mail.gmail.com>
To: Christoph Paasch <cpaasch@apple.com>
Cc: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>, MultiPath TCP - IETF WG <multipathtcp@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1b2ac6f3991b05531fc58d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/K4-F2WKY-MwozOaRl8h9_nIJXFk>
Subject: Re: [multipathtcp] q about remove addr behavior
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/multipathtcp/>
List-Post: <mailto:multipathtcp@ietf.org>
List-Help: <mailto:multipathtcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jun 2017 21:13:41 -0000

Hi Christoph,

On Mon, Jun 26, 2017 at 11:03 PM, Christoph Paasch <cpaasch@apple.com>
wrote:

> Hello Yoshifumi,
>
> On Jun 22, 2017, at 11:26 AM, Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
> wrote:
> On Thu, Jun 22, 2017 at 12:14 AM, Christoph Paasch <cpaasch@apple.com>
> wrote:
>
>> Hello,
>>
>> On Jun 21, 2017, at 9:04 PM, Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
>> wrote:
>> In the Chicago meeting, I remember Joseph mentioned an issue on linux
>> which close all subflows that use an IP address when rem addr for it has
>> been received.
>>
>> (page 13 in https://www.ietf.org/proceedings/98/slides/slides-98-mptcp-s
>> essa-channel-bonding-of-low-rate-links-using-mptcp-for-airbo
>> rne-flight-research-00.pdf)
>>
>> As far as I read 6824bis draft, this behavior seems not to be
>> recommended. But, do we need more specific guidance here?
>>
>>
>> true, in Linux we just close the subflow and do not send keepalives to
>> check whether the subflow is really up or not.
>>
>> I'm not sure if sending keepalives is the right thing to do. Basically,
>> when the peer tells us that this subflow should be removed, why shouldn't a
>> host trust its peer and do as as it says ?
>> The benefit of closing the subflow is that we can stop trying to send
>> data on it and we free those resources. Lingering subflows is a serious
>> problem on the server-side, when clients move away from a WiFi access-point.
>>
>
> I am guessing it depends on how implementations are using remove addr
> feature. We should avoid mixing up addresses and flows.
> Even if a subflow is removed, it won't be wise to send remove addr when
> the other subflows use the address.
>
>
> yes, this is different from the way I understood your mails. You mean that
> we should have per-subflow identifiers instead of address-id's ?
>

> The draft seems to presume a case where an IF has gone, but this kind of
> events might not be easy to be caught at the TCP layer.
>
>
> I'm not sure I follow you here. Can you clarify ?
>
> My comment was with respect to the sentence in the draft:
>
> For security purposes, if a host receives a REMOVE_ADDR option, it
>    must ensure the affected path(s) are no longer in use before it
>    instigates closure.
>
>
> That's the part that we do not implement in Linux.
>

Sorry. I was not clear enough. What I thought was what would be a trigger
for issuing remove addr in linux.
I understand linux does not have the part you mentioned.
But, if so, I guess triggering remove addr when a P2P interface has gone
might not be a very good idea..
--
Yoshi