Re: [Tsv-art] [Ext] Tsvart last call review of draft-hoffman-dns-in-json-14

Paul Hoffman <paul.hoffman@icann.org> Sat, 28 April 2018 20:54 UTC

Return-Path: <paul.hoffman@icann.org>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E89A41200C5; Sat, 28 Apr 2018 13:54:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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 VDFqxgvp_msf; Sat, 28 Apr 2018 13:54:39 -0700 (PDT)
Received: from out.west.pexch112.icann.org (pfe112-ca-2.pexch112.icann.org [64.78.40.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 465BD1200A0; Sat, 28 Apr 2018 13:54:39 -0700 (PDT)
Received: from PMBX112-W1-CA-1.pexch112.icann.org (64.78.40.21) by PMBX112-W1-CA-2.pexch112.icann.org (64.78.40.23) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Sat, 28 Apr 2018 13:54:37 -0700
Received: from PMBX112-W1-CA-1.pexch112.icann.org ([64.78.40.21]) by PMBX112-W1-CA-1.PEXCH112.ICANN.ORG ([64.78.40.21]) with mapi id 15.00.1178.000; Sat, 28 Apr 2018 13:54:37 -0700
From: Paul Hoffman <paul.hoffman@icann.org>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>, Amanda Baber <amanda.baber@iana.org>
CC: "tsv-art@ietf.org" <tsv-art@ietf.org>, "draft-hoffman-dns-in-json.all@ietf.org" <draft-hoffman-dns-in-json.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "drafts-eval@iana.org" <drafts-eval@iana.org>
Thread-Topic: [Ext] Tsvart last call review of draft-hoffman-dns-in-json-14
Thread-Index: AQHT297TBDx5NIQEYk6ZXVFKGez+PqQQhWsAgAEBJ4CABZ1DgA==
Date: Sat, 28 Apr 2018 20:54:35 +0000
Message-ID: <AB258080-6BA7-427B-83F1-1DE6DC9D515D@icann.org>
References: <152458281508.28916.6332509153215192043@ietfa.amsl.com> <8D78B054-EF0D-4DEF-96D6-CF5D5B6045F9@icann.org> <28cb67ef-03ff-37c1-64d3-612da944d304@ericsson.com>
In-Reply-To: <28cb67ef-03ff-37c1-64d3-612da944d304@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [192.0.32.234]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <5B5CE046E452624FA7E76D97B544209F@pexch112.icann.org>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/UuZB72J8D-kg7IlGY5cEMcP1Iu4>
Subject: Re: [Tsv-art] [Ext] Tsvart last call review of draft-hoffman-dns-in-json-14
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Apr 2018 20:54:42 -0000

This message goes along with the -15 draft I just submitted. The diffs are at:
   https://www.ietf.org/rfcdiff?url2=draft-hoffman-dns-in-json-15

--Paul Hoffman

On Apr 25, 2018, at 12:10 AM, Magnus Westerlund <magnus.westerlund@ericsson.com> wrote:
> Den 2018-04-24 kl. 17:50, skrev Paul Hoffman:
>> On Apr 24, 2018, at 8:13 AM, Magnus Westerlund <magnus.westerlund@ericsson.com> wrote:
>>> Reviewer: Magnus Westerlund
>>> Review result: Ready with Issues
>>> 
>>> I've reviewed this document as part of TSV-ART's ongoing effort to
>>> review key IETF documents. These comments were written primarily for
>>> the transport area directors, but are copied to the document's authors
>>> for their information and to allow them to address any issues raised.
>>> Please always CC tsv-art at ietf.org if you reply to or forward this
>>> review.
>>> 
>>> Sorry for the late review. Looking at the document I did not find any
>>> "transport" issues but another issue and some nits that I like to raise.
>>> 
>>> Issue:
>>> 
>>> Security Consideration
>>> 
>>> I am missing a reference or discussion to that the contained values in this
>>> format likely contain privacy sensitive information if it can be linked to who
>>> the requester is.
>> It is no more likely in this format than in any format that can be used for traffic logs. If there is a profile of this format that is to be used for traffic between an individual and a server, a privacy consideration in that profile could be warranted.
> 
> Exactly, it is the usage of this format that determines if it will be privacy sensitive or not. Thus, I think there is a need to note this possibility, and note that it is up to the profile / usage definition of this format to define what safe guards are needed. But, I think it is necessary to spend a paragraph to be explicit about the potential risk.

Got it. I added a Privacy Considerations section that includes that, with an example.

>>> Nits:
>>> 
>>> Section 2.5:
>>> 
>>>   o  dateString - The date that the message was sent or received, given
>>>      as a string in the standard format described in [RFC3339], as
>>>      refined by Section 3.3 of [RFC4287]
>>> 
>>> Why isn't RFC3339 and RFC4287 includes as normative references for this
>>> specification. The above quote indicates that it would be required to look at
>>> these RFCs to implement handling of this value?
>> Given that all fields for this format are optional, I had a hard time deciding whether things like this would be normative or informative. I can move those refs after the IESG review.
> 
> To my understanding is that all things this specification defines, including optional fields or features where one needs to read/understand the reference is a normative reference.

Done. 

>>> Section 2.5:  I wondered over this definition:
>>> 
>>>   o  dateSeconds - The date that the message was sent or received,
>>>      given as the number of seconds since 1970-01-01T00:00Z in UTC
>>>      time; this number can be fractional
>>> 
>>> It is not clear from how it is written, but I assume the format for this is a
>>> JSON number, i.e. as defined in Section 6 of rfc8259?
>> Yes.
>> 
>>> Searching the document,
>>> this appears to be the only defined value that uses numbers, is that correctly
>>> noted?
>> No. Almost everything in Section 2.1 (including the booleans!) are numbers.
> 
> This is not that clear. At least not to me. I have limited experience with JSON so I try to understand what is written rather than implicit.
> 
>   o  All members whose values that are always 16 bits or shorter are
>      represented by JSON integers.  One-bit values are represented as
>      JSON booleans.
> 
> There are no definition of JSON integers in RFC 8259 that I can find.
> There is a single mention of integers in the Numbers section.
> 
> So maybe that needs to be defined so that it is clear.

No; instead, I (and every JSON-capable person reading the document) didn't realize that when the draft said "JSON integer" and "JSON boolean" for the past few years that it was just talking jibberish. I fixed this to be clear that they are all JSON numbers, and what the limitations of those numbers are.

Side note to everyone: ***this*** is exactly why having external-to-the-clique reviews of Internet Drafts is valuable in the IETF.


>>> Considering that fractional seconds, and the potential for overflow. Any
>>> notes in the context of DNS representation about how small fractional values
>>> that can be represented?
>> This is a matter for JSON (and thus RFC 8259), not for this format, I believe.
>> 
> 
> My view is that if there is an underlying limitation to this field value, then it would make sense to make that explicit, even if the JSON representation has no such limitation. You had no issue doing that limitation when it the field is a 16-bit unsigned integer for example. Also, it is a question if this encoding of the DNS message accepts loss of precision in the field's value. And that I can't judge I don't understand the utilization of this field to comment on it.

Yep, I agree.

On Apr 27, 2018, at 5:53 PM, Amanda Baber via RT <drafts-eval@iana.org> wrote:

> I don't have any insight into whether this is required, but it should be noted that the media type template in the IANA Considerations section doesn't include the "Fragment identifier considerations" and "Deprecated alias names for this type" fields introduced in RFC 6838.

"Fragment identifier considerations" does seem required, but "Deprecated alias names for this type" is an optional subfield of "Notes".