Re: [rtcweb] ALPN question - other labels?

Martin Thomson <martin.thomson@gmail.com> Thu, 07 August 2014 23:26 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F4001B28F6 for <rtcweb@ietfa.amsl.com>; Thu, 7 Aug 2014 16:26:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 rJ8WeOv_H7RA for <rtcweb@ietfa.amsl.com>; Thu, 7 Aug 2014 16:25:58 -0700 (PDT)
Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2DE251B28D2 for <rtcweb@ietf.org>; Thu, 7 Aug 2014 16:25:57 -0700 (PDT)
Received: by mail-wi0-f175.google.com with SMTP id ho1so161254wib.2 for <rtcweb@ietf.org>; Thu, 07 Aug 2014 16:25:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gcLm5o3yb/PXIU/s3TgvIP7FW8yz26pxK9FV8dBwi+I=; b=SYvuEiGWUehGluYYWq5jMZHpUB9289wzCya987oJr03NyE2tzDJCoQMXKh7jby80e+ Vvb3nYhb3eHJS11QiPeElXKOta8D+lNmDtkyFtwGNKjQc0frkPr+OcIHNMq7Hs83HNPG F7EOmMg+zd6HlFdO0CjIA2l2S0x2giBnWJ+BWFONop9MMn17fClFIPXsQnM86vRpn8H4 uBh0EHbjOA5w7KWxKdHEzauoQASyi+WRpkYTsl9AT7lC03BUPB5WbTi734YgtyeO0Jt1 h/tPtpgEvv4KV+zwi8tgYImEWWmp/A8zn7GVuvgB5vuli1gqaCLVSBfwrXzbg+KVbcgL 5Taw==
MIME-Version: 1.0
X-Received: by 10.180.90.11 with SMTP id bs11mr574694wib.47.1407453956667; Thu, 07 Aug 2014 16:25:56 -0700 (PDT)
Received: by 10.194.6.229 with HTTP; Thu, 7 Aug 2014 16:25:56 -0700 (PDT)
In-Reply-To: <53E3EE8E.90205@alum.mit.edu>
References: <53E3EE8E.90205@alum.mit.edu>
Date: Thu, 07 Aug 2014 16:25:56 -0700
Message-ID: <CABkgnnWc9-Ri4_NP1w=-TWf0u6KF0RgGgMz50ofVaZowW_2btw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/UXE1yUbkjhX34qU1OK4GA2Myf28
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] ALPN question - other labels?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Aug 2014 23:26:00 -0000

On 7 August 2014 14:24, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
>    Only one of these labels can be used for any given session.  A peer
>    acting in the client role MUST NOT offer both identifiers.  A peer in
>    the server role that receives a ClientHello containing both labels
>    MUST reject the session, though it MAY accept the confidential option
>    and protect content accordingly.
>
> This does not quite say that a peer in a server role must reject a session
> that contains some *other* label. It doesn't even explicitly forbid a peer
> in a client role from offering some other label. Does it intend to do so?

That's actually old, incorrect text.  I need to update the draft, but
don't want to do every time that I make a change (I'm not looking to
top Ian Hickson's record here).

Here's what my copy says:

"""A peer that is not aware of whether it needs to request
confidentiality can use either form. A peer in the client role MUST
offer both identifiers if it is not aware of a need for
confidentiality. A peer in the server role SHOULD select webrtc if it
does not prefer either.""
-- https://martinthomson.github.io/drafts/draft-ietf-rtcweb-alpn.html#rfc.section.2

As to whether a completely different protocol is acceptable, the
intent was to only cover the interaction of the two labels that are
defined in the document.  If you want to do webrtc OR some other
protocol, I see no reason not to permit that.