Re: [DNSOP] Martin Stiemerling's Yes on draft-ietf-dnsop-5966bis-05: (with COMMENT)

Sara Dickinson <sara@sinodun.com> Wed, 06 January 2016 12:16 UTC

Return-Path: <sara@sinodun.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A561E1ACF5E; Wed, 6 Jan 2016 04:16:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 eVa9faXG2HEx; Wed, 6 Jan 2016 04:16:58 -0800 (PST)
Received: from shcp01.hosting.zen.net.uk (shcp01.hosting.zen.net.uk [88.98.24.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 75C9A1ACF09; Wed, 6 Jan 2016 04:16:55 -0800 (PST)
Received: from [62.232.251.194] (port=3970 helo=virgo.sinodun.com) by shcp01.hosting.zen.net.uk with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85) (envelope-from <sara@sinodun.com>) id 1aGn1F-0005M1-Bw; Wed, 06 Jan 2016 12:16:50 +0000
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Sara Dickinson <sara@sinodun.com>
In-Reply-To: <20160105221133.20947.98942.idtracker@ietfa.amsl.com>
Date: Wed, 06 Jan 2016 12:16:51 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <3C18C03A-ACCB-42B7-8351-C6539DACB278@sinodun.com>
References: <20160105221133.20947.98942.idtracker@ietfa.amsl.com>
To: Martin Stiemerling <mls.ietf@gmail.com>
X-Mailer: Apple Mail (2.3112)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - shcp01.hosting.zen.net.uk
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - sinodun.com
X-Get-Message-Sender-Via: shcp01.hosting.zen.net.uk: authenticated_id: sara+sinodun.com/only user confirmed/virtual account not confirmed
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/jmWtiyqZvE9P4HFUzSorge3T61U>
Cc: tjw.ietf@gmail.com, dnsop@ietf.org, draft-ietf-dnsop-5966bis@ietf.org, dnsop-chairs@ietf.org, The IESG <iesg@ietf.org>
Subject: Re: [DNSOP] Martin Stiemerling's Yes on draft-ietf-dnsop-5966bis-05: (with COMMENT)
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Jan 2016 12:16:59 -0000

> On 5 Jan 2016, at 22:11, Martin Stiemerling <mls.ietf@gmail.com> wrote:
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> One comment and request for clarification:
> 
> In the first paragraph of Section 8:
> "   DNS clients and servers SHOULD pass the two-octet length field, and
>   the message described by that length field, to the TCP layer at the
>   same time (e.g., in a single "write" system call) to make it more
>   likely that all the data will be transmitted in a single TCP segment.
>   This is both for reasons of efficiency and to avoid problems due to
>   some DNS server implementations behaving undesirably when processing
>   TCP segments (due to a lack of clarity in previous standards).  For
>   example, some DNS server implementations might abort a TCP session if
>   the first TCP segment does not contain both the length field and the
>   entire message.
> "
> 
> This paragraphs says that DNS servers process segments. This is slightly
> inaccurate, at least under the assumption that DNS clients and servers
> are user land processes. 
> Such a user land process does not see segments but data being read or
> written to the sockets. And such data might be one or multiple segments
> concatenated. 
> 
> I do understand the text, but I would like to propose a change (though
> the proposed text might not be perfect):
> 
>   This is both for reasons of efficiency and to avoid problems due to
>   some DNS server implementations behaving undesirably when reading
>   data from TCP  (due to a lack of clarity in previous standards).  For
>   example, some DNS server implementations might abort a TCP session if
>   the first data part read from TCP does not contain both the length
> field and the
>   entire message.

Yes, this is better. To be consistent with the rest of the wording in that section, I would propose minor tweaks:

 “This is both for reasons of efficiency and to avoid problems due to
  some DNS server implementations behaving undesirably when reading
  data from the TCP layer (due to a lack of clarity in previous standards).  For
  example, some DNS server implementations might abort a TCP session if
  the first “read" from the TCP layer does not contain both the length
  field and the entire message."

WDYT?

Sara.