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

Magnus Westerlund <magnus.westerlund@ericsson.com> Wed, 02 May 2018 15:43 UTC

Return-Path: <magnus.westerlund@ericsson.com>
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 73FC112D945 for <tsv-art@ietfa.amsl.com>; Wed, 2 May 2018 08:43:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 nBtT9Clfhgsx for <tsv-art@ietfa.amsl.com>; Wed, 2 May 2018 08:43:24 -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 40F2812D948 for <tsv-art@ietf.org>; Wed, 2 May 2018 08:43:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1525275798; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cK7pNlpeUuXtdEXzcBkegM5lGPxXDxphms70yge2G18=; b=UiVj8YkRyBji9PBBlr+uIzvnA4Fqyv0GH41lgI53vvAM0j6/em2qEod0Fc2iJxr5 sok1a1nf2YtSRreu8pKWHNlP0i7Bpc0Qo6Z6T1sQfhE6h+vpv/0xnO/b/ZglBeN/ +2DLaqYyOSM/Yt28XsfrgyvCjcMDzU/cNlJb1QcCdsM=;
X-AuditID: c1b4fb30-4c8039c000007681-2f-5ae9dc965c20
Received: from ESESSHC008.ericsson.se (Unknown_Domain [153.88.183.42]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id CA.3B.30337.69CD9EA5; Wed, 2 May 2018 17:43:18 +0200 (CEST)
Received: from [100.94.44.120] (153.88.183.153) by smtps.internal.ericsson.com (153.88.183.42) with Microsoft SMTP Server (TLS) id 14.3.382.0; Wed, 2 May 2018 17:42:19 +0200
To: Paul Hoffman <paul.hoffman@icann.org>, 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>
References: <152458281508.28916.6332509153215192043@ietfa.amsl.com> <8D78B054-EF0D-4DEF-96D6-CF5D5B6045F9@icann.org> <28cb67ef-03ff-37c1-64d3-612da944d304@ericsson.com> <AB258080-6BA7-427B-83F1-1DE6DC9D515D@icann.org>
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
Message-ID: <62363c90-ef76-13b7-952b-f56c96f874bb@ericsson.com>
Date: Wed, 02 May 2018 17:42:19 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <AB258080-6BA7-427B-83F1-1DE6DC9D515D@icann.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: sv
X-Originating-IP: [153.88.183.153]
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDLMWRmVeSWpSXmKPExsUyM2K7lu60Oy+jDM7cNbGYu9fNYtLeqawW qx9vY7V4tnE+i0XvpCeMFrP2LGJxYPPokfc4fOE+i8eSJT+ZApijuGxSUnMyy1KL9O0SuDIu H2xiLjhrWLGx4ztTA+N/9S5GTg4JAROJN7NOMncxcnEICRxhlFjddJ4VJCEksJFR4ulueRBb WMBL4u6v52BxEYFAiWXnTrKBNDALXGKUWHevjRWi+z6jxNGph5hAqtgELCRu/mhkA7F5Bewl fuy5BWRzcLAIqEgs6dcCCYsKxEj8ONrFAlEiKHFy5hMWkBJOAVuJRTN1QUxmoM4HW8tAKpgF 5CW2v53DDGGLSJy8fJ8Z4kxtiYamDlaIX5Qkrs+7zjKBUWgWkqGzECbNQjJpFpJJCxhZVjGK FqcWJ+WmGxnppRZlJhcX5+fp5aWWbGIExsHBLb8NdjC+fO54iFGAg1GJh9fs1MsoIdbEsuLK 3EOMEhzMSiK8KzueRQnxpiRWVqUW5ccXleakFh9ilOZgURLntfDbHCUkkJ5YkpqdmlqQWgST ZeLglGpg9PuhwHs9dGcfq/VzMSOl8ht8y6/2hKeIn3rewhFccO3svdm7HBISDtrbq5Z+czG4 v9E0+Nn96vp0vvalXH8qRP0E1CdvfuD28uIcj2Xq88xYGz8azbb+tjiyc65xQP0Zm9Too2a7 hE4cf9Kvw/kkZFZv+8F9Sc8tZbxMkpc7Kj28VTiRRz1ciaU4I9FQi7moOBEAGhRCzn8CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/gC9fIS04QcJZSU48pvQ0F_RRgSU>
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: Wed, 02 May 2018 15:43:26 -0000

Thanks Paul,

This addresses my comments.

Cheers

Magnus Westerlund


Den 2018-04-28 kl. 22:54, skrev Paul Hoffman:
> 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".
>

-- 

Magnus Westerlund

----------------------------------------------------------------------
Network Architecture & Protocols, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------