Re: [MMUSIC] Default proto transport in JSEP

Roman Shpount <roman@telurix.com> Wed, 21 November 2018 01:25 UTC

Return-Path: <roman@telurix.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 A77AB130E18 for <mmusic@ietfa.amsl.com>; Tue, 20 Nov 2018 17:25:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.com
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 qy3CvMswWURp for <mmusic@ietfa.amsl.com>; Tue, 20 Nov 2018 17:25:23 -0800 (PST)
Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6FB1112896A for <mmusic@ietf.org>; Tue, 20 Nov 2018 17:25:23 -0800 (PST)
Received: by mail-pl1-x634.google.com with SMTP id b22-v6so2926797pls.7 for <mmusic@ietf.org>; Tue, 20 Nov 2018 17:25:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ip5GKlJK+Tvv3UFKISb/OTXCKx3eEfj7KBfBZfJCGzE=; b=B1JY3cSS4gMDA2Myv2lUAQh1habtsQdvDbD2Xm+KyiOc3Hxv1IRZSU1/Zt/oHv7frp I9N+LYesi5CFTvlEKtQgKHzpBB3ELE+TX2pCXArvhjq9FM1oc5x2fDLeWRF/jxIn+ukJ wb4dpO0OzIRGhkQx/djoFTkAHN9r+Xq4PhypAmqK+iOQkAcEA994rxe85fXtlTqp3umh 8+WMKIUyzXBpoVWl6onirK4t/qnnHbXaIv+rOg2up/3U0RpXoLIxmdIhMTpTQ6ZjU6Vc tUN0B0f5tm3V6HrNu8qU7jlEhrgTEergCYRuT+Q7WTXCkw6mVoQ72VmWDH62PUavV8lV +P2w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ip5GKlJK+Tvv3UFKISb/OTXCKx3eEfj7KBfBZfJCGzE=; b=gB69nXn7zTKo+nRhzlncIUEMI0WYp1iBXdwAXL5o6aaHDLyidffI610R6Nbc+Qik1j bOrcuCN0jroVGIPdnVNjplXXDzJgifbI/mDPIuFbuWoPn9mlDr92DO1+mJNwNwzNTcyN hvbDkxNhkTMOdpbNAjKjquTK+p4tWbsar/0okq0fnJZKDb5SwiliiFTUWwkjx28HgozW bsSsPZWJPp8EhXOZULZ+fm1Xb32HUwZFASSDwTpPtHoxLfBCoZKJNEwrmkooL+o6w9I4 J6JpdLpO6a75NpUtzcUJuBYr6o9MzsHGIAwFqoHIXIz2YJqR3NULZy4RY9M7DDqe6oTc blxQ==
X-Gm-Message-State: AA+aEWYvtbiybSPzDING1J+RgECYx1K+ANKPBhZ+gc4900virvMRLug5 qrSeiNdDJOpwHAoAmJgsNsHJ5w==
X-Google-Smtp-Source: AFSGD/Ujp0vqjxzAohXxrA/0uq/LrBHwfarxOxfJxlVkI/JUpRI+HfB43WdmeolaXw4QyMlFPzpM3w==
X-Received: by 2002:a63:8c2:: with SMTP id 185mr4177162pgi.26.1542763522887; Tue, 20 Nov 2018 17:25:22 -0800 (PST)
Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com. [209.85.214.181]) by smtp.gmail.com with ESMTPSA id l3sm50711091pga.92.2018.11.20.17.25.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 17:25:21 -0800 (PST)
Received: by mail-pl1-f181.google.com with SMTP id gn14so2932853plb.10; Tue, 20 Nov 2018 17:25:21 -0800 (PST)
X-Received: by 2002:a17:902:2f03:: with SMTP id s3mr4206945plb.277.1542763521468; Tue, 20 Nov 2018 17:25:21 -0800 (PST)
MIME-Version: 1.0
References: <CA+9kkMADnZJBaV0hfLuwGU0bGBEP5tCPZ=8Zd_85Dgzi37ghAQ@mail.gmail.com> <CAD5OKxsNFFmER__H0+5Mzts58yn9cWLMEADhSnLR4nreKD9WAQ@mail.gmail.com> <9B9B741B-622F-4565-899B-700636408F6C@iii.ca>
In-Reply-To: <9B9B741B-622F-4565-899B-700636408F6C@iii.ca>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 20 Nov 2018 20:25:11 -0500
X-Gmail-Original-Message-ID: <CAD5OKxv9r08RLvMSM4h11A6sXU9E=u_8Qvy-TBfjNcwkhcqf3w@mail.gmail.com>
Message-ID: <CAD5OKxv9r08RLvMSM4h11A6sXU9E=u_8Qvy-TBfjNcwkhcqf3w@mail.gmail.com>
To: Cullen Jennings <fluffy@iii.ca>
Cc: RTCWeb IETF <rtcweb@ietf.org>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ab6d8a057b229f8c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/b-bzdz1wHXORLiLYzA3Dn4ff6ok>
Subject: Re: [MMUSIC] Default proto transport in JSEP
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 21 Nov 2018 01:25:26 -0000

On Tue, Nov 20, 2018 at 7:10 PM Cullen Jennings <fluffy@iii.ca> wrote:

>
> Sounds like the ice-sip-sdp draft has not concerned itself much with
> working with the existing deployed endpoint which treat 0.0.0.0 as a hold
> indicator. I think the JSEP solution will work much better in practice.
>
> This is discussed a bit in
> https://tools.ietf.org/html/rfc6337#section-5.4
>
>
I am familiar with IP4 0.0.0.0 hold and issues it has with ICE, DTLS-SRTP,
and recently trickle ICE. The ice-sip-sdp draft did not break anything new.
All of this was broken in RFC 5245. None of these new protocols work with
endpoints which treat 0.0.0.0 as a hold indicator since all of them need
media addresses of both endpoints in order to work. End point cannot use
0.0.0.0 to create a send only stream. Both addresses are still needed to
creat it. All of these new protocols assume that endpoints use
a=sendonly/a=inactive instead of 0.0.0.0. This is not a major problem in
practice, since end points which use 0.0.0.0 hold, do not use ICE or
DTLS-SRTP at the same time. These end points will put 0.0.0.0 and will not
put candidate or fingerprint attributes for this m= line, which avoids the
conflict.

If we are being pedantic, it was trickle ICE that decided to re-use 0.0.0.0
hold for other purposes. The ice-sip-sdp simply added that if default
candidate is set to 0.0.0.0 and UDP port 9, ICE mismatch is never
triggered, which has no effect on using 0.0.0.0 for hold. This language was
added to make ice-sip-sdp implementations to be compatible with future
trickle ICE implementations.

Also, if you are concerned with breaking changes, sdp-bundle changed using
port 0 for disabled m= lines, which will likely break a lot of B2BUA, since
B2BUA often drop all the attributes from disabled ports.

Regards,
_____________
Roman Shpount