Re: Fwd: New Version Notification for draft-liu-multipath-quic-01.txt

Yanmei Liu <miaoji.lym@alibaba-inc.com> Mon, 14 December 2020 18:44 UTC

Return-Path: <miaoji.lym@alibaba-inc.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F97D3A13B7 for <quic@ietfa.amsl.com>; Mon, 14 Dec 2020 10:44:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.197
X-Spam-Level:
X-Spam-Status: No, score=-0.197 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=alibaba-inc.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 y8DziVhFETc1 for <quic@ietfa.amsl.com>; Mon, 14 Dec 2020 10:44:17 -0800 (PST)
Received: from out0-151.mail.aliyun.com (out0-151.mail.aliyun.com [140.205.0.151]) (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 5D35B3A13B5 for <quic@ietf.org>; Mon, 14 Dec 2020 10:44:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1607971453; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type; bh=Ro+LlA+NbYko1Ih5hOs/6BS+q/RkdHyd++/MG5YFydQ=; b=xY76Ue3noL0Wgsc4s44hYJJqEH1mGmWljkkqviTGzyH9sf0NOGH4YpQJbHB20fG91UhSsMTkQPB6d1sCAJmFhIFEN7ZH2Pvw7S3U4Gb0z/olNnkMCBmT7D8lUGLbCivuDTWY/T4oCfncx2VhSncIybpEclABGkEo9BoWfjLdbYk=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R181e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=ay29a033018047192; MF=miaoji.lym@alibaba-inc.com; NM=1; PH=DW; RN=6; SR=0; TI=W4_6056262_v5ForWebDing_0AC26432_1607966206524_o7001c609k;
Received: from WS-web (miaoji.lym@alibaba-inc.com[W4_6056262_v5ForWebDing_0AC26432_1607966206524_o7001c609k]) by ay29a011140100215.et135 at Tue, 15 Dec 2020 02:44:12 +0800
Date: Tue, 15 Dec 2020 02:44:12 +0800
From: Yanmei Liu <miaoji.lym@alibaba-inc.com>
To: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, AN Qing <anqing.aq@alibaba-inc.com>, 李振宇 <zyli@ict.ac.cn>, quic <quic@ietf.org>, huitema <huitema@huitema.net>, Yunfei <yunfei.ma@alibaba-inc.com>
Reply-To: Yanmei Liu <miaoji.lym@alibaba-inc.com>
Message-ID: <bdc7a13a-0c69-4db7-b13c-28107f8d6898.miaoji.lym@alibaba-inc.com>
Subject: Re: Fwd: New Version Notification for draft-liu-multipath-quic-01.txt
X-Mailer: [Alimail-Mailagent revision 5829926][W4_6056262][v5ForWebDing][Chrome]
MIME-Version: 1.0
References: <1baa86a9-455d-4256-85f2-9aee159afed9.miaoji.lym@alibaba-inc.com> <CAN1APdc_1+VwOoGaX16iaQPUXfySoD-bmjuSVBJ_gLF4HUBO1Q@mail.gmail.com>, <CAN1APddoML7akHEE7EiR8qbfjf=D+0n+gNP=FccvL3JSt19a0w@mail.gmail.com>
x-aliyun-mail-creator: W4_6056262_v5ForWebDing_M3LTW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTRfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzg2LjAuNDI0MC4xMTEgU2FmYXJpLzUzNy4zNg==vN
In-Reply-To: <CAN1APddoML7akHEE7EiR8qbfjf=D+0n+gNP=FccvL3JSt19a0w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="----=ALIBOUNDARY_88917_7fa5bd84d700_5fd7b27c_32f792"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/UHrjWR5LuDqA9CpLcHMoc0cByuM>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Dec 2020 18:44:19 -0000

Hi Mikkel,

First of all, thanks a lot for reading the draft carefully and giving feedback about it.
My reply is behind the quote: 

> Some more comments on the proposed MP design
>
> On protocol violations:
>
> quote:
> “If an endpoint receives MP frames from packets of other encryption
> levels, it MAY return MP_PROTOCOL_VIOLATION as a connection error and
> close the connection."
> 
> I think it is important to use strict MUST on easily detectable protocol violations to ensure interop and security.

It’s a good advice and we will using MUST here in the next version.

> Also, to my previous point on path sequence numbers as IV source:
> What is the motivation for using the same key on all paths? Is it considered a resource constraint to have more keys? Considering a server might have 10K+ connections, and perhaps 1.3 paths per connections (wild guess), it doesn’t seem to much of an overhead.
> In addition, having separate keys avoids the sync issues mentioned in the document. As it stands, failure on one active path can block key update. This sounds like an accidental or intentional attack vector, although I’m not sure that it is.
> 

We have discussed about using different keys in different paths. This requires adding a key derivation procedure for each path, and
also adding ways to identify the relevant key in the incoming packets, and we will have to modify the QUIC-v1 packet headers to support the feature. 
As we have explained in the basic design principles of the proposal, we don’t want to modify the packet header format of QUIC-v1, to avoid the risk of packets being dropped by middleboxes (which may only support QUIC-v1).

> On the document format:
> 
> I think the discussion on application influence is good, but maybe isolate that discussion a bit. It seems that stream priorities are part of the MP design, which isn’t really the case, even if it is relevant to MP applications.
> 

We do encounter scenarios where stream priority needs to be supported in multi-path in reality, and we will discuss this carefully.

> On QoE:
> Maybe it is good to leave the interpretation open to applications, but it makes it more difficult to design a protocol layer on top. Is it the intention that, for example, a QUIC-> MP video protocol is designed which then documents how to interpret QoE? If so, does this need to be in the MP protocol, or could it be in a control stream created by the app level protocol? In other words, I’m not sure wha the value is at the transport level if it doesn’t > affect the transport layer directly (unless of course I am missing something).
> The QOE_CONTROL_SIGNAL frame will definately affect the packet scheduler, as mentioned in the proposal. 
> And we didn’t restrict the inner value format, it’s open for implementors and researchers to play with it, and try their own scheduler algorithms with it. 
> We thought it would be convenient to play with an existing frame than adding a new frame. 
> ACK_MP frame:
> If this is an extension to QUICv1 it makes sense (and this seems to be the case). If it is intended as a new protocol version, maybe replace the regular ACK frame to avoid protocol bloat? I can see the counter argument that a new frame ID makes it easier to reuse v1 im> plementations, but protocol bloat is a concern as well.

I think that it’s important to keep compatible with QUIC-v1. If implementations send ACK frame in multiple paths, it still need to be processed without errors.

> The scheduling section has an example mentioning one of the two paths. I’m sure this a left-over since there could be more than two active paths as I understand.

We will add more examples about scenarios with more than two active paths.

> Path state:
> I do not understand this well enough, but I’m a bit concerned about one endpoint dictating the behaviour of the other regarding priorities etc. It seems like this could easily be abused, and perhaps this is also better done in an application level protocol?
> The text is not very clear about the client and the servers role in path negotiation. It seems that that it follows he QUIC-v1 async design due to relying on the v1 PATH packets. So presumably this also places constraints on who can send path state updates.
> If MP was to become more symmetric, I wonder if there is a natural evolution from here, or the proposed design is just digging the async design hole deeper, so to speak. Note that async MP is useful in its own right.

I’d like to express a little more, we have discussed a lot about this problem:
As the management of paths is largely specific to application, Why we will need a frame that one endpoint use it to dictate the behaviour of the peer? 
1. In uploading scenarios, as the sender side, client can decide the scheduler strategy itself, by providing APIs to let applications specify their path management preferences etc.
2. In downloading scenarios, as the receiver side, client need to express its preference of these paths. For example, client may need to tell server which path is preferred to use (maybe Wi-Fi path when there are both cellular and Wi-Fi environment). In the case client sends a management frame says "send on path #1 (the Wi-Fi path)", if server sends on path #2 (the cellular path), it will make users spend more traffic costs, and users will not be happy with that. Without the management frame in the transport, we will not be able to explain that preference of paths. Servers will never know which path client is prefer to use.
So we start from simple and clear design of path states (0- Abandon 1- Standby 2- Available), and we added priority for scenarios like endpoints want to send 20% packets on one path / 80% packets on the other.
Both client and server can send the PATH_STATUS frame. 

Thanks again for all the feedback!

Thanks,Yanmei