Re: [DNSOP] On some terminology in draft-ietf-dnsop-respsize (truncation)

Paul Vixie <paul@redbarn.org> Mon, 03 March 2014 18:46 UTC

Return-Path: <paul@redbarn.org>
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 C9B141A032A for <dnsop@ietfa.amsl.com>; Mon, 3 Mar 2014 10:46:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] 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 5_PXrw2Pa4Ed for <dnsop@ietfa.amsl.com>; Mon, 3 Mar 2014 10:46:25 -0800 (PST)
Received: from ss.vix.su (ss.vix.su [24.104.150.2]) by ietfa.amsl.com (Postfix) with ESMTP id D478C1A0333 for <dnsop@ietf.org>; Mon, 3 Mar 2014 10:46:24 -0800 (PST)
Received: from [IPv6:2001:559:8000:cb:83a:2688:c73e:46f9] (unknown [IPv6:2001:559:8000:cb:83a:2688:c73e:46f9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ss.vix.su (Postfix) with ESMTPSA id 1BBA6EBD8C; Mon, 3 Mar 2014 18:46:22 +0000 (UTC) (envelope-from paul@redbarn.org)
Message-ID: <5314CE01.3030806@redbarn.org>
Date: Mon, 03 Mar 2014 10:46:25 -0800
From: Paul Vixie <paul@redbarn.org>
User-Agent: Postbox 3.0.9 (Windows/20140128)
MIME-Version: 1.0
To: David Conrad <drc@virtualized.org>
References: <20140303105138.GA3875@laperouse.bortzmeyer.org> <53149C57.1040105@redbarn.org> <C9C88C7D-E43E-4687-961F-980A4839F561@virtualized.org>
In-Reply-To: <C9C88C7D-E43E-4687-961F-980A4839F561@virtualized.org>
X-Enigmail-Version: 1.2.3
Content-Type: multipart/alternative; boundary="------------090703020305050900020603"
Archived-At: http://mailarchive.ietf.org/arch/msg/dnsop/MCDeUtIrKKsmm0ia-_S9Fb7Lw9I
Cc: "dnsop@ietf.org WG" <dnsop@ietf.org>
Subject: Re: [DNSOP] On some terminology in draft-ietf-dnsop-respsize (truncation)
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: <http://www.ietf.org/mail-archive/web/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: Mon, 03 Mar 2014 18:46:27 -0000


David Conrad wrote:
> On Mar 3, 2014, at 3:14 PM, Paul Vixie <paul@redbarn.org
> <mailto:paul@redbarn.org>> wrote:
>> are you advising (by implication) that a receiver who hears TC=1 with
>> ANCOUNT>0 or NSCOUNT>0 or ADCOUNT>0 treat it as a FORMERR?
>
> Hmm.
>
> I always assumed that if TC=1, pretty much everything else in the
> response was irrelevant since I would be unable to trust what was
> there was complete. So I'd say 'no' and I don't see any ambiguity....

i know of code that's in widespread use which assumes that TC=1 means
that the last non-empty section was damaged but that it is safe to cache
anything found in earlier sections. this code is clearly wrong-headed,
but as i said, is in wide-spread use.

a protocol clarification (not a change, which dnsop can't by charter
make) might be that a sender should send empty response, authority, and
additional sections when setting TC=1, and that a receiver must act as
if the response, authority, and additional sections are empty if it sees
TC=1.

vixie