Re: [rtcweb] STUN for keep-alive - RTCP-less applications

Magnus Westerlund <magnus.westerlund@ericsson.com> Thu, 22 September 2011 15:47 UTC

Return-Path: <magnus.westerlund@ericsson.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 7F05D21F8B09 for <rtcweb@ietfa.amsl.com>; Thu, 22 Sep 2011 08:47:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.526
X-Spam-Level:
X-Spam-Status: No, score=-106.526 tagged_above=-999 required=5 tests=[AWL=0.073, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 AV9tY8LCRSs0 for <rtcweb@ietfa.amsl.com>; Thu, 22 Sep 2011 08:47:42 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by ietfa.amsl.com (Postfix) with ESMTP id ABFDC21F8B08 for <rtcweb@ietf.org>; Thu, 22 Sep 2011 08:47:41 -0700 (PDT)
X-AuditID: c1b4fb39-b7bfdae000005125-30-4e7b593423f8
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 55.CD.20773.4395B7E4; Thu, 22 Sep 2011 17:50:12 +0200 (CEST)
Received: from [127.0.0.1] (153.88.115.8) by esessmw0247.eemea.ericsson.se (153.88.115.94) with Microsoft SMTP Server id 8.3.137.0; Thu, 22 Sep 2011 17:50:13 +0200
Message-ID: <4E7B5932.9020800@ericsson.com>
Date: Thu, 22 Sep 2011 17:50:10 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
To: Hadriel Kaplan <HKaplan@acmepacket.com>
References: <7F2072F1E0DE894DA4B517B93C6A05852233EDB21D@ESESSCMS0356.eemea.ericsson.se> <CABcZeBO9hUSYZhLrcfbaK9HLGXq-q1EvqWOy6-gAN5xom6Z2-A@mail.gmail.com> <092401cc749b$8fd64940$af82dbc0$@com> <CABcZeBPgRD6kb2gg=m9NckSa1wrzwzJS6527nYqFG34b0cjfgQ@mail.gmail.com> <4E765E4A.3050801@alvestrand.no> <7532C74D-D0D7-474D-80C7-61C07E9290AA@edvina.net> <2B265ADC-44C3-48CC-95A6-B90ED6E42FA7@acme packet.com> <7D7982AF-7478-4AFD-9F39-ED04A43FEF53@edvina.net> <673BCA71-B624-4DCA-B681-7012E6F9D202@acmepacket.com> <4E799E18.30000@ericsson.com> <855B9078-A81F-45D9-B12F-46CC46C15B60@acmepacket.com> <4E79D5DF.4050402@ericsson.com> <68121E70-4363-47F8-8761-23728C56D003@acmepacket.com> <9348BF4A-8674-4888-9DDC-C734FB935A28@csperkins.org> <7B9A57BB-A585-487D-9655-D835C527059B@acmepacket.com> <4E7AE83E.9090508@ericsson.com> <0C42CC63-CA1A-4F64-B522-BC1DAB477471@acmepacket.com> <4E7B2A65.6090106@ericsson.com> <4D8061B7-16C5-439C-8911-E4F2046999B7@acmepacket.com>
In-Reply-To: <4D8061B7-16C5-439C-8911-E4F2046999B7@acmepacket.com>
X-Enigmail-Version: 1.3.1
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: AAAAAA==
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>, Colin Perkins <csp@csperkins.org>
Subject: Re: [rtcweb] STUN for keep-alive - RTCP-less applications
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: Thu, 22 Sep 2011 15:47:42 -0000

On 2011-09-22 15:34, Hadriel Kaplan wrote:
> 
> On Sep 22, 2011, at 8:30 AM, Magnus Westerlund wrote:
> 
>>> If the concern is just that the far-end is dead or terminated the
>>> call but the local side didn't get the memo, we can solve that
>>> other ways.
>> 
>> On the last issue, do you have a suggestion for how to achieve this
>> that isn't RTCP?
> 
> If we assume that a gateway to legacy has to handle ICE termination
> anyway, then it can send STUN indications during the call. The rtcweb
> browser can use those to see the far end is alive and expecting media
> on the 5-tuple. If we're worried about those being faked/spoofed by
> malicious server/JS, we can modify the indication mechanism (which
> could also allay ekr's concerns about consent refresh).

Yes, the question is if the indications are sufficient as their security
properties even when signed are a bit different from the STUN request
with answer.

> 
> 
>>> Yup.  I don't doubt we'll need some form of media-plane gateway 
>>> either in the web server or separate to interop with legacy -
>>> I'm just trying to keep it from becoming so expensive and
>>> complicated that it would be cheaper/easier/better to use SIP
>>> softclients or plugins instead.
>>> 
>> 
>> I understand and support that we shouldn't have unnecessary 
>> complications for legacy interop. However, but I don't see it being
>> done by compromising security to the level where RTCWEB can't be
>> deployed even for browser to browser usage.
> 
> Welllll... could we just require specific user consent for calls
> to/from legacy?
> 

No, I don't think so. The user is not capable of determining the
difference between the two consent types. I am not certain that a random
picked person on this very mailing list will be able to explain it and
get agreement on the implications from the others in the first try.

What we might have is some other security indications for some set of
behaviors. But as the assumption discussion have showed it will not be
easy.

Having sounded quite negative, I still think it is worth spending some
time discussing the trade-offs that can be made. But I rather error on
the side of better security initially and then go back and change things
if we realize that it can be done.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------