Re: [multipathtcp] MPTCP implementation feedback for RFC6824bis

Alan Ford <alan.ford@gmail.com> Fri, 13 December 2019 12:38 UTC

Return-Path: <alan.ford@gmail.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 7FA4A1207FF for <multipathtcp@ietfa.amsl.com>; Fri, 13 Dec 2019 04:38:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kXjrw_4U6d4x for <multipathtcp@ietfa.amsl.com>; Fri, 13 Dec 2019 04:38:31 -0800 (PST)
Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F95D12004A for <multipathtcp@ietf.org>; Fri, 13 Dec 2019 04:38:31 -0800 (PST)
Received: by mail-wr1-x431.google.com with SMTP id y17so6490068wrh.5 for <multipathtcp@ietf.org>; Fri, 13 Dec 2019 04:38:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=GXTl6aFKj7f6/asHalGFHT+WXwPE5eZmYhynLz3cOFY=; b=PeOBNDtmGgbxqRmRa12CHEiEmQ9tGTWKEYiRKNkT7BQ1yKJ5PesanqHuLNfALxPU6L WYvBy7SDORzJN/Jq/gsrzOMV754N5xtMBJ5rLsaUGMn/HkIh/Kwb1pmvP/iy5L5M5JVL MBxC/fSfutFXpQkYJRpq3xxmx81CO/+VcS5sSfYogEg24W1c8u465DoWzQznjQ43vKrF f3un/kd4eMcRpuvIsDfFfxZz8H/rWWbkqiSQ2sWyUeA7vNKYV77CVkF3bi5BhIVqFVlR YozmhHG9zRdNY4gRCkLWAY+xs+ZFC3XQFKy50LwYYJdhTzOUyBUZSb4CAYilI74Z1zkk XSUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=GXTl6aFKj7f6/asHalGFHT+WXwPE5eZmYhynLz3cOFY=; b=lKZ6zZc+1eriB5eePgTpu689HgXW2QD+HrSrY50TaGbAdIKFz6hNHnuBmmQmGFACJU l4Ku4sH2VKHse37il/RGoGxzRSrEXi/oUWNXrluObadTvp/wdRQE2cJUjcu0oe+8Epxm welmnDbJUvZc5Rt7o8q5/zbNbdTuBYZn4zFLzJlM4I1k1BfnMGIv1flQ6TbluTQIjqzh LkstvOLjA30ZWkoyb83jZ+Rt2cCLEHFegX78NzE+E7r1Db9fDCiDHmmBcTSm7imTcDX1 Hwt8aRS228f4Gu+8O44Qr9vag5DbJw2RqhEuSw7UmATspY/nveOBzanEiOKhH4T38inJ AOoQ==
X-Gm-Message-State: APjAAAWX2xPMt0dVBpwVvCzClD4oDaHE0GiXcM7JHomKJqTyOD8bJmzp AtOb08Jv3bhWpmBWzFnE674=
X-Google-Smtp-Source: APXvYqyzzU7H25ITw82xOOADej1hGanwnpzuwSpQ371WpsSKH1j7Y2cSWD9THEGugI7ZPAL1Cg1SLQ==
X-Received: by 2002:a05:6000:1047:: with SMTP id c7mr12926914wrx.341.1576240709463; Fri, 13 Dec 2019 04:38:29 -0800 (PST)
Received: from [192.168.1.115] (93.118.208.46.dyn.plus.net. [46.208.118.93]) by smtp.gmail.com with ESMTPSA id h2sm9835086wrv.66.2019.12.13.04.38.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Dec 2019 04:38:28 -0800 (PST)
From: Alan Ford <alan.ford@gmail.com>
Message-Id: <48314EB0-E515-40DC-B8D3-E7512DAA35BC@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_8F03BF77-C56C-421E-BB79-0DF43196CFE1"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Fri, 13 Dec 2019 12:38:26 +0000
In-Reply-To: <CAKuKrBmpqv026QaKnYirTgpXmmjoyorbLAUOkF7KJbpofHEgQA@mail.gmail.com>
Cc: Christoph Paasch <cpaasch@apple.com>, Yoshifumi Nishida <nsd.ietf@gmail.com>, MultiPath TCP - IETF WG <multipathtcp@ietf.org>, Philip Eardley <philip.eardley@bt.com>, Mirja Kuehlewind <ietf@kuehlewind.net>, mptcp Upstreaming <mptcp@lists.01.org>, Paolo Abeni <pabeni@redhat.com>
To: Matthieu Baerts <matthieu.baerts@tessares.net>
References: <17233788-D98B-4484-B785-2F58D43EA7CA@apple.com> <D070F2D5-6E8C-4551-86DD-E50B4ADF11B7@gmail.com> <3F1F1135-D2C0-48E2-9B6E-A83DDC11DF4F@apple.com> <83BFBFD6-255E-4022-96D4-BE183B709CB2@gmail.com> <20191202172757.GA84163@MacBook-Pro-64.local> <CF3EBAFD-E24E-4233-8FCE-775396E747A2@gmail.com> <D784F90C-5027-4753-9088-00CF25D22DFD@apple.com> <3278EB11-686A-4E0F-9DE4-321B239F8913@gmail.com> <DEE3E51B-373C-40BE-A296-8517FB23A7B7@apple.com> <6978C97F-24D5-4CF0-8CEB-2F58BE26D174@gmail.com> <CAAK044RLUJSZEcyuv1FmPGmOA0pCMKLBD8EzXZn9h23ZCfaYWA@mail.gmail.com> <63E04612-7410-4E38-BE19-F2351C23C7F7@gmail.com> <2689B456-2B1C-4D84-B36E-74FA0FFD2E3B@apple.com> <34FA5631-3ED2-4C12-A928-5BA8728CAC7E@gmail.com> <CAKuKrBmpqv026QaKnYirTgpXmmjoyorbLAUOkF7KJbpofHEgQA@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/CZyiz3MeOO7IjzMplV3V5bO17Ps>
Subject: Re: [multipathtcp] MPTCP implementation feedback for RFC6824bis
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 13 Dec 2019 12:38:34 -0000

Hi Matthieu,

> On 13 Dec 2019, at 00:10, Matthieu Baerts <matthieu.baerts@tessares.net> wrote:
> 
> Hi Alan,
> 
> 
> On Thu, Dec 12, 2019 at 10:19 PM Alan Ford <alan.ford@gmail.com <mailto:alan.ford@gmail.com>> wrote:
> Hi Christoph (and Matthieu & Pablo),
> 
> WRT checksums, we do say:
> 
>    For example,
>    if the initiator sets A=0 in the SYN but the responder sets A=1 in
>    the SYN/ACK, checksums MUST be used in both directions, and the
>    initiator will set A=1 in the ACK.  
> 
>    If A=1 is received by a host that does not
>    want to use checksums, it MUST fall back to regular TCP by ignoring
>    the MP_CAPABLE option as if it was invalid.
> 
> Which would seem to cover all these eventualities. The “C” bit is purely an indicator, and the crypto negotiation is clearly specified too.
> 
> Thank you for your answer, that's clearer for the A bit.
> Our concern was mainly about the version. How should we react if, as a server supporting only v1, we have this sequence:
> 
> SYN (MP_CAPABLE: v2)  →
> ←  SYN+ACK (MP_CAPABLE: v1)
> ACK (MP_CAPABLE v2) →
> 
> In other words, the server told the client that the maximum version it supports is v1. But in the ACK+MP_CAPABLE, the client sends v2 again.
> 
> According to the RFC, the negotiation is done in the SYN and SYN+ACK. How do we react if the following ACK is sending a version (e.g. v2) which is not the expected one (e.g. v1)?
> 
> For the moment in our implementation, we fallback to regular TCP.
> It means that future versions of MPTCP have to set the proper version in the 3rd ACK -- the negotiated one -- and not a copy of what has been sent in the SYN.
> 
> Should we add a clarification for that?

I see your point but I don’t feel we need any clarification here. The exchange as you rightly point out is done on the SYN/SYN+ACK. So when the server sends the SYN+ACK with v1, that is the decision that has been made. Sending an ACK with v2 is not a valid response. So if the server receives this, it treats it as any other invalid option and ignores it, so it treats it as if the ACK does not have an MP_CAPABLE, and thus it will fall back to regular TCP.

Regards,
Alan