Re: [dns-privacy] New Version Notification for draft-zatda-dprive-xfr-using-dso-00.txt

Tony Finch <dot@dotat.at> Wed, 10 July 2019 17:09 UTC

Return-Path: <dot@dotat.at>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3CF5120203 for <dns-privacy@ietfa.amsl.com>; Wed, 10 Jul 2019 10:09:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_NONE=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 tmF17OzGxwmq for <dns-privacy@ietfa.amsl.com>; Wed, 10 Jul 2019 10:09:49 -0700 (PDT)
Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) (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 03B381200FE for <dns-privacy@ietf.org>; Wed, 10 Jul 2019 10:09:48 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from grey.csi.cam.ac.uk ([131.111.57.57]:57416) by ppsw-41.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1hlG6C-001Y98-Sd (Exim 4.92) (return-path <dot@dotat.at>); Wed, 10 Jul 2019 18:09:44 +0100
Date: Wed, 10 Jul 2019 18:09:44 +0100
From: Tony Finch <dot@dotat.at>
To: Sara Dickinson <sara@sinodun.com>
cc: Tom Pusateri <pusateri@bangj.com>, dns-privacy@ietf.org
In-Reply-To: <8C85482B-6409-4477-A8EF-275BA89AB952@sinodun.com>
Message-ID: <alpine.DEB.2.20.1907101757580.9441@grey.csi.cam.ac.uk>
References: <156260792242.808.508025353392512987.idtracker@ietfa.amsl.com> <E2CC956E-C409-46CC-881A-0C9D900C6EFC@sinodun.com> <067DCFB0-2549-4C0F-BE84-CEE85D32F5A8@bangj.com> <8C85482B-6409-4477-A8EF-275BA89AB952@sinodun.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Content-Type: multipart/mixed; BOUNDARY="1870870841-552823121-1562778491=:9441"
Content-ID: <alpine.DEB.2.20.1907101808210.9441@grey.csi.cam.ac.uk>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/4U4oGRrmv3Z6OOdmR5ONzxgCnmk>
Subject: Re: [dns-privacy] New Version Notification for draft-zatda-dprive-xfr-using-dso-00.txt
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Jul 2019 17:09:59 -0000

Tom Pusateri <pusateri@bangj.com> wrote:
>
> In 7.1.1.1, there is mention of efficiently packing stream data into
> TCP segments. This is also in the PUSH draft but I think it should be
> removed from there and from here as well because once the data is
> encoded in a TLS session, it’s much more difficult for the sender to
> have control over the size of TCP segments sent.

I think the right abstraction here is operating system write() or send()
calls, since you can't normally control segmentation in detail except that
short writes usually lead to short packets. e.g. (covering both TCP and
TLS):

                           Since SUBSCRIBE-XFR requests are sent
   over TCP, multiple SUBSCRIBE-XFR DSO request messages can be
   concatenated in a single write call to make efficient use of
   the underlying transport.

... but of course this applies to any DNS messages over TCP or TLS ...

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Shannon: Southwest, veering west or northwest, 4 or 5, occasionally 6 at
first. Moderate, occasionally slight at first in southeast. Occasional rain,
fog patches. Moderate or good, occasionally very poor.