Re: [multipathtcp] q about remove addr behavior

Christoph Paasch <cpaasch@apple.com> Tue, 27 June 2017 06:03 UTC

Return-Path: <cpaasch@apple.com>
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 92C06126D46 for <multipathtcp@ietfa.amsl.com>; Mon, 26 Jun 2017 23:03:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oxESKOWG2LJj for <multipathtcp@ietfa.amsl.com>; Mon, 26 Jun 2017 23:03:29 -0700 (PDT)
Received: from mail-in7.apple.com (mail-out7.apple.com [17.151.62.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8AB44124BFA for <multipathtcp@ietf.org>; Mon, 26 Jun 2017 23:03:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1498543408; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gGf6ugGon/FtLGKTmyHj6+Bx8qmn857P2QH7mUjyzc4=; b=T57YioDUQnoUJkmLMR08GUpAFg0uopb+2RvDcLtuoBpjbtQa3dUEpLCwv5Amz0oE XBPZMFi9qKfpYQgat9xejeqWcnhmUaYshTM5Rv7blnuuw3VbEhSW2zhbb1WpnadE fumUKaP9LfIlPqETxOOyzcf8QMLQLtGhMC904kE3VKj4++RYTCGLWmWVqYSCsui0 xhitLWRBrfhUX5ZDxJAIYP+eE33m/n2Jf/FgVYAT3RNAMx+iWFYiO1ButXU/R1cB TwUBEhaD7PECH/lzaQJYsD3eYHGp6r4rHV+mtYTeka/FFIrOSm0ZXvElSQlEmg+w ms6YnJsEMTmBQUTRNTNJXQ==;
Received: from relay2.apple.com (relay2.apple.com [17.128.113.67]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in7.apple.com (Apple Secure Mail Relay) with SMTP id 74.D6.07949.035F1595; Mon, 26 Jun 2017 23:03:28 -0700 (PDT)
X-AuditID: 11973e16-0c7789a000001f0d-48-5951f530bc38
Received: from nwk-mmpp-sz09.apple.com (nwk-mmpp-sz09.apple.com [17.128.115.80]) by relay2.apple.com (Apple SCV relay) with SMTP id 5A.D6.08566.035F1595; Mon, 26 Jun 2017 23:03:28 -0700 (PDT)
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_UPyVWc6oMCwxsVjL7UiD+A)"
Received: from [17.149.236.24] by nwk-mmpp-sz09.apple.com (Oracle Communications Messaging Server 8.0.1.2.20170210 64bit (built Feb 10 2017)) with ESMTPSA id <0OS60018SZHROJ80@nwk-mmpp-sz09.apple.com>; Mon, 26 Jun 2017 23:03:28 -0700 (PDT)
Sender: cpaasch@apple.com
From: Christoph Paasch <cpaasch@apple.com>
Message-id: <2E4C9882-0608-4CE7-9B39-49A870E58DE6@apple.com>
Date: Mon, 26 Jun 2017 23:03:27 -0700
In-reply-to: <CAO249ydxgN6Yzs8-6Rj1Khup+HmGUNCzCymUp5P8qXWa+EOP+Q@mail.gmail.com>
Cc: MultiPath TCP - IETF WG <multipathtcp@ietf.org>
To: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
References: <CAO249ydwQgPr2t6n9dNJ=xa5ubXDB2meYdU6OK7ATNvrpCGA_g@mail.gmail.com> <0D08287D-1F1B-44CB-B937-EB38DF0DCA84@apple.com> <CAO249ydxgN6Yzs8-6Rj1Khup+HmGUNCzCymUp5P8qXWa+EOP+Q@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsUi2FDorGvwNTDSYOtaE4vPq6+zWWxccoPN gcljyZKfTB4XX19nDmCK4rJJSc3JLEst0rdL4MpY1/iIqeCbVcXZW6vYGxjvGXUxcnJICJhI tJ88wtLFyMUhJLCaSaLr+37GLkYOsMSj6UwQ8YOMErvPP2EFaeAVEJT4MfkeC4jNLBAm8XrD UiYQW0jgK6PE4ds+ILawgKRE9507zCA2m4CWxNvb7VC9NhK/2t6yQNRYSBxeeI8dxGYRUJWY +/wQI4jNKRAsMfVDJzvIDcwCxhJTZoLdKSKgJ/Hh+0eoe84wStzfs50V4gFZiVuzLzGDJCQE TrBJ/Nx1i3kCo9AsJLfOQnIrhK0l8f1RK1AcZIe8xMHzshBhTYln9z6xQ9jaEk/eXWBdwMi2 ilEoNzEzRzczz1wvsaAgJ1UvOT93EyMoEqbbie1gfLjK6hCjAAejEg/vD6bASCHWxLLiytxD jNIcLErivPlzgEIC6YklqdmpqQWpRfFFpTmpxYcYmTg4pRoYWxjD03ijMuwv1D+ZwfvOwMbi r226u7LASUaZ+zvUNxcL+7DFd2Wt/vkt7fARJfk+ScunjwvdFGJZM02dV919ajL36toVj6Y/ ubdR6X29ZPr+inePy7dMuDxjeeFFrwjZ43tFo5n+XKz9lPNBL/O6QTbHlv+3pcWSHq4MqJyn ybEma8I3Z10RJZbijERDLeai4kQA5HFuOmUCAAA=
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsUi2FAcoGvwNTDSYNlVXYvPq6+zWWxccoPN gcljyZKfTB4XX19nDmCK4rJJSc3JLEst0rdL4MpY1/iIqeCbVcXZW6vYGxjvGXUxcnBICJhI PJrO1MXIxSEkcJBRYvf5J6xdjJwcvAKCEj8m32MBsZkFwiReb1jKBGILCXxllDh82wfEFhaQ lOi+c4cZxGYT0JJ4e7sdqtdG4lfbWxaIGguJwwvvsYPYLAKqEnOfH2IEsTkFgiWmfuhkB7mB WcBYYspMI5CwiICexIfvH6HuOcMocX/PdrCZEgKyErdmX2KewMg/C8l5s5CcB2FrSXx/1AoU BxkrL3HwvCxEWFPi2b1P7BC2tsSTdxdYFzCyrWIUKErNSaw00kssKMhJ1UvOz93ECA7cQucd jMeWWR1iFOBgVOLhDWANjBRiTSwrrsw9xCjBwawkwut7BijEm5JYWZValB9fVJqTWnyIcSIj 0JMTmaVEk/OBcZVXEm9oYmJgYmxsZmxsbmJOS2Elcd7+bqCLBNITS1KzU1MLUotgjmLi4JRq YOx8Pe9V4mkfd4MJlddrPkzN1F5yYVmXcpl2m0qZ94HNf+eYThLfO7vUqLUxrnXR9LXfjrG3 tl7yKCgOmuH21O7R/hfCZoV6TKc1P9h5r/4zaU7ie/U2189fXc5Pa1/NumRPvf6DuBKT6/Uf yh8+Vv5dqRWzeVVujU6MBBfzwqYTt7cYTpSYvlSJpTgj0VCLuag4EQB9NTWxzwIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/ENPIrxAsczM6dOY1RNTwCn_Qh-Q>
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: Tue, 27 Jun 2017 06:03:31 -0000

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 <mailto:cpaasch@apple.com>> wrote:
> Hello,
> 
>> On Jun 21, 2017, at 9:04 PM, Yoshifumi Nishida <nishida@sfc.wide.ad.jp <mailto: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-sessa-channel-bonding-of-low-rate-links-using-mptcp-for-airborne-flight-research-00.pdf <https://www.ietf.org/proceedings/98/slides/slides-98-mptcp-sessa-channel-bonding-of-low-rate-links-using-mptcp-for-airborne-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.


Cheers,
Christoph