Re: [rtcweb] ALPN question - other labels?

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 08 August 2014 02:25 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 96BCC1B292F for <rtcweb@ietfa.amsl.com>; Thu, 7 Aug 2014 19:25:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
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 FfNsZvPk6-fd for <rtcweb@ietfa.amsl.com>; Thu, 7 Aug 2014 19:25:34 -0700 (PDT)
Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:24]) by ietfa.amsl.com (Postfix) with ESMTP id 1B8591B292B for <rtcweb@ietf.org>; Thu, 7 Aug 2014 19:25:34 -0700 (PDT)
Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta02.westchester.pa.mail.comcast.net with comcast id c1xr1o0061YDfWL512RZnD; Fri, 08 Aug 2014 02:25:33 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta20.westchester.pa.mail.comcast.net with comcast id c2RZ1o0093ZTu2S3g2RZ8V; Fri, 08 Aug 2014 02:25:33 +0000
Message-ID: <53E4351D.5030507@alum.mit.edu>
Date: Thu, 07 Aug 2014 22:25:33 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
References: <53E3EE8E.90205@alum.mit.edu> <CABkgnnWc9-Ri4_NP1w=-TWf0u6KF0RgGgMz50ofVaZowW_2btw@mail.gmail.com>
In-Reply-To: <CABkgnnWc9-Ri4_NP1w=-TWf0u6KF0RgGgMz50ofVaZowW_2btw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1407464733; bh=EAmrTWLmCDbKop2v9PgJlqeqSyYFCbTH3nr/TYEUHQo=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=YS9SgE/Yy9erdmJkef10P7Nijyf/+Y3J0MNzmISqVjztAljcVmo2BNOT6VExXmaDx 9iICVzhDKURsWYpoFtNGgMMGq8SlFYEG3bbiCT/deToyq2+dqgLEDda+WQnnnEM6iy AynK3nnuLklJld0FNPKu6kDrYRc53i1f1uFNvHx2XirrBoGpcNhxedLVuc6vz3ANIh vU/zoARP3p4dNXFi0o3lbz+AG8vmTC/5CNAdRjdPFveGBKWhpiJIbfreNpuC9I7UGo XHE5qhVQfwf5ldNOfSRTT+fYS8K9OHH0sYpULAi62Zd15zUuY9A8KhUuxLq9yr57tz BJZJ1fLTFl6GQ==
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/4KAggdZ-HLi9X9R6NPpdsBmpbDs
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: Fri, 08 Aug 2014 02:25:35 -0000

On 8/7/14 7:25 PM, Martin Thomson wrote:
> 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.

My primary question is how is a browser expected to behave if some other 
label is offered? Will it still support use of the JSEP APIs?

And, for interop reasons, will there be a way to get a browser to offer 
another label and still support the JSEP APIs if the other end accepts it?

	Thanks,
	Paul