Re: [rtcweb] Working Group Last Call: draft-ietf-rtcweb-jsep-19.txt

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 24 March 2017 13:23 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F6411296CC for <rtcweb@ietfa.amsl.com>; Fri, 24 Mar 2017 06:23:08 -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 VZI79wqn8YG7 for <rtcweb@ietfa.amsl.com>; Fri, 24 Mar 2017 06:23:06 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 4718712988C for <rtcweb@ietf.org>; Fri, 24 Mar 2017 06:23:06 -0700 (PDT)
X-AuditID: c1b4fb30-3dbff7000000628e-bb-58d51db7e4f2
Received: from ESESSHC024.ericsson.se (Unknown_Domain [153.88.183.90]) by (Symantec Mail Security) with SMTP id 3B.02.25230.7BD15D85; Fri, 24 Mar 2017 14:23:04 +0100 (CET)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.92) with Microsoft SMTP Server id 14.3.319.2; Fri, 24 Mar 2017 14:23:03 +0100
To: Ted Hardie <ted.ietf@gmail.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>, Sean Turner <sean@sn3rd.com>, Cullen Jennings <fluffy@cisco.com>
References: <CA+9kkMBFXv2H4t2cTUo7Uh4DURYMmkG3VDtwxBfbbwg5i8_jfA@mail.gmail.com>
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
Message-ID: <f4f425d4-d2bf-a8dc-d738-db336af1b7af@ericsson.com>
Date: Fri, 24 Mar 2017 14:23:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CA+9kkMBFXv2H4t2cTUo7Uh4DURYMmkG3VDtwxBfbbwg5i8_jfA@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBLMWRmVeSWpSXmKPExsUyM2J7lO4O2asRBv83Slt0TGazWPuvnd3i yqpGZovGuXYOLB5Tfm9k9dg56y67x5IlP5k8Dh5kDGCJ4rJJSc3JLEst0rdL4MqYPvcWU8Ep sYqZMw6yNzBeFexi5OSQEDCRePhyOnsXIxeHkMA6RoldXy5AOcsZJY78fckMUiUs4CNx8fA3 NpCEiEAPUNXyT+wgCSGBAInfM06xgthsAhYSN380soHYvAL2ElMafzN2MXJwsAioSmzu8AMJ iwrESLQs+cAIUSIocXLmExYQm1MgUOLOpadMIOXMQK0PtpaBhJkF5CWat85mhtikLdHQ1ME6 gZF/FpLuWQgds5B0LGBkXsUoWpxanJSbbmSkl1qUmVxcnJ+nl5dasokRGJ4Ht/w22MH48rnj IUYBDkYlHl6DP1cihFgTy4orcw8xSnAwK4nwJktfjRDiTUmsrEotyo8vKs1JLT7EKM3BoiTO 67jvQoSQQHpiSWp2ampBahFMlomDU6qBkUf0w9lTqpusnbfd3JCtvtzE7DvDtqlnnA1/C1gE bDbgDY9QmCptYrrxbjj7m/+Oras37ZT6d+iy4UczrRceZV8Y0yyTp+768NOaiSOk3DrsxF93 xz8sPhky/8Na5oZvCbmU4CQX8cg+tS1c8stH1+mTbhy6HFdoKnJY6f03/dyFK3bZxNZ9U2Ip zkg01GIuKk4EAE+d5R9LAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/Ua_Pv38ci01ABma7NQY20cY3JlA>
Subject: Re: [rtcweb] Working Group Last Call: draft-ietf-rtcweb-jsep-19.txt
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Mar 2017 13:23:08 -0000

Hi,

I have reviewed the changes in the JSEP-19 document. For Appendix B see 
separate email.

1. The deleting of the "implementation requirements" (previously in 
5.1.1) makes me wonder if the "usage requirements" and specifically the 
bullets in the current 5.1.1 is actually needed. What I can see this is 
a 2119 normative rehashing of requirements that already exist elsewhere 
in the RTCWeb document suite.

    All session descriptions handled by JSEP implementations, both local
    and remote, MUST indicate support for the following specifications.
    If any of these are absent, this omission MUST be treated as an
    error.

The above actually make some sense to ensure that these features are 
negotiated.


    o  ICE, as specified in [RFC5245], MUST be used.  Note that the
       remote endpoint may use a Lite implementation; implementations
       MUST properly handle remote endpoints which do ICE-Lite.

Transport specification does not mandate use of ICE, only support. But, 
the MUST be used in this paragraph, appears to be unnecessary. This due 
the above paragraph. Which results in either a received offer indicates 
ICE or one rejects it, and one must include it in those one offers. 
Which will result in usage.

But, I don't think it actually is JSEP's role to mandate use of other 
than how the "signalling" element in the API surface is to be treated.


    o  DTLS [RFC6347] or DTLS-SRTP [RFC5763], MUST be used, as
       appropriate for the media type, as specified in
       [I-D.ietf-rtcweb-security-arch]

This is also double specification in the "MUST be used" as that is clear 
from the sec-arch document in section 5.5. that it must be used.


    The SDES SRTP keying mechanism from [RFC4568] MUST NOT be used, as
    discussed in [I-D.ietf-rtcweb-security-arch].

Also covered in Section 5.5. of Sec-ARCH.



2. Section 5.1.2:

    o  The profile in any "m=" line in any answer MUST exactly match the
       profile provided in the offer.

    o  Any profile matching the following patterns MUST be accepted:
       "RTP/[S]AVP[F]" and "(UDP/TCP)/TLS/RTP/SAVP[F]"

These two are in conflict in cases when the answer to an 
"UDP/TLS/RTP/SAVPF" offer comes back as UDP/TLS/RTP/SAVP. Then the first 
can't be fulfilled, but the second is. Isn't the rule "It either is an 
exact match or matches the following patterns"?


Cheers

Magnus Westerlund

----------------------------------------------------------------------
Media Technologies, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------