[tram] Review of TURNbis-11

Marc Petit-Huguenin <petithug@acm.org> Sun, 22 October 2017 16:45 UTC

Return-Path: <petithug@acm.org>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E35A139E23 for <tram@ietfa.amsl.com>; Sun, 22 Oct 2017 09:45:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.441
X-Spam-Level:
X-Spam-Status: No, score=-0.441 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no 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 UhmXc0P1tiIe for <tram@ietfa.amsl.com>; Sun, 22 Oct 2017 09:45:51 -0700 (PDT)
Received: from implementers.org (unknown [IPv6:2001:4b98:dc0:45:216:3eff:fe7f:7abd]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1C95139E1F for <tram@ietf.org>; Sun, 22 Oct 2017 09:45:50 -0700 (PDT)
Received: from [IPv6:2601:648:8301:730f:445e:763:74a4:83a9] (unknown [IPv6:2601:648:8301:730f:445e:763:74a4:83a9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "Marc Petit-Huguenin", Issuer "implementers.org" (verified OK)) by implementers.org (Postfix) with ESMTPS id AC93CAE799 for <tram@ietf.org>; Sun, 22 Oct 2017 18:45:48 +0200 (CEST)
To: "tram@ietf.org" <tram@ietf.org>
From: Marc Petit-Huguenin <petithug@acm.org>
Message-ID: <325ddd79-ef98-c8ce-de50-1ef3878cd433@acm.org>
Date: Sun, 22 Oct 2017 09:45:45 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="S5Dp1KaAkOjfLKvSheTtbC90lNdDEH49e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tram/Yt82Xqe6BMiKhWd0-lA5BOUVd7Q>
Subject: [tram] Review of TURNbis-11
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Oct 2017 16:45:52 -0000

This is the second part of my review of TURNbis-11, i.e. everything but the dual allocation part.

- Section 2.1, last paragraph:

May be a reference to RFC 5764 and RFC 7983 can be useful here.  Same in section 4, second paragraph and following.  Same at the beginning of section 11.  Again in section 11.6 (if multiplexed, the message in the reserved range is not necessarily discarded).

- Section 2.2, first paragraph:

I think that an informative reference to RFC 7635 may be useful there, as alternative to the STUN authentication mechanism.

- Section 2.9:

The whole 2.9 section and subsections looks normative and so should be moved after section 3, perhaps on their own top level section.

- Section 4, 4th paragraph:

I would replace "For each allocation..." by "For each Allocate request...", because of the dual allocation feature.

- Section 4, 12th paragraph:

Should make clear clear that UDP covers also DTLS.

- Section 6.1, 2nd paragraph:

If the port is multiplexed with other protocols (RTP, WebRtc, etc..) then it has to reuse an existing socket.  The document should explain this.

- Section 6.2, 3th paragraph:

Is it time to recommend DTLS instead of UDP?  In that case we need to make DTLS mandatory in section 4 paragraph 11 (and I support that change).

- Section 6.4, second bullet:

Replace "...SRV procedures)." with "...DNS resolution procedures)."

- Sections 14, 15 and 16:

These are no longer new methods and attributes.  See also the next comment.

- Section 19:

Here you need to update the existing methods, attributes and error code so the IANA registries point to the RFC-to-be, then you request allocation for the new attributes.  See section 17 of STUNbis on a way to do that (that was done following a discussion with the IANA representative at an IETF meeting). 

Note that ICMP should be comprehension-mandatory, not optional, as we do not want an old client to reject a Data indication with an ICMP attribute.

Also, I do not know what this SendErr method is.


Nits
----

Section 1: 

s/connection to the Internet ./connection to the Internet./

Section 2.4, first paragraph:

The text switches between the words "mechanisms" and "way".  Choose one.

Section 6.2, item 8:

s/ADDITIONAL- ADDRESS-FAMILY/ADDITIONAL-ADDRESS-FAMILY/

Section 12.1, "Preferred Behavior"

s/Label Field[RFC3697]/Label Field [RFC3697]/

Section 21:

s/ADDRESS-ERRR-CODE/ADDRESS-ERR-CODE/

Section 22:

s/orginal/original/

-- 
Marc Petit-Huguenin
Email: marc@petit-huguenin.org
Blog: https://marc.petit-huguenin.org
Profile: https://www.linkedin.com/in/petithug