Re: [rtcweb] Solutions sought for non-ICE RTC calls, not +1 (Re: Requiring ICE for RTC calls)

Matthew Kaufman <matthew.kaufman@skype.net> Wed, 28 September 2011 00:15 UTC

Return-Path: <matthew.kaufman@skype.net>
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 17AB821F8FB3 for <rtcweb@ietfa.amsl.com>; Tue, 27 Sep 2011 17:15:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.489
X-Spam-Level:
X-Spam-Status: No, score=-5.489 tagged_above=-999 required=5 tests=[AWL=1.109, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 rTqvfo3NntBX for <rtcweb@ietfa.amsl.com>; Tue, 27 Sep 2011 17:15:40 -0700 (PDT)
Received: from mx.skype.net (mx.skype.net [78.141.177.88]) by ietfa.amsl.com (Postfix) with ESMTP id 0B0E821F8FAC for <rtcweb@ietf.org>; Tue, 27 Sep 2011 17:15:40 -0700 (PDT)
Received: from mx.skype.net (localhost [127.0.0.1]) by mx.skype.net (Postfix) with ESMTP id 602AF16FC; Wed, 28 Sep 2011 02:18:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=skype.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to: content-type; s=mx; bh=FzHsJ9U8QOoWakWtlWYj1WfaNqM=; b=ap9HS6bCO ieZf55ozmRXsuC6JFchucseEUX0ElGBz77CbP1BBKPZsMLBJ8jfCoQfeat2k/CPC WO/BopNUhOAVPSSskN8IE23OMyHLx5We84fBJ+Nw2zEF49MM9FNgr0YVHerwQ3+k ZBW/zeXxO9vVz/FDzgydDAuz7/nqOuQCnM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=skype.net; h=message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type; q=dns; s=mx; b=Ob6arh3++TNs7gJGXGV6/ym+85iD99FSe+YpZyvZg37hs7eM 4PvjlnDzWjs/OI/+IrdzFsnrmP2mhaMOVs9lJ9b/vIe5URWm6SX7Frlik38tHaLU T9yFGZWCFFvreNMbPxhcynA6Vl3F8n2ui65RoUU5y1TimYoEOMtYol8JJ1s=
Received: from zimbra.skype.net (zimbra.skype.net [78.141.177.82]) by mx.skype.net (Postfix) with ESMTP id 5E76C7F8; Wed, 28 Sep 2011 02:18:26 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by zimbra.skype.net (Postfix) with ESMTP id 239793506F4B; Wed, 28 Sep 2011 02:18:26 +0200 (CEST)
X-Virus-Scanned: amavisd-new at lu2-zimbra.skype.net
Received: from zimbra.skype.net ([127.0.0.1]) by localhost (zimbra.skype.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a+HWNT5ESOq2; Wed, 28 Sep 2011 02:18:25 +0200 (CEST)
Received: from [10.10.155.2] (unknown [198.202.199.254]) by zimbra.skype.net (Postfix) with ESMTPSA id 693A93506F49; Wed, 28 Sep 2011 02:18:24 +0200 (CEST)
Message-ID: <4E82678E.6060304@skype.net>
Date: Tue, 27 Sep 2011 17:17:18 -0700
From: Matthew Kaufman <matthew.kaufman@skype.net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
To: Roman Shpount <roman@telurix.com>
References: <CAD5OKxtNjmWBz92bRuxka7e-BUpTPgVUvr3ahJGpmZ-U5nuPbQ@mail.gmail.com> <CAOJ7v-3PrnNyesL+x-mto9Q9djjiJ13QZHXCiGfY1mv3nubrqQ@mail.gmail.com> <CAD5OKxsKTHCuBQdUnGQtGfF7NmZZExLe9Q9B9cNR=483neuHPQ@mail.gmail.com> <CAOJ7v-1rzdmviAnGknVZmrU_TDNoC3NmWd1g6iyx0WzZ4xB3Pw@mail.gmail.com> <4E820825.9090101@skype.net> <CAD5OKxvmKi3Py0gNcTdREdfS07hA-=f6L+u8KKVgSWztMft9kQ@mail.gmail.com> <CALiegfmL4VSRE+kgs5kXzQc3mCHnKpU-EAbVPKO4QNEYLKje=A@mail.gmail.com> <4E821E47.4080205@alvestrand.no> <CALiegfndBhod6Hoq6h63795x8f=ew28rDys=Fx8ScwVpVJwp1Q@mail.gmail.com> <CABcZeBOoF6MNSpATG2+_e99iRq7Jf9OoWWNCa=qRGW_v+maoHA@mail.gmail.com> <CAD5OKxubnxLAqybCgnBXpKR9S0rBEsoDg9enCaverjVWYad7Ew@mail.gmail.com> <CABcZeBPoQSM=L0-Er3j-ak2M6YfCbJkThbYuR_+=xUmcsxQz9Q@mail.gmail.com> <CAD5OKxsVE+LwKEcpe+hf+=i87Ucga0_VpkUGJkH5=HixV5Xkmw@mail.gmail.com> <CABcZeBM+FD5y7WenD=d_7jM1Fu+OrFyFgtsd1iGMpGfMe_gOKQ@mail.gmail.com> <CAD5OKxte2DYbgtFpF2jQGq_thYCyb1Li2ih5J6gpzamhJvRyTA@mail.gmail.com>
In-Reply-To: <CAD5OKxte2DYbgtFpF2jQGq_thYCyb1Li2ih5J6gpzamhJvRyTA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------030106070704020903040607"
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Solutions sought for non-ICE RTC calls, not +1 (Re: Requiring ICE for RTC calls)
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: Wed, 28 Sep 2011 00:15:41 -0000

On 9/27/2011 4:20 PM, Roman Shpount wrote:
>
> On Tue, Sep 27, 2011 at 6:54 PM, Eric Rescorla <ekr@rtfm.com 
> <mailto:ekr@rtfm.com>> wrote:
>
>     I'm sorry, but I think you're still missing the point: requiring
>     ICE *is* the security
>     feature.
>
>
> I'm sorry, but it I do get the point: ICE is security. My point is, if 
> you have a trust relationship with a site, ICE validation can be 
> bypassed, i.e. if you trust the application on the site you trust it 
> not to do something malicious with your media.  You point is that you 
> do not trust the user with the decision to turn off ICE or trust the 
> website, since unlike with all the other security decisions this can 
> be used to hurt other people vs. just users themselves. So, unless we 
> can invent a robust mechanism to set trust agreements with specific 
> web sites, we would be better off forcing ICE for everybody. Is this 
> correct description of the problem?

No. This is not a correct description of the problem.

ICE isn't about "trusting the site to not do something malicious with 
your media". ICE is about "trusting your browser to not attack other 
devices on your local network or the Internet".

The browser must, without asking the user, be able to prove that the far 
end wishes to receive a stream of media. The standard we have available 
for that is a STUN connectivity check with short-term credentials, using 
a transaction ID that can neither be set from Javascript nor inspected 
from Javascript (to prevent spoofing of the reply). This is basically 
how ICE tests connectivity.

Note that the consent must use the same protocol and port you will be 
sending media on. So for RTP or SRTP over UDP, the consent request must 
be sent and received over that same UDP port.

Matthew Kaufman