Re: Asymmetric CIDs

Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> Sat, 17 February 2018 00:22 UTC

Return-Path: <mikkelfj@gmail.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 63836124234 for <quic@ietfa.amsl.com>; Fri, 16 Feb 2018 16:22:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_PASS=-0.001, UNPARSEABLE_RELAY=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 oEL8NXycfosJ for <quic@ietfa.amsl.com>; Fri, 16 Feb 2018 16:22:48 -0800 (PST)
Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 E08F91200C1 for <quic@ietf.org>; Fri, 16 Feb 2018 16:22:47 -0800 (PST)
Received: by mail-io0-x230.google.com with SMTP id z6so5875584iob.11 for <quic@ietf.org>; Fri, 16 Feb 2018 16:22:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=H5SJnDGxpJt98O1ztRdqJAX209uF8gQ4vdJM7tckrZA=; b=Ki2/T6fETpvRFlB20PonsfJ037vNrTVsvOXhiTrTNU/AFsOZ98/vTmz6+8mXEkcZNw 6/cKwMGCqpAQHg48ZEz3T00oAbnhfYHxBkh8234BLcA8uKpa0gFfpwITE5K13PB4cJTn i6Y4A7DJu1vDK2Ok4RQjFi6ht1T/4pjheaJ/6DDUR1uGhV6HaD7IwbOQV/P4TCekqIOO LT/L68+pi6ddHvZ1wZFn725VmdVSI+uLjtQiQDeZkYunofgmeHGxxx08FTuYmm9ruV8v mq8fpZulnj+gGYj+52SWkPWsSjVf9b+UyqsgG9sfJXCWSKN5W87rqVBiDTHxNUZe8EON rEcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=H5SJnDGxpJt98O1ztRdqJAX209uF8gQ4vdJM7tckrZA=; b=MD5LHG40oUilYJEVl2Ox0N/3EVC+v4Ba6Sr7hkeDraxSiOf8Bj1EG9pNCJXjhb4b9z c8q9ygVj/7k3b1vGn9loOv1i39HvRhCMlgGA+1oKimIOQwFd70fo6RV01KDgDnVSl2M/ tzyuv9ROD9o5br4geQWd71QTQVOYEi8eLfHMW4+rqM1QsjxbXovuVRrCzjJOTlhY81vl zVy+0SuftVBhcvGznZtOh+YwTnXDFAbvIxAOzoQ+DtrXQfJ4P4Si5PQ9dHjcZbEW4tFS TfDXJ7O5UpPWhnxf5xobHWKmfDg22gRo8F2XoEh2W8YCI55qcfuUVEFCHpSmBgXlof/O tvwg==
X-Gm-Message-State: APf1xPCkdvRobTTsKurq3HZ+fYY/6FP3sT0P4uiALb4XC+v1v7IaMYLN PeJbTcVX+wXjb+NnkOzwQP8lQACrCOqb/BUqDHw=
X-Google-Smtp-Source: AH8x2256FzF4jyfeiMxIDDLuAPFy6x8t4bid8NBhqhlUQ7mXFNYJLNQ1TIiw3eVeIb581ysXU9OQBW2Q40IURo8usO0=
X-Received: by 10.107.146.215 with SMTP id u206mr9662246iod.96.1518826967291; Fri, 16 Feb 2018 16:22:47 -0800 (PST)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Fri, 16 Feb 2018 16:22:46 -0800
From: =?UTF-8?Q?Mikkel_Fahn=C3=B8e_J=C3=B8rgensen?= <mikkelfj@gmail.com>
In-Reply-To: <BY2PR15MB077577E4358F9922047685A8CDCB0@BY2PR15MB0775.namprd15.prod.outlook.com>
References: <CABcZeBMVabN9LQ42BxpSwK71hzu_TbzwqhHTJV1uJBKr5g-N3A@mail.gmail.com> <CAKcm_gOvf0N7sq2so38sQaD+2jHGnDpsSQHEwU8HPgSpMJRfzA@mail.gmail.com> <CAM4esxQW1-dVfJSi4zoURNV-7u0EP6h-Xdyx5Wbo0QMdrkLk=w@mail.gmail.com> <AA0705E2-7A79-47DD-846A-C0B74A8A4B24@huitema.net> <D7E469CD-B9D8-41ED-8F5C-9933DCBA90E6@fb.com> <4282f0ed-1b0e-3b18-598f-4385481ebd86@huitema.net> <BN6PR21MB0178395DC04C19D991436525B3CB0@BN6PR21MB0178.namprd21.prod.outlook.com> <CAKcm_gNeFJUP_1VFxSri=V+iDJR9RxvTwmca45bLM0m0BHo-Hw@mail.gmail.com> <BY2PR15MB077577E4358F9922047685A8CDCB0@BY2PR15MB0775.namprd15.prod.outlook.com>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Date: Fri, 16 Feb 2018 16:22:46 -0800
Message-ID: <CAN1APdeOm+Bguwx=9hZxgnArNi+iC=QufKkQ=4bScNEU+dyK4g@mail.gmail.com>
Subject: Re: Asymmetric CIDs
To: Nick Banks <nibanks@microsoft.com>, Roberto Peon <fenix@fb.com>, Ian Swett <ianswett@google.com>
Cc: Eric Rescorla <ekr@rtfm.com>, IETF QUIC WG <quic@ietf.org>, Martin Duke <martin.h.duke@gmail.com>, huitema <huitema@huitema.net>
Content-Type: multipart/alternative; boundary="001a114f7e84dc6e6e05655d7555"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/29SlZkiMSv-i8aN6svSdUYWmuFI>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
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: Sat, 17 Feb 2018 00:22:50 -0000

This looks good to me.

Path migration might involve CID validation so a connection shuts down if a
single endpoint messes up linkage.

The stateless reset has been discussed - problem with routing to peer (I
don’t recall if reset can go both ways, but I think is is currently only
server to client ATM) with ACID it would be more relevant to also discuss
opposite reset because the use case would/could be p2p servers.

I think perhaps getting rid of reset would be good. As an alternative a
PATH_CHALLENGE or a PING could be used if one endpoint thinks the other end
is a tad silent. The sub protocol for updating router CID could also be
extended to filter out noisy clients by cancelling a CID that is not in use.

The stateless retry concern has not been discussed in this thread, I
suppose. It is mentioned in the ACID issue:

https://github.com/quicwg/base-drafts/issues/1089


Kind Regards,
Mikkel Fahnøe Jørgensen


On 16 February 2018 at 23.56.35, Roberto Peon (fenix@fb.com) wrote:

That would make multipath hard/interesting.

I expect non-zero length (-> client) CIDs when multipath is not theoretical.
-=R

Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone


-------- Original message --------
From: Ian Swett <ianswett@google.com>
Date: 2/16/18 2:45 PM (GMT-08:00)
To: Nick Banks <nibanks@microsoft.com>
Cc: huitema <huitema@huitema.net>et>, Roberto Peon <fenix@fb.com>om>, Martin Duke
<martin.h.duke@gmail.com>om>, IETF QUIC WG <quic@ietf.org>rg>, Eric Rescorla <
ekr@rtfm.com>
Subject: Re: Asymmetric CIDs

I agree that could be a concern, but I think it's no more difficult to
solve than the status quo.  It just means both sides need to have more
connection IDs, not just one side.

Nick's solution is a good suggestion, but one can also imagine cases when
other connection IDs have previously been made available.

In practice, for most of the cases we're discussing, I'm expecting the
connection ID from server to client will be 0 bytes in length, making this
a non-issue.