Re: [MMUSIC] Signaling Additional SRTP Context information via SDP - draft-davis-mmusic-srtp-assurance

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 12 October 2023 07:45 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 B3DD0C14CF13 for <mmusic@ietfa.amsl.com>; Thu, 12 Oct 2023 00:45:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.109
X-Spam-Level:
X-Spam-Status: No, score=-7.109 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uwkZHcbDfirt for <mmusic@ietfa.amsl.com>; Thu, 12 Oct 2023 00:45:37 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2051.outbound.protection.outlook.com [40.107.7.51]) (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 D6112C14CF1C for <mmusic@ietf.org>; Thu, 12 Oct 2023 00:45:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cr3NfNRZIKElsBPort1ODb/SFO6tKfCnOu9PcyGE5Rh07+tJakHV9DWIf9vRbz+crvuvuRgf2e/l0J+5NAMF2kDKJext88sdJA3EENHAd8Xo4YLIlmUaHz71jB/8VNUSghUnI1KTzMvhmdsczr8IooZOTBZ8wZhbw8z2Jm+2QKbRkaTMRK5uLMayOqzm0x5PIlS7MfGBfE6IXi4BEaPgI+wJNQcy0qVMFrBX9+BerVgiWWXlyd+3jAL1bFLrqx8D8/4FqnerEY6S3g4sQHrzQbEqnYMEtPmpjqBKP6YAEfjztogGo0VJ8r/A+NOBKOtJ3v3FCo33xIN1zE/Hvr+SJA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h0GM1LmiC11xAzvKzNJD1T+iv+uieUKQqMJdf5/ipeM=; b=D5nf7JDgkjIaerpzwg5fTfygTra+hJ91P6FiZ16MELiXzWiyHC2nJah9rrtxmVK93v4S4cfZilBfLxUfosrFRckrFU7u/mt99xSJHsCJfntynSuy1XLCcPSljDa8wvWsGkDtid4eJFG6gV23EEqjvevm4mi3e0qpX4TBF9v0w1OpWrWqx7aCKEZRAfSAQQZRAu7dzJx0JQQWQlCb5REl4ZeuxHSBmEHm1BUrXsW982OgcwuFXdsPVtVAAOsLoU9CvCDxxbSlgIfXXNtYB+/A6wzt2EWpRE04XnM6fgKtDp0s+l6EX9ROKTuIyZuuW4CZ/k+LZzBk+NrM1NiyecwGFQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h0GM1LmiC11xAzvKzNJD1T+iv+uieUKQqMJdf5/ipeM=; b=M1uWNiKDif2AhgOk9CwVWDX+mxYDUGHILEbnLG1LWtO0+/lvGRJcUp9+ABWEudXkehBjQJituRppoEuGyMHrv8kxeGEbUe7SSGsbNKSd+uIyBS1+tMOo2nFO8uhMeD6HTPC0q2bxirMwSfy/Op+drVOI82Uh/cWMIVypZ800ZY8=
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com (2603:10a6:7:9f::27) by GVXPR07MB9821.eurprd07.prod.outlook.com (2603:10a6:150:112::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Thu, 12 Oct 2023 07:44:58 +0000
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::303f:2d0:4b0b:a812]) by HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::303f:2d0:4b0b:a812%4]) with mapi id 15.20.6863.032; Thu, 12 Oct 2023 07:44:58 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "Kyzer Davis (kydavis)" <kydavis=40cisco.com@dmarc.ietf.org>, "mmusic@ietf.org" <mmusic@ietf.org>
CC: "Esteban Valverde (jovalver)" <jovalver@cisco.com>
Thread-Topic: Signaling Additional SRTP Context information via SDP - draft-davis-mmusic-srtp-assurance
Thread-Index: AdnLnxa1oeUTBHs9SrOCZ4d9gnl/4AvUikQQACOy1sAAAkWlgABVSEmg
Date: Thu, 12 Oct 2023 07:44:57 +0000
Message-ID: <HE1PR07MB4441EE08225D3CE1C02BDDBA93D3A@HE1PR07MB4441.eurprd07.prod.outlook.com>
References: <PH0PR11MB5029B53E9DF50EC1B420AF1EBB13A@PH0PR11MB5029.namprd11.prod.outlook.com> <PH0PR11MB5029896E1D6202953341CB27BBCEA@PH0PR11MB5029.namprd11.prod.outlook.com> <HE1PR07MB44410065064B77A55A8493C993CDA@HE1PR07MB4441.eurprd07.prod.outlook.com> <PH0PR11MB5029236B1114DE35C53A2BB2BBCDA@PH0PR11MB5029.namprd11.prod.outlook.com>
In-Reply-To: <PH0PR11MB5029236B1114DE35C53A2BB2BBCDA@PH0PR11MB5029.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: HE1PR07MB4441:EE_|GVXPR07MB9821:EE_
x-ms-office365-filtering-correlation-id: 7681f93e-ad5f-4836-ad63-08dbcaf7220f
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Zn1jNLhOh6BLG9ZlhHIHXbBgLxNJwpMoTHiRcpls6TQWWGoKzEdbIFFFVxXDcwKprRzCdPmHdP2jAo3Z2H9dqhPNXF/L0bajJtcSY82nN93aLlLiqhZ69KhBJIIjZ/40k1+Bm8/iKKhy94y1hfcwjMPqqRWD7xu+9DfiHkDSmA08YE0O2m4BiAnF3SF6AMerB1b+APPAqkbVarFWFKz60qj2fA0Mx6zXWyNvlYcMxOaijnvOmwkIWV09kjeT33eRacGKGjF8P8dERk0K2jHc/lHTNtZKyluH1fFhPDU+irOO6tJXjPnm8ZA0rZ7qZmfKuFyLjyq0SwfRFGbkhtmmCTgppdpesopASnGGp7X4nltBSi3x4S0IKTGw3DW2QFehocVQkGa47phy5tzTGWHvhZHaai6I7XuXxftAbaXaJLLT5cMzbfPW3yh/B9oS4ZZfacMJ8Ig7XkxE8PSttc1aYylk626DtmhtYh5sRCibj86UMY000IvXqtoYgc1RAaXIUJdTdLblMubipcNyc6ACcR+2eDHFEFggOia9mkLNsT2yhuApTpdMe01wbabSXD5DcfapUkZbTfikreID1TBdNStXksL54W54Tep3Y/m6ogfHTqrZNJx9wkAbV2k+YNeeqm8ewsCHhIz5NVXqTjSXwcMuz26nyNT93fFwB4xtv3oMqu1OWcpm0ZLudR4yDR65
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4441.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(346002)(39860400002)(136003)(366004)(230922051799003)(64100799003)(186009)(1800799009)(451199024)(71200400001)(53546011)(26005)(38100700002)(8676002)(7696005)(66556008)(76116006)(8936002)(2906002)(4326008)(478600001)(44832011)(110136005)(66946007)(6506007)(66476007)(66446008)(64756008)(52536014)(966005)(5660300002)(316002)(41300700001)(55016003)(33656002)(122000001)(99936003)(82960400001)(38070700005)(86362001)(83380400001)(9686003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: jTRABRelpKVHNEJUa7i9+VRhquIQ1qXyLTjH1Vq2pVDyWRK2pZo4YeJ3IMbArZ+YPcr5OGAi3m4y22o3OoigNLyFcuUMVvTvAut1327OxI57S7PJUmPjJPnOn0W2EbrjywZCNkhFs5nlSSsz7QsLeZLB/evt3zTFTxnpKW2oUc774Xm2k8wfJvvhoaWAf2v5zLpEFxBy1frww/zhwixloq82YANtqLVlVTCkv1bz8oPksE13S2zRCkzBMq34Sgu1KLQ97sscx8QQa7EjBse+D0t0Edp2y2yttAnMACUF751ov/N5JkJC4nrsFCuVr/jU8ad5U2gzOEkR5k84kfAjZmn1mCFe5Xfw2Yaxf9fPJGw1v4kFf+7+C2Aiyo3KVA1WNoNY6BnT/aYYENDwPeHpaoJoWXMQDIrKYuW7QYwq8lUtFVOiHP4qx7OodgQdvun5Pn9sUntLBAq8OJn+TYw6meyVoUfjmEtg7xNly9nEz+xrHB5cCUsR1ySDlhE4OLzP3+CMBVaZdagpV95SoRK6fi1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+lw/evgDzCGGLIzEdmv65P/A==
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0078_01D9FCF9.2489D7D0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4441.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7681f93e-ad5f-4836-ad63-08dbcaf7220f
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2023 07:44:57.9897 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ZEJSAQkaPrvGwpZJJIUxQr8zXVfsS9NJXAd7mx90fr+/fjklrqUiIMAU7XnV0bjbnXvVsZSSmqnZHuj7pyXH5GSeIJ8WW2d3pTIJ5blo2Mk=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR07MB9821
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/Tzn38JsGjOip45sQiBY3dayFJCo>
Subject: Re: [MMUSIC] Signaling Additional SRTP Context information via SDP - draft-davis-mmusic-srtp-assurance
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.39
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: Thu, 12 Oct 2023 07:45:41 -0000

Hi Kyzer,

...

>Q.3 is two questions so I will address both:
>A: The answer is value=unknown or no value at all are the same in the grand scheme. 
>The main difference is that I wanted to ensure an application had a way to explicitly call out that the value was unknown to them.
>I could expand the text for one scenario that comes to mind which is: perhaps there was a scenario where it was known, then later
>it became unknown and the app would like explicitly to state that as such and force a fallback to the default behavior.

Would you not achieve the same thing by sending a new attribute without the value that has become unknown?

Regards,

Christer


-----Original Message-----
From: Christer Holmberg <mailto:christer.holmberg=40ericsson.com@dmarc.ietf.org> 
Sent: Tuesday, October 10, 2023 10:28 AM
To: Kyzer Davis (kydavis) <mailto:kydavis@cisco.com>; mailto:mmusic@ietf.org
Cc: Esteban Valverde (jovalver) <mailto:jovalver@cisco.com>
Subject: RE: Signaling Additional SRTP Context information via SDP - draft-davis-mmusic-srtp-assurance

Hi,

A few questions, more related to the SDP usage than then mechanism itself.

---

Q1: Section 3.1 says:

srtp-context   = srtp-attr
                            srtp-tag
                            [srtp-ssrc";"]
                            [srtp-roc";"]
                            [srtp-seq";"]
                            [srtp-ext";"]

I don’t think this is what you want, because you would have to add “;” also after the last field.

Instead, you probably want something like:

srtp-context   = srtp-attr
                            srtp-tag
                            [srtp-param *(“;” srtp-param)]
srtp-param     = srtp-roc / srtp-seq / srtp-ext

---

Q2: Section 3.1 says:

srtp-ext       = 1*VCHAR "=" (1*VCHAR / "unknown")
...
VCHAR          = %x21-7E

I don't think you want to allow ";" (%x3B), because then one may not know whether it is part of the srtp-ext value or a separator between values.

---

Q3: Section 3.1 says:

   “The value of "unknown" MAY be used in place of any of the fields to
   indicate default behavior SHOULD be utilized by the receiving
   application” 

How is that different from when the field is not included to begin with?

Where are the default behaviors for the different fields defined?

---

Q4: Section 3.1 says:

   "The tag for an SRTP Context attribute MUST follow the peer SDP
   Security a=crypto tag for a given media stream (m=)."

It is unclear what "follow the tag" means. I assume you want to say that the SRTP Contect attribute MUST use the same tag value as the crypto attribute it is associated with?

---

Regards,

Christer





From: mmusic <mailto:mmusic-bounces@ietf.org> On Behalf Of Kyzer Davis (kydavis)
Sent: Monday, 9 October 2023 23.45
To: mailto:mmusic@ietf.org
Cc: Esteban Valverde (jovalver) <mailto:jovalver@cisco.com>
Subject: Re: [MMUSIC] Signaling Additional SRTP Context information via SDP - draft-davis-mmusic-srtp-assurance

Group,

I have posted draft 01 which covers the items from my previous email.

Name:     draft-davis-mmusic-srtp-assurance
Revision: 01
Title:    Signaling Additional SRTP Context information via SDP
Date:     2023-10-09
Group:    Individual Submission
Pages:    21
URL:      https://www.ietf.org/archive/id/draft-davis-mmusic-srtp-assurance-01.txt
Status:   https://datatracker.ietf.org/doc/draft-davis-mmusic-srtp-assurance/
HTML:     https://www.ietf.org/archive/id/draft-davis-mmusic-srtp-assurance-01.html
HTMLized: https://datatracker.ietf.org/doc/html/draft-davis-mmusic-srtp-assurance
Diff:     https://author-tools.ietf.org/iddiff?url2=draft-davis-mmusic-srtp-assurance-01

Thanks,

From: mmusic <mailto:mmusic-bounces@ietf.org> On Behalf Of Kyzer Davis (kydavis)
Sent: Thursday, August 10, 2023 11:30 AM
To: mailto:mmusic@ietf.org
Cc: Esteban Valverde (jovalver) <mailto:jovalver@cisco.com>
Subject: [MMUSIC] Signaling Additional SRTP Context information via SDP - draft-davis-mmusic-srtp-assurance

Hello all,

I presented draft-davis-valverde-srtp-assurance-00 at Dispatch and the outcome was to dispatch to MMUSIC WG.
I have re-submitted draft-davis-valverde-srtp-assurance-00 as draft-davis-mmusic-srtp-assurance-00 with no changes.

To view that session and/slides see below:
- https://youtu.be/KT3mMX9CMdA?t=3113
- https://datatracker.ietf.org/meeting/117/materials/slides-117-dispatch-sdp-security-assurance-for-secure-real-time-transport-protocol-srtp
- A quick slide note, before the dispatch session I was working on a draft-01 which leveraged Solution A in these slides while draft-00 uses Solution B.
  - Jonathan Lennox brought up a good point after the session which favors solution B:
  - Paraphrasing: "We know how implementations will handle unknown SDP attributes; we do not know well how well how implementations will handle unknown SDP Security Session Parameters"
    - I dug into this a bit more and tend to agree. So draft-01 now continues to use solution B (a=srtpctx) new SDP Attribute to convey the required SRTP Context information alongside a=crypto.
      - I have a full write-up on GitHub with far more details: https://github.com/kyzer-davis/srtp-assurance-rfc-draft/issues/5

In addition, some other draft-01 actions items that were brought up in chat, at the mic or in person 1:1:
- "Why this can't be a RTP Header Extension" from Richard Barnes. (https://github.com/kyzer-davis/srtp-assurance-rfc-draft/issues/11)
- "Discuss sending some update when ROC updates" from Jonathan Rosenberg. (https://github.com/kyzer-davis/srtp-assurance-rfc-draft/issues/10)
  - Already text in the draft around this; which covers "99.9% of scenarios".
- "Method to Convey Multiple SSRCs for a given stream" from various (https://github.com/kyzer-davis/srtp-assurance-rfc-draft/issues/1)
  - Two solutions proposed in the GitHub issue
- A statement Cullen Jennings made about focusing on the problem statements.
  - I want to re-write the problem sections like RFC7744 where each problem in a scenario is cited as Ux.y and then discussed (Section 2.1.1 and 2.1.2)
  - I took a stab at a rough draft of this in "Discuss why SEQ is signaled in the SDP" via (https://github.com/kyzer-davis/srtp-assurance-rfc-draft/issues/9)
  - Overall item is in https://github.com/kyzer-davis/srtp-assurance-rfc-draft/issues/13

Lastly, the following items are already merged into draft-01 over on GitHub:
- Change contact name from IESG to IETF in IANA Considerations #2
- Discuss RFC4568 "Late Joiner" in problem statement: #3
- Split Serial forking scenario into its own section #4
- Add MIKEY considerations to Protocol Design section #6
- Change doc title #7 (new title: "Signaling Additional SRTP Context information via SDP")
- Add SEQ abbreviation earlier #8
  
Thanks,

---
Kyzer Davis