Re: [rtcweb] STUN for keep-alive

Harald Alvestrand <harald@alvestrand.no> Sun, 18 September 2011 21:08 UTC

Return-Path: <harald@alvestrand.no>
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 8EDF321F849E for <rtcweb@ietfa.amsl.com>; Sun, 18 Sep 2011 14:08:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -108.064
X-Spam-Level:
X-Spam-Status: No, score=-108.064 tagged_above=-999 required=5 tests=[AWL=2.535, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, 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 Vxx7Wdz1vkVN for <rtcweb@ietfa.amsl.com>; Sun, 18 Sep 2011 14:08:16 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 9BA2021F8497 for <rtcweb@ietf.org>; Sun, 18 Sep 2011 14:08:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 64B6839E091; Sun, 18 Sep 2011 23:10:37 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WbAbgLpbqhNb; Sun, 18 Sep 2011 23:10:35 +0200 (CEST)
Received: from [192.168.1.51] (162.80-203-220.nextgentel.com [80.203.220.162]) by eikenes.alvestrand.no (Postfix) with ESMTPS id AEC2F39E048; Sun, 18 Sep 2011 23:10:35 +0200 (CEST)
Message-ID: <4E765E4A.3050801@alvestrand.no>
Date: Sun, 18 Sep 2011 23:10:34 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13
MIME-Version: 1.0
To: Eric Rescorla <ekr@rtfm.com>
References: <7F2072F1E0DE894DA4B517B93C6A05852233EDB21D@ESESSCMS0356.eemea.ericsson.se> <1D062974A4845E4D8A343C653804920206648CB0@XMB-BGL-414.cisco.com> <7F2072F1E0DE894DA4B517B93C6A05852233EDB264@ESESSCMS0356.eemea.ericsson.se> <1D062974A4845E4D8A343C653804920206648CEB@XMB-BGL-414.cisco.com> <7F2072F1E0DE894DA4B517B93C6A05852233EDB2F0@ESESSCMS0356.eemea.ericsson.se> <1D062974A4845E4D8A343C653804920206648D0F@XMB-BGL-414.cisco.com> <7F2072F1E0DE894DA4B517B93C6A05852233EDB3E5@ESESSCMS0356.eemea.ericsson.se> <4E70D2E6.1000809@alvestrand.no> <CABcZeBORi5NLSsztnMfkwL43p9oKG9mi6e1WWOaiafAO_DpTVg@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852233D45FA3@ESESSCMS0356.eemea.ericsson.se> <CABcZeBO9hUSYZhLrcfbaK9HLGXq-q1EvqWOy6-gAN5xom6Z2-A@mail.gmail.com> <092401cc749b$8fd64940$af82dbc0$@com> <CABcZeBPgRD6kb2gg=m9NckSa1wrzwzJS6527nYqFG34b0cjfgQ@mail.gmail.com>
In-Reply-To: <CABcZeBPgRD6kb2gg=m9NckSa1wrzwzJS6527nYqFG34b0cjfgQ@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] STUN for keep-alive
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: Sun, 18 Sep 2011 21:08:22 -0000

On 09/16/2011 08:30 PM, Eric Rescorla wrote:
> On Fri, Sep 16, 2011 at 11:07 AM, Dan Wing<dwing@cisco.com>  wrote:
>>> -----Original Message-----
>>> From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On
>>> Behalf Of Eric Rescorla
>>> Sent: Wednesday, September 14, 2011 10:32 AM
>>> To: Christer Holmberg
>>> Cc: rtcweb@ietf.org
>>> Subject: Re: [rtcweb] STUN for keep-alive
>>>
>>> On Wed, Sep 14, 2011 at 10:20 AM, Christer Holmberg
>>> <christer.holmberg@ericsson.com>  wrote:
>>>> Hi,
>>>>
>>>>> One new concern in this context is maintaining the consent freshness.
>>>>> The browser needs to be sure that the recipient of traffic is stil
>>> responding in a way that can't be forged. It's likely RTCP provides
>>> this (though we'd need to analyze to be sure) but perhaps better would
>>> be to mandate STUN checks
>>>>> at enough frequency that you get some sort of level of freshness....
>>> maybe every 2 minutes or something.
>>>> Please note that the STUN keep-alives are implemented using STUN
>>> indication messages, so there are no replies (nor does the receiver
>>> perform an authentication check).
>>>
>>>
>>> Oh... I had forgotten that.... that's not good.
>> The RTCP receiver reports should be adequate for 'consent freshness', no?
>> If I still like receiving the traffic, I'll report that I'm receiving it.
>> If I have crashed or disconnected or am not listening on that port, I won't.
> I believe so, though I'd have to make sure there's enough entropy. And of course
> some implementations may not do RTCP...
Depending on RTCP seems less uncomfortable with SRTP than with plaintext 
RTCP.
I don't think we want to support RTCP-less applicaitons; if saying "no" 
to them helps them not occur (it doesn't always help...)