Re: [rtcweb] Security issue: initial consent

Matthew Kaufman <matthew.kaufman@skype.net> Mon, 07 November 2011 21:48 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 0ACB211E80B2 for <rtcweb@ietfa.amsl.com>; Mon, 7 Nov 2011 13:48:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.359
X-Spam-Level:
X-Spam-Status: No, score=-5.359 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, SARE_LWSHORTT=1.24]
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 SERRFmW3+xIN for <rtcweb@ietfa.amsl.com>; Mon, 7 Nov 2011 13:48:42 -0800 (PST)
Received: from mx.skype.net (mx.skype.net [78.141.177.88]) by ietfa.amsl.com (Postfix) with ESMTP id 322DA11E80B4 for <rtcweb@ietf.org>; Mon, 7 Nov 2011 13:48:41 -0800 (PST)
Received: from mx.skype.net (localhost [127.0.0.1]) by mx.skype.net (Postfix) with ESMTP id A817C16F6; Mon, 7 Nov 2011 22:48:39 +0100 (CET)
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:content-transfer-encoding; s=mx; bh=zkJi1tdr1pnxQO HCbFgP0ub1M/s=; b=xDv55/nNBoi1lvD6LyndGRVJUDFaSoPvHWLewxtiZmB03e rE4NKEJWVPA1JnIfPtEHCKnnXoT/gVBaC0l4oybvalC7FRrX17Ugq5O0ZuJnV5l5 7JDz9YseuwfE/4KLNrlR8hrEK0mATmmivx6xdW/GkMZ6fJFGewjQgPNjsFElA=
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: content-transfer-encoding; q=dns; s=mx; b=ZYPolE05gI4ASYBxV23ya6 +oHhf2SC3Gx94sgFysvNH2VcQMLh/p7hL/sOwzYH07VU3fT6IC2FNC0lqSnTsuAJ znDYC5xu5HL1/AvSoUn0lLhX0KCdLNw3Q+E65Us2arsHQGgfd/PLsE3RxnB/na/f W++BRamDRz7YOtPJclugM=
Received: from zimbra.skype.net (zimbra.skype.net [78.141.177.82]) by mx.skype.net (Postfix) with ESMTP id A69DF7F6; Mon, 7 Nov 2011 22:48:39 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by zimbra.skype.net (Postfix) with ESMTP id 77AC93507521; Mon, 7 Nov 2011 22:48:39 +0100 (CET)
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 VheVRcF-HcZt; Mon, 7 Nov 2011 22:48:38 +0100 (CET)
Received: from Matthew-Kaufman-Air.local (50-0-2-20.static.sonic.net [50.0.2.20]) by zimbra.skype.net (Postfix) with ESMTPSA id C82671672681; Mon, 7 Nov 2011 22:48:37 +0100 (CET)
Message-ID: <4EB85233.7020103@skype.net>
Date: Mon, 07 Nov 2011 13:48:35 -0800
From: Matthew Kaufman <matthew.kaufman@skype.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: Harald Alvestrand <harald@alvestrand.no>
References: <DAE0FB53-9D19-44CF-B3A4-2EE414A9EEAA@acmepacket.com> <CABcZeBM8E_P5RYX-KwWe1Yf39fBEQvTA3i33Y3-nEikWcmJoDQ@mail.gmail.com> <CALiegfkJYPtXWw6oOj-pkP1Qiva7+BWpyt9MubqLL82eeo0MTQ@mail.gmail.com> <CABcZeBP4Lm_HT5AfuhzyM-4zcJ6tBW=xKksrPHF=c+Y1U2nyGg@mail.gmail.com> <99DF5455-9961-41E6-A506-1DD09AF6D1C0@acmepacket.com> <4EA9ECE9.4050500@skype.net> <4EAA0801.3030701@alvestrand.no>
In-Reply-To: <4EAA0801.3030701@alvestrand.no>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Security issue: initial consent
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: Mon, 07 Nov 2011 21:48:43 -0000

On 10/27/11 6:40 PM, Harald Alvestrand wrote:
> On 10/27/2011 04:44 PM, Matthew Kaufman wrote:
>> On 10/28/11 12:39 AM, Hadriel Kaplan wrote:
>>> ...
>>>    Heck, we could even mandate using a new TCP header option to be 
>>> reflected by the other side, similar to the TCP Timestamp option, 
>>> but put a random number in it.
>>>
>>
>> Again, the STUN connectivity test used by ICE does more than simply 
>> prove that the far end got the packet and can reflect it back. The 
>> reflection isn't even done unless the long-term credentials are valid.
> Nit: the STUN usage I have seen so far uses short-term credentials 
> (ephemeral username + password, RFC 5389 section 10.1) per RFC 5245 
> section 7.1.2.3, not long-term credentials (realm + username + 
> password, RFC 5389 section 10.2).
>
> Since "short term" and "long term" are used with specific meaning in 
> ICE, I hope we're using them in the same way in this discussion.

Correct. I had been looking at TURN code that day, sorry about the mix-up.

Matthew Kaufman