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

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 23 May 2017 10:15 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 5BA1D126CE8 for <mmusic@ietfa.amsl.com>; Tue, 23 May 2017 03:15:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 myEnxkSpnuzl for <mmusic@ietfa.amsl.com>; Tue, 23 May 2017 03:15:39 -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 D05B0124C27 for <mmusic@ietf.org>; Tue, 23 May 2017 03:15:38 -0700 (PDT)
X-AuditID: c1b4fb25-73a9f9a0000055fe-cd-59240bc9918a
Received: from ESESSHC005.ericsson.se (Unknown_Domain [153.88.183.33]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 37.5F.22014.9CB04295; Tue, 23 May 2017 12:15:37 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.30]) by ESESSHC005.ericsson.se ([153.88.183.33]) with mapi id 14.03.0339.000; Tue, 23 May 2017 12:15:19 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Martin Thomson <martin.thomson@gmail.com>
CC: Eric Rescorla <ekr@rtfm.com>, Roman Shpount <roman@telurix.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Thread-Topic: [MMUSIC] draft-dtls-sdp: Allow offerer to establish DTLS association before it has received the SDP answer?
Thread-Index: AQHSzg+3LES5P8e96kuYQ2NFd1Iy/aH22hkAgAAInQCAAAaQgIAASbSwgAjtDoD//+kCgIABw7QA///NpQCAADbcgA==
Date: Tue, 23 May 2017 10:15:18 +0000
Message-ID: <D549E62B.1D0A3%christer.holmberg@ericsson.com>
References: <D5407B8A.1C98B%christer.holmberg@ericsson.com> <CABcZeBN+91+kf8j599CpdiHu62QoOu4Xbkb5xhEEwSQp_LGxFw@mail.gmail.com> <CAD5OKxsFwbQPK2jz-BnS3Re6df2tU1RzuFgWx1f8xKio6NdJTQ@mail.gmail.com> <CABcZeBNoOaZaotNjz35CT=9Vb8ktHysnp9hZZu4=yK3oz5=2Fw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CBA529B@ESESSMB109.ericsson.se> <D5487BC2.1CF8E%christer.holmberg@ericsson.com> <CABkgnnXzzKMWrPaGq6mho=Dmq7Hjbi_G4Ng1O6LBCTL-1Pt-hA@mail.gmail.com> <D549E2A8.1D08C%christer.holmberg@ericsson.com> <CABkgnnXY+uwW=iPjT3O=TmnYj4CD-PYRYkSMTWc5QiFEVBsNiA@mail.gmail.com>
In-Reply-To: <CABkgnnXY+uwW=iPjT3O=TmnYj4CD-PYRYkSMTWc5QiFEVBsNiA@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.2.170228
x-originating-ip: [153.88.183.147]
Content-Type: text/plain; charset="euc-kr"
Content-ID: <A248B4B8D2E1ED4C9727E1DE9EAAEF58@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIIsWRmVeSWpSXmKPExsUyM2K7ou5JbpVIg0d/BS1WvD7HbnHtzD9G i6nLH7NYzLgwldmBxWPnrLvsHkuW/GTymPy4jdnj1pSCAJYoLpuU1JzMstQifbsErowbPw6x FxwRqNg2cS1zA2OPQBcjJ4eEgInEmYVHWLoYuTiEBI4wSlzeOYEVwlnMKDHv21bGLkYODjYB C4nuf9ogDSICuhKLzj5gB7GZBbIkNnxYCVYiLFAlcfJZHURJtcTm4xfZIOwsiaX/l4CVswio Sry9vooJxOYVsJZYMmsFI4gtJHCMRWLTNRMQm1MgUKLzw1pWEJtRQEzi+6k1TBCrxCVuPZnP BHGzgMSSPeeZIWxRiZeP/4HViwroSez795UN5BwJASWJaVvTIFq1JL782McGYVtLLNxyBspW lJjS/ZAd4hxBiZMzn7BMYBSfhWTbLCTts5C0z0LSPgtJ+wJG1lWMosWpxUm56UbGeqlFmcnF xfl5enmpJZsYgRF5cMtv1R2Ml984HmIU4GBU4uFd/1c5Uog1say4MvcQowQHs5II70RWlUgh 3pTEyqrUovz4otKc1OJDjNIcLErivI77LkQICaQnlqRmp6YWpBbBZJk4OKUaGN31Vp6tOnDd PT5UnWlNT+Lte7kxd9OOzpy26KGr6RSxlMUu9WkLwnTKO7s38f5S9nZur9BZ9llxRnJr7U9n LfvyrZ9PMdTtPqLP917U3DT1Trty56+uOM/e0oL4X50d/sLFn1+/vWx/R1Su1THrrucOad7F 0784GPlvM563pq106pIptXdeK7EUZyQaajEXFScCAK2Kt7vEAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/ki3dM0vtixIFla4IJkrnKwrXXSM>
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: Tue, 23 May 2017 10:15:40 -0000

Hi,

>>If I understand correctly, you seem to suggest that we allow the
>>handshake
>> to ³proceed² (see 1st paragraph of your reply), but not to ³complete².
>>If
>> so, which endpoint is responsible to make sure that it doesn¹t
>>³complete²?
>
>Whichever endpoint is unable to acquire the information it needs in
>order to determine that the handshake is good.

Ok, so in the use-case we’ve been discussing it would still be the offerer.

But, what about data received before the completion is received? You said
that you would be ok to allow received data to be saved, but not used.
However, I assume Cullen would not agree to that.

Also, if I understand the FEDEX use-case, not only would you have to be
able to receive media - if you are e.g., going to provide DTMFs you could
also have to SEND data? Or?

>>>Second in preference to that is to allow received data to be saved,
>>>but not used.  In no circumstance should we allow data to be *sent*.
>>
>> I assume that also includes e.g., SCTP messages, i.e., in case of a
>>WebRTC
>> Data Channel it wouldn¹t be allowed to establish the SCTP association.
>
>Yes, if you don't know to whom you are sending things, the only safe
>action is not to send.  You can carve out exceptions for things like
>handshaking SCTP on the proviso that they are found to contain no
>actionable content, but that's tricky.

I agree. We should avoid specifying per-protocol exceptions, because
sooner or later it will end up in a mess.

Regards,

Christer