Re: [dispatch] draft-davis-valverde-srtp-assurance [was: Re: IETF 117 - do you have something for DISPATCH?]

Brian Rosen <br@brianrosen.net> Tue, 15 August 2023 15:02 UTC

Return-Path: <br@brianrosen.net>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C467EC136123 for <dispatch@ietfa.amsl.com>; Tue, 15 Aug 2023 08:02:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.093
X-Spam-Level:
X-Spam-Status: No, score=-2.093 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=brianrosen.net
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 TCukTF1MrOZ3 for <dispatch@ietfa.amsl.com>; Tue, 15 Aug 2023 08:02:03 -0700 (PDT)
Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CD28C137369 for <dispatch@ietf.org>; Tue, 15 Aug 2023 08:02:03 -0700 (PDT)
Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-589a44d561eso5528987b3.0 for <dispatch@ietf.org>; Tue, 15 Aug 2023 08:02:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brianrosen.net; s=google; t=1692111722; x=1692716522; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=3qioI8EzarHD7slKEy1jy5wR8gv/NxYJk1XmXXllkbo=; b=GncgRu4fkIzMMHrY3jupOtgnKOXfzYGjP3q7pNYfDPvUPRDGuh+Ri3NAKVeuC689qe IvrWduqF6XW3xPe+CA8v5e+EvEHrUYNuC6rAaFDOpWOrQxoii2JGVlBvAktv6ux4aqOV s18Yo/9C4V2QqPJpANTFXs7Rl2YTkmMMxg8Hg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692111722; x=1692716522; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3qioI8EzarHD7slKEy1jy5wR8gv/NxYJk1XmXXllkbo=; b=Xi4uj2Krloq0YqMT8h1jkXpAISsZLgryijFR5vNo5YwjZRBaTguAzhNLEZiFMsVhmS ++x+RTK8vtDtd0pP4UlkU6AQ75Dxq4SpmDIxjO2jhgj39v6p7mmh6RzheYn7pcCAQ3Up 4BzbFWG8GwDIhGXI7oa2AxShX86fFg1XkkbReHck8KpIaKLVasHqRgtTsmoTJO1nfhNJ 9v0SRwyC4XQ4qng5D6Bpup3/ZmDKO86gIu9MxPvUzXuWalMKKNpzloG1dq15nc2iXN3B ix0gAQsEsjTPGKJYNdnMCKOoaPfiSozAR93J/8Lyvk+gi6UY3pnWZ2oBqssv1SGhbGju kHpQ==
X-Gm-Message-State: AOJu0YzvmZEQyOpfXPikjjRVymAm7YrND9gC5JE4JKClC7QOAw1VdfCM AJilELNHBIW1eXtIkIgdw66Z56Lf3N2OJfUJtT0=
X-Google-Smtp-Source: AGHT+IEGStHZKyli7JalccvHAOvXVbpckUmhDTjXmrNIjIt1Nbbzyhof3gZt3SkNET1It4+kDfHcgw==
X-Received: by 2002:a81:6d0a:0:b0:584:3fed:18fa with SMTP id i10-20020a816d0a000000b005843fed18famr5533206ywc.0.1692111721750; Tue, 15 Aug 2023 08:02:01 -0700 (PDT)
Received: from smtpclient.apple (dynamic-acs-24-154-121-237.zoominternet.net. [24.154.121.237]) by smtp.gmail.com with ESMTPSA id u7-20020a818407000000b00589f590be00sm1314133ywf.66.2023.08.15.08.02.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Aug 2023 08:02:01 -0700 (PDT)
From: Brian Rosen <br@brianrosen.net>
Message-Id: <2DEC9659-A76A-4D33-ADDE-CDB7D5E5EBED@brianrosen.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C3A3BEFF-C1C7-4446-B472-6292040123E3"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
Date: Tue, 15 Aug 2023 11:01:48 -0400
In-Reply-To: <PH0PR11MB50293AD3FEDA894B9B2D3041BB3BA@PH0PR11MB5029.namprd11.prod.outlook.com>
Cc: Dan Wing <danwing@gmail.com>, "dispatch@ietf.org" <dispatch@ietf.org>, Robert Sparks <rjsparks@nostrum.com>, "mmusic@ietf.org" <mmusic@ietf.org>
To: "Kyzer Davis (kydavis)" <kydavis=40cisco.com@dmarc.ietf.org>
References: <0490249B-C51B-4E18-8155-144CE044E994@gmail.com> <PH0PR11MB50293AD3FEDA894B9B2D3041BB3BA@PH0PR11MB5029.namprd11.prod.outlook.com>
X-Mailer: Apple Mail (2.3731.600.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/ee8mWstpLBPVmbnwgP6MlJy0H-I>
Subject: Re: [dispatch] draft-davis-valverde-srtp-assurance [was: Re: IETF 117 - do you have something for DISPATCH?]
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Aug 2023 15:02:07 -0000

A piece of info that might affect the discussion of prolonging SDES vs DTLS-SRTP.

In the US, the regulator announced an intention to require all carriers, including VoIP carriers to support “Next Generation 9-1-1” signaling.  That requires SIP with DTLS-SRTP.  The emergency call service side does not support SDES.  Of course, security is hop by hop, and nearly every carrier anchors media, so the DTLS-SRTP connection is likely from the carrier’s SBC to the emergency services SBC, and the phone could still support SDES, but it’s another nail in the SDES coffin.

I would be opposed to enhancing SDES.  Implementing this draft would require code changes in the device that needed it.  I would prefer those changes implement DTLS-SRTP.  While I do recognize that the magnitude of a change to implement DTLS-SRTP, with EKT-SRTP would be much greater than implementing this draft on a device that implemented SDES, a change is a change, and I think the security of DTLS-SRTP is so much better than SDES, that I believe we should not encourage continuing deployment of SDES.

Brian



> On Jul 17, 2023, at 5:09 PM, Kyzer Davis (kydavis) <kydavis=40cisco.com@dmarc.ietf.org> wrote:
> 
> Hello Dan,
>  
> I reached out to the MMUSIC chairs (along with AVTCORE Chairs and Dispatch chairs CC’d) 
> MMUSIC felt like it belonged but still wanted the dispatch time since there is no MMUSIC meeting at 117.
>  
> To address a few other statements:
>  
> > I would like to understand where EKT-SRTP (RFC8870) fails to meet needs.  
> I think EKT-SRTP does a great job. That is, if we are using DTLS-SRTP. I am only aiming to do the same for SDP Security (SDES).
>  
> > I would rather see RFC8870 extended to work with SDP Security Descriptions because it moves us on a path towards DTLS-SRTP:  DTLS-SRTP-signaled endpoints could interop with SDP Security Descriptions-signaled endpoints because they're both using EKT to handle SSRC/ROC and key changes when group membership changes.  
> I believe you are referencing the act of an SBC/B2BUA interoperating SDP Security and DTLS-SRTP w/EKT?
> I found some older EKT-SRTP drafts that I think are the topic:
> https://www.ietf.org/archive/id/draft-mcgrew-srtp-ekt-06.html#anchor6
> https://www.ietf.org/archive/id/draft-mcgrew-srtp-ekt-06.html#anchor21
>  
> One point discussed in there was “SDP Security Descriptions however does not negotiate SSRCs and their associated Rollover Counter (ROC). Instead, SDES relies on a so-called "late binding", where a newly observed SSRC will have its crypto context initialized to a ROC value of zero. Clearly, this does not work for participants joining an SRTP session that has been established for a while and hence has a non-zero ROC.”
>  
> If that is the point then I agree; having the SSRC, ROC, SEQ in SDES/SDP security could allow for an intermediary to easily interwork SDES<>DTLS-EKT-SRTP.
> Note: I would need to audit EKT-SRTP to see if there is anything else SDES is missing that could help that Key Management Interworking.
>  
> > We really should be deprecating SDP Security Descriptions because it has far worse security properties compared with DTLS-SRTP.
> I also know SDP as a means for conveying keying material for SRTP isn't exactly the best method in the grand scheme when compared to the other available options.
> That being said, there are many millions of devices across different vendors still using SDP Security as the SRTP key management protocol.
> Further, I continue to see more modern internet telephony service providers providing TLS SIP w/SRTP via SDES and the acceleration of cloud registered SIP endpoints utilizing SDP Security. 
> Ignoring the problem that could positively affect so many does not seem like the right thing to do.
>  
> Other:
> I started an audit of various enterprise, cloud and service provider offerings to compare MIKEY, DTLS-SRTP, EKT-SRTP, and SDP Security but I will not be able to finish this by the time for dispatch so I have dropped the slide. I can create a wiki page on the drafts GitHub if the group wants to help crowdsource a “Current State of SRTP Key Management Protocol offerings in 2023”. Similarly, if a similar study already exists I would love to give it a read.
>  
> Lastly, I have a WIP draft-01 which provides an alternative solution to draft-00’s a=srtpctx SDP attribute.
> The alternative solution reuses the sdp security session parameter postfix options to convey SSRC, ROC, SEQ. 
> https://www.iana.org/assignments/sdp-security-descriptions/sdp-security-descriptions.xhtml#sdp-security-descriptions-4
> I plan to have a slide on both solutions for the dispatch discussion.
>  
> Thanks,
>  
> From: Dan Wing <danwing@gmail.com <mailto:danwing@gmail.com>> 
> Sent: Monday, July 17, 2023 3:41 PM
> To: dispatch@ietf.org <mailto:dispatch@ietf.org>
> Cc: Kyzer Davis (kydavis) <kydavis@cisco.com <mailto:kydavis@cisco.com>>; Robert Sparks <rjsparks@nostrum.com <mailto:rjsparks@nostrum.com>>; mmusic@ietf.org <mailto:mmusic@ietf.org>
> Subject: draft-davis-valverde-srtp-assurance [was: Re: [dispatch] IETF 117 - do you have something for DISPATCH?]
>  
> Yeah, it feels like draft-davis-valverde-srtp-assurance could go straight to MMUSIC.
>  
> The I-D needs to discuss what happens when SSRC collision occurs, which I think is "send new SDP indicating the new SSRC and ROC=0".
>  
> I would like to understand where EKT-SRTP (RFC8870) fails to meet needs.  The design of EKT-SRTP avoids signaling SSRC or ROC in the signaling channel and, instead, allow them both to be indicated in the SRTP channel itself.  This design allows SSRC collisions to be handled very much like how they are handled with RTP (that is, without the "S").  I would rather see RFC8870 extended to work with SDP Security Descriptions because it moves us on a path towards DTLS-SRTP:  DTLS-SRTP-signaled endpoints could interop with SDP Security Descriptions-signaled endpoints because they're both using EKT to handle SSRC/ROC and key changes when group membership changes.  We really should be deprecating SDP Security Descriptions because it has far worse security properties compared with DTLS-SRTP.
>  
> -d
>  
> 
> 
> Hi Kyzer (et. al.) -
>  
> Why aren't you taking this straight to mmusic? Am I missing something 
> that says that's not the obvious place for the work?
>  
> RjS
>  
>  
> On 6/27/23 7:31 AM, Kyzer Davis (kydavis) wrote:
> > 
> > Hello,
> > 
> > I would like to request a bit of dispatch time for the draft just posted:
> > 
> > https://datatracker.ietf.org/doc/draft-davis-valverde-srtp-assurance/
> > 
> > I also plan to attend IETF 117 in person to represent.
> > 
> > Thanks,
> > 
>  
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org <mailto:dispatch@ietf.org>
> https://www.ietf.org/mailman/listinfo/dispatch