Re: [secdir] secdir review of draft-ietf-behave-turn-uri-03.txt

Magnus Westerlund <magnus.westerlund@ericsson.com> Wed, 21 October 2009 10:01 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: secdir@core3.amsl.com
Delivered-To: secdir@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 45A0C3A697A; Wed, 21 Oct 2009 03:01:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.239
X-Spam-Level:
X-Spam-Status: No, score=-6.239 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DhgFmMn0Lp6q; Wed, 21 Oct 2009 03:01:20 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id C8AA53A68A7; Wed, 21 Oct 2009 03:01:19 -0700 (PDT)
X-AuditID: c1b4fb24-b7bd7ae000002270-71-4adedbf626b3
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Mail Security) with SMTP id 32.BF.08816.6FBDEDA4; Wed, 21 Oct 2009 12:01:26 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Wed, 21 Oct 2009 12:01:06 +0200
Received: from [147.214.183.250] ([147.214.183.250]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Wed, 21 Oct 2009 12:01:06 +0200
Message-ID: <4ADEDBE2.2090704@ericsson.com>
Date: Wed, 21 Oct 2009 12:01:06 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Marc Petit-Huguenin <petithug@acm.org>, "iesg@ietf.org" <iesg@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>
References: <20091019094603.GB4708@elstar.local> <4ADDFA8A.40902@acm.org> <20091021095157.GC3177@elstar.local>
In-Reply-To: <20091021095157.GC3177@elstar.local>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 21 Oct 2009 10:01:06.0253 (UTC) FILETIME=[67D977D0:01CA5235]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [secdir] secdir review of draft-ietf-behave-turn-uri-03.txt
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/secdir>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Oct 2009 10:01:21 -0000

Hi Jurgen,

I do understand your confusion. RFC 5389 is STUN. TURN is an extension
of STUN, and TURN mandates authentication. The default to use mechanism
however, is defined in STUN, thus the reference to RFC 5389.

Magnus

Juergen Schoenwaelder skrev:
> On Tue, Oct 20, 2009 at 07:59:38PM +0200, Marc Petit-Huguenin wrote:
>> Hi Juergen,
>>
>> Thanks for the review.  See my response below.
>>
>> Juergen Schoenwaelder wrote:
>>> I have reviewed this document as part of the security directorate's
>>> ongoing effort to review all IETF documents being processed by the
>>> IESG.  These comments were written primarily for the benefit of the
>>> security area directors.  Document editors and WG chairs should treat
>>> these comments just like any other last call comments.
>>>
>>> The document introduces the turn: and turns: URI schemes. The security
>>> considerations point to the relevant documents, one of them being RFC
>>> 3958. Section 8 of RFC 3958 states that S-NAPTR application protocols
>>> "should define some form of end-to-end authentication to ensure that
>>> the correct destination has been reached." I think it would be useful
>>> to spell how TURN meets this or whether there are reasons why TURN
>>> does not need such a sanity check. (1-2 sentences should be enough.)
>> I propose to replace the second paragraph of section 6 by the following text.
>> Let me know if it addresses your comment:
>>
>> "The Application Service Tag and Application Protocol Tags defined in
>> this document do not introduce any specific security issues beyond
>> the security considerations discussed in [RFC3958].  [RFC3958]
>> requests that an S-NAPTR application defines some form of end-to-end
>> authentication to ensure that the correct destination has been
>> reached.  This is achieved by the mandatory Long-Term Credential
>> Mechanism defined by [RFC5389] and additionally for a "turns" URI by
>> the usage of TLS."
> 
> I checked RFC 5389 and it says:
> 
>    This section defines two mechanisms for STUN that a client and server
>    can use to provide authentication and message integrity; these two
>    mechanisms are known as the short-term credential mechanism and the
>    long-term credential mechanism.  These two mechanisms are optional,
>    and each usage must specify if and when these mechanisms are used.
> 
> Since this sounds optional, I am confused now since your text talks
> about a _mandatory_ Long-Term Credential Mechanism. Questions:
> 
> - Is the Long-Term Credential Mechanism mandatory or optional? RFC 5389
>   sounds like it is optional - any other documents I am missing?
> 
> - If it is optional in RFC 5389, is it sufficient to say "This can be
>   achieved by the optional Long-Term Credential Mechanism defined by
>   [RFC5389] ..."? (The problem with this is that someone deploying
>   things can be out of luck doing the right thing if implementations
>   do not support doing the right thing.)
> 
> - Or, if it is optional in RFC 5389, should the security
>   considerations of the URI scheme require implementation of the
>   Long-Term Credential Mechanism, that is making implementation
>   mandatory for usage with turn URIs?
> 
> /js
> 


-- 

Magnus Westerlund

IETF Transport Area Director
----------------------------------------------------------------------
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
----------------------------------------------------------------------