Re: [rtcweb] I-D Action: draft-ietf-rtcweb-data-protocol-01.txt

Eric Rescorla <ekr@rtfm.com> Tue, 29 October 2013 18:47 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F61E21F9D15 for <rtcweb@ietfa.amsl.com>; Tue, 29 Oct 2013 11:47:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.445
X-Spam-Level:
X-Spam-Status: No, score=-102.445 tagged_above=-999 required=5 tests=[AWL=-0.069, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g6AVujVvcL-L for <rtcweb@ietfa.amsl.com>; Tue, 29 Oct 2013 11:47:07 -0700 (PDT)
Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) by ietfa.amsl.com (Postfix) with ESMTP id 4C7DC21F9D28 for <rtcweb@ietf.org>; Tue, 29 Oct 2013 11:47:03 -0700 (PDT)
Received: by mail-we0-f175.google.com with SMTP id t61so274696wes.20 for <rtcweb@ietf.org>; Tue, 29 Oct 2013 11:47:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=k7JPfQ3fvKkoTXjYWbqMoQYs2TFqGH4uUoKNSKvbrhc=; b=d6ty46NVKZff/txtMU9hxF32qjkXFce+V+Z7v2SqRvS8yucKj6EFtqEpIk1GbCiFET HK+seKmczZjkDohVXVZ/E1oJUuxyaO0/d6hSrUZB9TJNRKc7bydKRrMc21gdogAQN4vo mw/pDy1wHJmSV7r1ezFnwkFSF9WdSo8liYda7hyEyck55ciQb4sLWMuEtrGiOHX/Mi8b ln2klByTcqaa/Mt70FxUzcQIHeLDXBzwtKzWCx1bEcs7o8RBiOk2yAzmdXrJGtYgNRPI HtIPpExrX2/0c1yBwZGkMuMLrDM4Qd59PfAkPuufdFx1NBewLwhnoUxSyEAlGHyL7QMh KXrw==
X-Gm-Message-State: ALoCoQkX2X26rCQwze5tEoNQgiVEapyjnnS5JS+4utO9Mdq3onGyjCzv+vUCFXQMoEHYQDiDcj3M
X-Received: by 10.194.89.233 with SMTP id br9mr911859wjb.15.1383072422359; Tue, 29 Oct 2013 11:47:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.152.137 with HTTP; Tue, 29 Oct 2013 11:46:22 -0700 (PDT)
X-Originating-IP: [74.95.2.173]
In-Reply-To: <526FFEBC.7090302@alum.mit.edu>
References: <20131021191343.32574.60876.idtracker@ietfa.amsl.com> <03FBA798AC24E3498B74F47FD082A92F3D86C821@US70UWXCHMBA04.zam.alcatel-lucent.com> <A87B4291-FA11-43BB-B8F0-55C59CF63421@lurchi.franken.de> <CAOJ7v-20YkvazNLqmbjQcOkhaedd+MKm8d6x2oeL46imvuLrzA@mail.gmail.com> <03FBA798AC24E3498B74F47FD082A92F3D86C8DB@US70UWXCHMBA04.zam.alcatel-lucent.com> <120FE29C-150E-47BF-951C-B8124EB7A262@lurchi.franken.de> <03FBA798AC24E3498B74F47FD082A92F3D86C9A2@US70UWXCHMBA04.zam.alcatel-lucent.com> <5269F3B5.2020308@alvestrand.no> <03FBA798AC24E3498B74F47FD082A92F3D86CD4C@US70UWXCHMBA04.zam.alcatel-lucent.com> <526C4297.2000006@alum.mit.edu> <526CE0BE.90606@jesup.org> <526FD2D8.7000709@alum.mit.edu> <CABcZeBOiKboabmjRqWxzD8-SD9M01FkuQEH9M4+jN8dV=t0Z8Q@mail.gmail.com> <526FFEBC.7090302@alum.mit.edu>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 29 Oct 2013 11:46:22 -0700
Message-ID: <CABcZeBMdqJuRdrrRmxq8M-1AiX2cikxRN2NbPTg2k9rRytmpjQ@mail.gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: multipart/alternative; boundary="089e0102fb5c6f0cab04e9e5a450"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] I-D Action: draft-ietf-rtcweb-data-protocol-01.txt
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 29 Oct 2013 18:47:13 -0000

On Tue, Oct 29, 2013 at 11:30 AM, Paul Kyzivat <pkyzivat@alum.mit.edu>wrote:

> Comment at end.
>
>
> On 10/29/13 11:28 AM, Eric Rescorla wrote:
>
>>
>> On Tue, Oct 29, 2013 at 8:23 AM, Paul Kyzivat <pkyzivat@alum.mit.edu
>> <mailto:pkyzivat@alum.mit.edu>**> wrote:
>>     On 10/27/13 5:45 AM, Randell Jesup wrote:
>>         On 10/26/2013 6:30 PM, Paul Kyzivat wrote:
>>
>>                 My proposal has three elements, which together can
>>                 guarantee that
>>                 there are no stream id allocation conflicts between peers:
>>                      1. The browser and application select stream ids
>>                 based on initial
>>                 SDP offerer/answerer role rather than DTLS role (e.g.,
>>                 initial
>>                 offerer uses even ids, initial answerer uses odd ids).
>>                 With this
>>                 rule, the offering application knows its role
>>                 immediately without
>>                 waiting for the DTLS or SDP handshake to occur.
>>
>>             A similar issue has come up in the discussion of partial
>>             offers/answers. (Regarding how to assign a=mid values.) And
>>             a similar
>>             solution was proposed.
>>
>>             It was then rejected on the basis that sometimes both "ends"
>>             think
>>             they are offerers or answerers. This comes about as a result
>> of
>>             signaling-only B2BUAs that play games with O/A on two legs.
>>
>>         Exactly why we went with DTLS roles.
>>
>>     I'm not sure this eliminates the problem.
>>
>>     Is it not possible for an intermediary on the signaling path to
>>     insert itself in the media path, manipulating the SDP such that the
>>     two ends both establish the DTLS with the intermediary?
>>
>> There is a separate role negotiation for DTLS (actpass, etc.) that works
>> even if both sides think they are the offerer or answerer.
>>
>
> I know about that. That mechanism is also used for TCP negotiation in SDP.
> And that is one place where an intermediary sometimes sticks its nose in
> explicitly to manipulate the roles, allowing both ends to be active.
>
> In the current case, ICE and possible TURN result in getting the media
> path established without those games. So maybe there is less motivation for
> an intermediary. But still, they still seem to show up because
> administrators think they need them. And once there, couldn't the
> intermediary still end up making both ends think they are active?
>

Well, it could but then they wouldn't be able to negotiate DTLS.

-Ekr