Re: [MMUSIC] draft-dtls-sdp: Allow offerer to establish DTLS association before it has received the SDP answer?

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 12 June 2017 08:01 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 8434C129C3F for <mmusic@ietfa.amsl.com>; Mon, 12 Jun 2017 01:01:00 -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 RnozkdrXA2IB for <mmusic@ietfa.amsl.com>; Mon, 12 Jun 2017 01:00:58 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 37992128D16 for <mmusic@ietf.org>; Mon, 12 Jun 2017 01:00:57 -0700 (PDT)
X-AuditID: c1b4fb3a-31fff70000004a6a-67-593e4a387858
Received: from ESESSHC008.ericsson.se (Unknown_Domain [153.88.183.42]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 7E.0E.19050.83A4E395; Mon, 12 Jun 2017 10:00:56 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.30]) by ESESSHC008.ericsson.se ([153.88.183.42]) with mapi id 14.03.0339.000; Mon, 12 Jun 2017 10:00:55 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, Cullen Jennings <fluffy@iii.ca>
CC: mmusic <mmusic@ietf.org>
Thread-Topic: [MMUSIC] draft-dtls-sdp: Allow offerer to establish DTLS association before it has received the SDP answer?
Thread-Index: AQHS3gR6cOUoIT8u10KHxHCOXLs6qqIWXGKAgAN2xgCAAQSegIAAORoAgAB5MgCAAAlUgIAA2NeAgAAM04CABIF+AA==
Date: Mon, 12 Jun 2017 08:00:54 +0000
Message-ID: <D5642465.1E242%christer.holmberg@ericsson.com>
References: <D551D683.1D429%christer.holmberg@ericsson.com> <22C94242-218F-4724-AE92-E0B1E8DC2C82@nostrum.com> <21E8BA9D-E442-4DBC-8A7D-CEDFD5F54F8B@iii.ca> <CAD5OKxujAuzJt4QD6JXKHkVd4JB_nO5Th6KXjavMBww=W4644Q@mail.gmail.com> <6125EAB1-A827-4E0F-B756-78F85BB411CD@iii.ca> <CAD5OKxutcpUzh1yLA2kukmYmiHQg3+6fuXbaD0w73gzsAHEXzg@mail.gmail.com> <e80f0fbe-221e-aa9b-33bd-24d2ff50fe84@cisco.com> <6D9B0AD9-F9C9-4DF6-A2AB-D160094E5FE3@iii.ca> <CAD5OKxsZMei6FYDPWVcrjt0X6fy4h_=Odybjczpc8VpEgFSrQg@mail.gmail.com> <46506F82-3944-471C-80E9-D622EB3E1211@iii.ca> <CAD5OKxsWM0SevCiMZ9jJQn_PsEp5hhJ=0BODOm_UXa0P_1_nwQ@mail.gmail.com> <727A5880-BAF5-44FC-8112-6FF5206AEEBC@iii.ca> <CAD5OKxtFG5h65jY425SmQB-RgZ4VQZLF-ShsX_c+QtXZiO3Pxg@mail.gmail.com>
In-Reply-To: <CAD5OKxtFG5h65jY425SmQB-RgZ4VQZLF-ShsX_c+QtXZiO3Pxg@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.18]
Content-Type: multipart/alternative; boundary="_000_D56424651E242christerholmbergericssoncom_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCIsWRmVeSWpSXmKPExsUyM2K7lq6Fl12kwc+PEhYf1v9gtJi6/DGL xYwLU5kdmD2WLPnJ5HH5/EdGj1tTCgKYo7hsUlJzMstSi/TtErgy/t2YwFhwy7di3syZTA2M Rx27GDk5JARMJCb3TWDpYuTiEBI4wiixYcpxRghnMaPE9cn97F2MHBxsAhYS3f+0QRpEBNwk 3s54wwpiMwvISMw428gEUiIsUCVx8lkdREm1xObjF9kg7CyJxj+dYDaLgKrEvglvWUBsXgFr iZ+Pm9khVn1jlfg4rYsZJMEpECjx5+tNJhCbUUBM4vupNUwQu8Qlbj2ZzwRxtIDEkj3nmSFs UYmXj/+xgtwgKqAn8W6/J0RYUeLjq32MEK0JEo2TvjFD7BWUODnzCcsERtFZSKbOQlI2C0kZ RNxA4v25+cwQtrbEsoWvoWx9iY1fzjJC2NYSS+acY0RWs4CRYxWjaHFqcXFuupGRXmpRZnJx cX6eXl5qySZGYFwe3PLbagfjweeOhxgFOBiVeHjvWNhFCrEmlhVX5h5ilOBgVhLhvecBFOJN SaysSi3Kjy8qzUktPsQozcGiJM7rsO9ChJBAemJJanZqakFqEUyWiYNTqoHR1Uz1egx72hOT tkb74IUVCo+jtpx7t8Ij/+wLjpJ13aVNzsV6S14JftSd/21d3D4/m6Ldr7j3x+eLZ5rtzL79 4K9F0m0Fxz85MSJ5mhdNfS5daTkeNXeG3plZfnl9jhOnm6ha3t+9pVdrziHZ9sdvufxZrJ87 KHs6JWkyLtkRdvX1jw12+/8psRRnJBpqMRcVJwIAdG0TrMcCAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/kZJYhcQCnQ9PckuyFT3P3gMSJG8>
Subject: Re: [MMUSIC] draft-dtls-sdp: Allow offerer to establish DTLS association before it has received the SDP answer?
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: Mon, 12 Jun 2017 08:01:00 -0000

Hi,

I also don’t see how Roman’s suggestion would contradict what Cullen wants to contradict. Roman, please make the pull request so that we have actual text to look at.

Regards,

Christer



From: Roman Shpount <roman@telurix.com<mailto:roman@telurix.com>>
Date: Friday 9 June 2017 at 17:18
To: Cullen Jennings <fluffy@iii.ca<mailto:fluffy@iii.ca>>
Cc: "mmusic@ietf.org<mailto:mmusic@ietf.org>" <mmusic@ietf.org<mailto:mmusic@ietf.org>>, Christer Holmberg <christer.holmberg@ericsson.com<mailto:christer.holmberg@ericsson.com>>
Subject: Re: [MMUSIC] draft-dtls-sdp: Allow offerer to establish DTLS association before it has received the SDP answer?

On Fri, Jun 9, 2017 at 9:32 AM, Cullen Jennings <fluffy@iii.ca<mailto:fluffy@iii.ca>> wrote:
I'd really really appreciate if you could give me a hint of it you agree with my original points I asked about or which ones you disagree with and why. The three points I am interested in are:

For devices that want to minimize delay in setting up media and avoid media clipping, doing the TLS handshake as soon as possible is good design but in some cases this means the system does  the handshake before the identity of the fingerprint is known.

Doing TLS handshake as soon as possible is a good design. Doing answer identity and integrity validation and validating certificate fingerprints as soon as possible is a better design. I understand that doing answer and fingerprint validation is not always possible when interfacing with legacy SIP devices, but there is no reason to design new solutions which process media before the answer. For instance WebRTC has no reason to support unverified media. Because of this, I think that anything that produces unverified media is a bad design which has no reason to exist apart for legacy interop. Specifics on how to design session description identity and integrity validation are clearly out of scope for this draft.

All of this being said, what I am proposing for the sake of moving this draft forward does not contradict any of your points. Once again, what I am proposing is:

1. Remove any recommendation regarding handling DTLS association before the answer (leave it up to implementation)
2. Put a note that accepting DTLS association before the answer can result in unverified media and if this media is played back to the end user, end user SHOULD be notified that media is coming from an unverified source.
3. Add clarification that DTLS associations established before the answer MUST be torn down when no more answers are expected and that fingerprints in any of the received answers match the negotiated certificate (Right now it is specified that DTLS association MUST be torn down if it does not match the answer. This is wrong if forking is used and multiple answers are received).

Draft does not advise that DTLS association should be established before the answer is received (I think this is wrong), but it also does not advise that it should not (you think it is wrong). This way implementation decides what's best for it.

Does it contradict anything that you want to accomplish?
If it does, what needs to be changed?

Regards,
_____________
Roman Shpount