Re: [MMUSIC] DTLS-SRTP client/server role negotiation

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Thu, 02 May 2013 04:04 UTC

Return-Path: <mzanaty@cisco.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BAAC21F85CE for <mmusic@ietfa.amsl.com>; Wed, 1 May 2013 21:04:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
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 1GZTwrmMRXYd for <mmusic@ietfa.amsl.com>; Wed, 1 May 2013 21:04:14 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id 9A17A21F867B for <mmusic@ietf.org>; Wed, 1 May 2013 21:04:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7267; q=dns/txt; s=iport; t=1367467448; x=1368677048; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=4Pv/QGLaebriOssEbl9F/4MNBYY41kVzVP5qOsijqAE=; b=fFt6mYdOGJAd21RbQK7PkTcmmat/Ww9pq5dACBhfJgPrf5bLjLtzPr1F 5F+mPTAD69c5ccFQl7tXkP6kQPye4aLRKjL0Bp0413YrpDlRSbgBPMo7v bz4QBgAIojfNIrzGbUe0X1t2QFSuMZ0c/EY2GPXIwsb+BiAmR3gzZScXy 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgMFAA7lgVGtJXG8/2dsb2JhbABSgwc3vyOBARZ0gh8BAQEDAQEBAWsLBQsCAQgOCh0KBycLFBECBA4FiAYGDL8kBI8eBAeCcWEDiF2OTJExgw0
X-IronPort-AV: E=Sophos; i="4.87,593,1363132800"; d="scan'208,217"; a="205244460"
Received: from rcdn-core2-1.cisco.com ([173.37.113.188]) by rcdn-iport-1.cisco.com with ESMTP; 02 May 2013 04:04:08 +0000
Received: from xhc-aln-x08.cisco.com (xhc-aln-x08.cisco.com [173.36.12.82]) by rcdn-core2-1.cisco.com (8.14.5/8.14.5) with ESMTP id r42448lZ015494 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 2 May 2013 04:04:08 GMT
Received: from xmb-rcd-x14.cisco.com ([169.254.4.181]) by xhc-aln-x08.cisco.com ([173.36.12.82]) with mapi id 14.02.0318.004; Wed, 1 May 2013 23:04:07 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Justin Uberti <juberti@google.com>
Thread-Topic: [MMUSIC] DTLS-SRTP client/server role negotiation
Thread-Index: AQHORq6jUvZFEriikUyEO6sxlAqo8pjxJyYAgAAVMYCAAAp7+g==
Date: Thu, 2 May 2013 04:04:07 +0000
Message-ID: <7984C671-D3FF-4CC3-AC4A-9965087DD07E@cisco.com>
References: <E888F149-12FE-4F23-A270-F861123BAC7B@tokbox.com> <5181819B.5050107@alum.mit.edu> <18B3B548-95DC-43D2-BB05-619EC8EBDA70@tokbox.com>, <CAOJ7v-2XUzVr3kL=emR_7w49th3mowa_WQG4wVVmD7__uA8APw@mail.gmail.com>
In-Reply-To: <CAOJ7v-2XUzVr3kL=emR_7w49th3mowa_WQG4wVVmD7__uA8APw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_7984C671D3FF4CC3AC4A9965087DD07Eciscocom_"
MIME-Version: 1.0
Cc: Paul Kyzivat <pkyzivat@alum.mit.edu>, "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] DTLS-SRTP client/server role negotiation
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 May 2013 04:04:19 -0000

A simple 3PCC/B2BUA only delays offers toward one leg like RFC3725, so the other leg will answer with active or passive but not actpass.

A complex 3PCC/B2BUA delays offers toward both legs, so it must analyze and alter SDP in complex ways to generate two answers from two offers, part of which is deciding which answer should become active and which should become passive.

The flow in RFC 5245 B.11 is oversimplified. SDP can't be forwarded unaltered by a B2BUA which delays offers on both legs. Generating two answers from two offers is much more complex than simply forwarding the offers as answers.

DTLS-SRTP is actually an easy case since RFC 5763 requires offers to be actpass. TCP is harder since RFC 4145 allows offers to be active, passive, or actpass, causing more complex reinvites to resolve active/active or passive/passive conflicts.

Mo


On May 1, 2013, at 6:28 PM, "Justin Uberti" <juberti@google.com<mailto:juberti@google.com>> wrote:

I think Paul means the active/passive attributes in RFC 5763, but I'm still not sure about how 3rd party call control would be handled in this case, i.e. when both endpoints think they are offerers and set a=setup:actpass.

ICE has logic to determine roles in this scenario, as shows in RFC 5245, B.11.


On Wed, May 1, 2013 at 2:10 PM, Gustavo García <ggb@tokbox.com<mailto:ggb@tokbox.com>> wrote:
I saw it, but that is all about TCP client/server role and not DTLS client/server role.   Are we supposed to use the same "setup" attribute for dtls role negotiation even if it is over UDP?

I think there is no reason to tie TCP and DTLS roles, but perhaps I'm misunderstanding something.

On 01/05/2013, at 13:56, Paul Kyzivat wrote:

> On 5/1/13 2:26 PM, Gustavo García wrote:
>> RFC5764 (DTLS-SRTP) states that "Which side is the DTLS client and which side is the DTLS server must be established via some out-of-band mechanism such as SDP."
>>
>> What is the specification on how to signal that in SDP?
>>
>> Specifically in case of 3pcc where both endpoints are SDP offerers which one should take the client and server roles for DTLS?    Should we tie that role to ICE controlled/controlling roles or should we negotiate it in the SDP somehow?
>
> See RFC4145.
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org<mailto:mmusic@ietf.org>
> https://www.ietf.org/mailman/listinfo/mmusic

_______________________________________________
mmusic mailing list
mmusic@ietf.org<mailto:mmusic@ietf.org>
https://www.ietf.org/mailman/listinfo/mmusic

_______________________________________________
mmusic mailing list
mmusic@ietf.org<mailto:mmusic@ietf.org>
https://www.ietf.org/mailman/listinfo/mmusic