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

Cullen Jennings <fluffy@cisco.com> Wed, 28 September 2011 15:00 UTC

Return-Path: <fluffy@cisco.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 66B4111E8086 for <rtcweb@ietfa.amsl.com>; Wed, 28 Sep 2011 08:00:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.066
X-Spam-Level:
X-Spam-Status: No, score=-103.066 tagged_above=-999 required=5 tests=[AWL=-0.467, BAYES_00=-2.599, 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 lf32i20PTHfZ for <rtcweb@ietfa.amsl.com>; Wed, 28 Sep 2011 08:00:10 -0700 (PDT)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id ADF0721F8B22 for <rtcweb@ietf.org>; Wed, 28 Sep 2011 08:00:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=fluffy@cisco.com; l=2576; q=dns/txt; s=iport; t=1317222179; x=1318431779; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=H2GkFQbbUQgc9tT0YupiCi1g8r1cN0cPV2dfz0HJRYw=; b=QvIytNn2G5xKFbO4x6XHrs/3wRi2tHYotgs09zZN/22tX+tvi8w+C4q+ RHIAldsugx7umDUZWTLUnI6JctUvSS5Qz7M9WvK53GdUXAbzaXtutoCIf WQRc2Z26p/BNU82+d+daiBH9zwN0DeqkRdAJYFXD1rVYyXxuMunZA48os I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EALk2g06rRDoH/2dsb2JhbABBqAl4gVMBAQEBAgEBAQEPASc0CwULCxguJzAGExsHh1YGmhgBnh4DhithBIdyi2OFIowy
X-IronPort-AV: E=Sophos;i="4.68,456,1312156800"; d="scan'208";a="4784731"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-2.cisco.com with ESMTP; 28 Sep 2011 15:02:59 +0000
Received: from [192.168.4.100] (sjc-fluffy-8914.cisco.com [10.20.249.165]) by mtv-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id p8SF2wUZ002230; Wed, 28 Sep 2011 15:02:58 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Cullen Jennings <fluffy@cisco.com>
In-Reply-To: <4E82A7A8.7060308@jesup.org>
Date: Wed, 28 Sep 2011 09:02:58 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <EC9DDFEE-3324-42EB-A7F7-98E773BC68B4@cisco.com>
References: <CAD5OKxtNjmWBz92bRuxka7e-BUpTPgVUvr3ahJGpmZ-U5nuPbQ@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> <CABcZeBPeFCdVvrgLh_-kcBwbM=knemo_rjKg-gEz9s35CqzPGQ@mail.gmail.com> <4E82A7A8.7060308@j esup.org>
To: Randell Jesup <randell-ietf@jesup.org>
X-Mailer: Apple Mail (2.1084)
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 15:00:11 -0000

On Sep 27, 2011, at 10:50 PM, Randell Jesup wrote:

> I've been staying out of this one, but one comment:
> 
> 
> On 9/27/2011 7:30 PM, Eric Rescorla wrote:
>> I don't know what "trust agreements with specific web sites" means.
>> 
>> The basic situation here is that browser vendors do not want to ship browsers
>> which can be used as an attack platform. And since the victim is not the user
>> but rather the recipient of the traffic, that's why WebSockets and CORS
>> require that the server (i.e., the recipient of the traffic) confirm its willingness
>> to receive the traffic, as opposed to having the user agree to it. I don't see
>> how any trust mechanism that doesn't involve the recipient can have the
>> right security properties.
> 
> 
> Is there any way we could leverage something similar to CORS to allow
> destinations to specify they're willing to take traffic in some manner
> other than per-connection ICE?

Randell, I have thought about this awhile back and what I come up with is something that has very close to the same messages as ICE. In addition, this new thing would have to be deployed on all the end points - so it would be even hard to get deployed than ICE and I doubt it would end up being any easier - and that just to solve the security problem. You still have to solve the nat  traversal problem and things like transition to v6. So, I'd be happy to talk about ideas on this, but when I drew the "boxes and arrows" diagram for something like CORS for RTP, it did not come out looking any easier than ICE, and in fact it looked awfully close to the "boxes and arrows" for ICE. Give it a try on a napkin and see if you come to the roughly the same conclusion. 


> 
> This could be a lot simpler for PBXes, gateways, and the like to
> implement than ICE/SRTP/etc.
> 
> The general idea would be to try ICE, and if the other side doesn't
> do ICE, check a CORS-equivalent at the same same address on a port
> (the port could be specified in DNS SRV records perhaps, or even an
> alternate address to use to check).  If it says it's willing to
> accept webrtc traffic without verification, great.  (This could be
> additionally secured by requiring the server to mark the app/service
> as known to be acceptable in the CORS data.)
> 
> 
> -- 
> Randell Jesup
> randell-ietf@jesup.org
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb