Re: [MMUSIC] DTLS-SDP and JSEP Conflicts

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 12 September 2017 07:21 UTC

Return-Path: <christer.holmberg@ericsson.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 4A6CC1332E0 for <mmusic@ietfa.amsl.com>; Tue, 12 Sep 2017 00:21:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vQC8vYitoiP7 for <mmusic@ietfa.amsl.com>; Tue, 12 Sep 2017 00:21:03 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E427B1332DF for <mmusic@ietf.org>; Tue, 12 Sep 2017 00:21:02 -0700 (PDT)
X-AuditID: c1b4fb25-94fff70000005333-48-59b78adca22a
Received: from ESESSHC021.ericsson.se (Unknown_Domain [153.88.183.81]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id F4.88.21299.CDA87B95; Tue, 12 Sep 2017 09:21:01 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.194]) by ESESSHC021.ericsson.se ([153.88.183.81]) with mapi id 14.03.0352.000; Tue, 12 Sep 2017 09:21:00 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, Eric Rescorla <ekr@rtfm.com>
CC: mmusic WG <mmusic@ietf.org>, Paul Kyzivat <pkyzivat@alum.mit.edu>
Thread-Topic: [MMUSIC] DTLS-SDP and JSEP Conflicts
Thread-Index: AQHTHeD9eWXjhOvP60up2QfAnU62xaKbMmOAgAbGf4CAADCNsP//5vyAgACksACAAMvvAIAAKExw///nloCAARKTgIAAFdgAgAABBgCAANwjAIAABACAgAADowCAA87yAIAAPuUAgAdZzwA=
Date: Tue, 12 Sep 2017 07:20:59 +0000
Message-ID: <D5DD6607.2148E%christer.holmberg@ericsson.com>
References: <f353ad39-4ee5-4661-8e99-7fab6e394e91@nostrum.com> <CAOW+2dtv8r7qTyNxWY8NacfEh+Ojk5ObVAXEur3D4GyMw89YaQ@mail.gmail.com> <CABcZeBOJgyva5e-ykH-RkKN=BJPrXVYLu8vZbbNBv0xscv6bOA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B562818F7@ESESSMB109.ericsson.se> <CABcZeBNv4fdFTJ+tXeBkMDqbMCEw916Txt8owFY-X7ijX0-FcA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B56282B43@ESESSMB109.ericsson.se> <CABcZeBNh9ep+tq4_wWHT6uqXZz=OS8VngrmtspPz5nJ=pZS0ow@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B562869A2@ESESSMB109.ericsson.se> <CABcZeBPj6e=rtYHr4nyqeaB58TDBEjyB0xYeJJ+P63rO0DSw+A@mail.gmail.com> <D5D30222.20F35%christer.holmberg@ericsson.com> <b5a72f26-8bae-7eb8-4d54-93dc38b0f16a@alum.mit.edu> <CABcZeBM3m6Sdou5-VE6hjtdQpzC8sEpeSH1fUzauW68NqoSiog@mail.gmail.com> <CAD5OKxviYzVHYwXzk0DDiMQ64nWYq1WnB1hYbNR0xUCwT33JiA@mail.gmail.com> <CABcZeBNHJXCzjuArsHAa_+hb0QC98ftA4-P0h2vwzMV1_ReyQg@mail.gmail.com> <CAD5OKxufxwtEuq8a7z16wGcdxWfLOP5E439hbs2Ev=nSbK52cA@mail.gmail.com> <CABcZeBPUFpdXXkj6b6GjaDQV+X+DGPrnu+CFJ3gu1L9=5qrrpQ@mail.gmail.com> <CAD5OKxvdC6Eb-eZzd-jd+5-UfRVph2qfJpQKsr3nP-qvcgoaoQ@mail.gmail.com>
In-Reply-To: <CAD5OKxvdC6Eb-eZzd-jd+5-UfRVph2qfJpQKsr3nP-qvcgoaoQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.4.170508
x-originating-ip: [153.88.183.147]
Content-Type: multipart/alternative; boundary="_000_D5DD66072148Echristerholmbergericssoncom_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLIsWRmVeSWpSXmKPExsUyM2J7oO7dru2RBpcnslqseH2O3WLq8scs Fis2HGC1mHFhKrMDi8ff9x+YPJYs+cnkMflxG7PHrSkFASxRXDYpqTmZZalF+nYJXBknbl1m LZgWUrGybRZrA+NGty5GTg4JAROJaSevsXQxcnEICRxhlLi44wUjhLOEUWL9lYlADgcHm4CF RPc/bZAGEQFnia7ee6wgNrOAq8TEGb/BSoQFDCVOnGGBKDGSuHz8ATPIGBGBeYwSf9q3gtWz CKhKbG+/DmbzClhLHO17wQyx6z+HxJFJd5hBBnEKBEpsOpwPUsMoICbx/dQaJohd4hK3nsxn gjhaQGLJnvPMELaoxMvH/1hBWkUF9CTe7fcEMSUElCSmbU2D6EyQON0wjQ1iq6DEyZlPWCYw is5CMnQWkrJZSMog4gYS78/NZ4awtSWWLXwNZetLbPxylhHCtpa40N3AhKxmASPHKkbR4tTi pNx0I2O91KLM5OLi/Dy9vNSSTYzASD245bfqDsbLbxwPMQpwMCrx8JqWbI8UYk0sK67MPcQo wcGsJMK7qwAoxJuSWFmVWpQfX1Sak1p8iFGag0VJnNdx34UIIYH0xJLU7NTUgtQimCwTB6dU A6Njzy6W/M1qV62eTAsT2LDAvUU77NlU7rf6ERXl3Waq7ZNnCV7WlrDUXPzg/NT66unyIRc3 vtOsi9V+nce3sFZp4/5dVyQirvtavnpcE3rp38fT3hwulzle1a281VQayf3RLNOdMWn7Edst szl2Oc265vQi74eTBk9Kp/WqBglz4TOnWutfX1ViKc5INNRiLipOBACICzf70AIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/ny39XVvvYT4S4ZqvzcnnAqNiZmU>
Subject: Re: [MMUSIC] DTLS-SDP and JSEP Conflicts
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 12 Sep 2017 07:21:06 -0000

OK, how do we move forward? Silence won’t do it. Can people live with the current text?

(Version –30 was submitted last week, with the ufrag change removed from the list in section 4.)

Regards,

Christer

From: mmusic <mmusic-bounces@ietf.org<mailto:mmusic-bounces@ietf.org>> on behalf of Roman Shpount <roman@telurix.com<mailto:roman@telurix.com>>
Date: Thursday 7 September 2017 at 21:10
To: Eric Rescorla <ekr@rtfm.com<mailto:ekr@rtfm.com>>
Cc: "mmusic@ietf.org<mailto:mmusic@ietf.org>" <mmusic@ietf.org<mailto:mmusic@ietf.org>>, "pkyzivat@alum.mit.edu<mailto:pkyzivat@alum.mit.edu>" <pkyzivat@alum.mit.edu<mailto:pkyzivat@alum.mit.edu>>
Subject: Re: [MMUSIC] DTLS-SDP and JSEP Conflicts

On Thu, Sep 7, 2017 at 10:25 AM, Eric Rescorla <ekr@rtfm.com<mailto:ekr@rtfm.com>> wrote:

Well, to recap, ICE restart can only be initiated by the offerer:
https://tools.ietf.org/rfcmarkup?doc=5245#section-9.2.2

And as we discussed in detail, there's no real way to demux without an ICE restart, so I'm not interested in trying to preserve that case in the situations when it happens to work. In general, the offerer can simply offer a new tls-id if it's willing to accept a new TLS connection. I appreciate that this will also cause a TLS association even when the endpoints haven't changed, but this just doesn't seem like that big a deal.

If you have a specific case in mind that this causes a problem for, I'd need to see a call-flow diagram to understand it.


There are two specific scenarios that concern me:

1. Third Party Call Control

a. End point A is connected to end point B through third party call control agent 3PCC
b. 3PCC sends a request for a new offer to A (using SIP INVITE with no SDP body).
c. End point A sends an offer with ICE restart (required in response to INVITE with no SDP) and existing tls-id
d. 3PCC agent sends this offer as a new call offer to end point C
e. This is a new offer for C, so it sends an answer with a new tls-id to 3PCC
f. 3PCC sends an answer to end point A
g. Since A got an answer with a new tls-id, a new DTLS association is established between A and C

This also has an optional case, when end point C is legacy and it does not send back tls-id attribute, but does send new fingerprint values. I would prefer that new implementations were allowed for the same scenario using tls-id.

Note that in step d, 3PCC can also send the  re-offer back to B, which will result in existing DTLS association reuse. This is very common when session timers are implemented by 3PCC agents.

2. Connection Recovery

a. End point is connected to a service (like conference service) which is comprised from multiple redundant media servers behind a single signaling proxy
b. End point detects a network connectivity disruption via keep-alive timeout
c. End point initiates connection recovery process by generating an offer with ICE restart and existing DTLS association (and media settings) and sends it to the signaling proxy
d. If the network connectivity is restored to the same media server via a different network path, for instance due to client address change, existing DTLS association and media are re-used
e. If connectivity failure was due to media server failure, connectivity is restored but to a different media server. New DTLS  association and media connection is established in this case.

Please note that case d is much less common then case e.

In both cases it is possible to make things work by forcing new tls-id value in the offer. This will result in extra DTLS association, local ICE candidate allocations (which are required if new DTLS association is requested via new tls-id), and new media setup. All of those things will waste resources and more importantly will increase connection setup time.

Regards,
_____________
Roman Shpount