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

Joe Abley <jabley@hopcount.ca> Tue, 04 March 2014 13:08 UTC

Return-Path: <jabley@hopcount.ca>
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 801EA1A017B for <dnsop@ietfa.amsl.com>; Tue, 4 Mar 2014 05:08:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 i1v5brIhTSD2 for <dnsop@ietfa.amsl.com>; Tue, 4 Mar 2014 05:08:46 -0800 (PST)
Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id B9AB71A0176 for <dnsop@ietf.org>; Tue, 4 Mar 2014 05:08:45 -0800 (PST)
Received: by mail-we0-f169.google.com with SMTP id w62so3102425wes.14 for <dnsop@ietf.org>; Tue, 04 Mar 2014 05:08:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hopcount.ca; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=sVmeghCXzETzJwhnXeybFlcK/hmWFPKasiUiZ/ahak0=; b=Y7etvngD4+lxe2BbcCcf0iyPMtA93aip/0ZicdWouBxBD6e4yiVf8M/oaYTJMpv11j MIvn+i7KnMjBXaljoy4In/tL6DEcSJewmB9s6JA2X2sIQmVFK1GpaK5ObSMr8j6A2fKl 8ItN3iRpOKhM9gZPHcoj6jliFxDjHCJ+Eq8UE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=sVmeghCXzETzJwhnXeybFlcK/hmWFPKasiUiZ/ahak0=; b=PvAQa3QM8I8GxluLHu34trFeSDfem/lPLK2rk/jCUCf4Ywsmn+bmHsHA5flaKJB/3k HWDztBXtWY4ZK4trOP2ZEMzVchHxUtSjTvJXTu2z75NiJ7sD5Tx2PyQj3aiXlzwpOyxu cXyFYudpbuTllue6L6VmEN89aQLdJkxE0BOsak1nTZc+UoTVJpKWPKIebDbudXVEAIKv g7UrDFUq1edOlURGS5Rt/8ZwTMjqJoyCToabP+gU3s6jh4FNf7/XI3oaIag7L2YYLfL6 bR5pVWOUxEtkp1/COe2Pos7/4h92fjj6SSdJJaDZiLr6mX32sG6iUlbo9uNEIiWbLxmD azFw==
X-Gm-Message-State: ALoCoQmg60PgbUtY0x/JSq/AL/hR8BnHunu4KzIwz6hQs48vjJR/0fPAiba6vOUIz6Z/gNDyhfXn
X-Received: by 10.194.92.38 with SMTP id cj6mr15199087wjb.70.1393938522100; Tue, 04 Mar 2014 05:08:42 -0800 (PST)
Received: from dhcp-a117.meeting.ietf.org (dhcp-a117.meeting.ietf.org. [31.133.161.23]) by mx.google.com with ESMTPSA id hy8sm51793132wjb.2.2014.03.04.05.08.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Mar 2014 05:08:41 -0800 (PST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Joe Abley <jabley@hopcount.ca>
In-Reply-To: <5314CE01.3030806@redbarn.org>
Date: Tue, 04 Mar 2014 13:08:38 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <D994A28D-D969-479C-8CA0-27D139380123@hopcount.ca>
References: <20140303105138.GA3875@laperouse.bortzmeyer.org> <53149C57.1040105@redbarn.org> <C9C88C7D-E43E-4687-961F-980A4839F561@virtualized.org> <5314CE01.3030806@redbarn.org>
To: Paul Vixie <paul@redbarn.org>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/dnsop/aO5ynfj6zxfmmsrvzCUEmjrQAGg
Cc: "dnsop@ietf.org WG" <dnsop@ietf.org>, David Conrad <drc@virtualized.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: Tue, 04 Mar 2014 13:08:47 -0000

On 3 Mar 2014, at 18:46, Paul Vixie <paul@redbarn.org> wrote:

> 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.

I'm aware of a SIP ATA apparently in semi-widespread use amongst customers of a large independent ISP in Canada which (a) doesn't support TCP transport, (b) doesn't support EDNS(0), and (c) issues an IN/SRV query to bootstrap, the response to which is large and reliably features TC=1.

The ISP in question switched from BIND9 to Unbound in their resolver clusters, and the helpdesk phone started to ring.

BIND9 would return a truncated but non-empty response, which would be good enough for the ATA to work (from the user's perspective). Unbound would send empty ANSWER, AUTHORITY and ADDITIONAL sections, which left the ATA stranded and caused much end-user ire.

Clearly the ATA in question is quite broken (or, the service's SRV RRSet was unreasonably large considering the client limitations). Surely this is not the only broken situation of this type on the Internet, however.

The fact that the change from BIND9 to Unbound behaviour has been observed to result in a non-zero support cost is pertinent, I think, when imagining clarifications to the specification.


Joe