Re: [DNSOP] [dns-operations] dnsop-any-notimp violates the DNS standards

Paul Vixie <paul@redbarn.org> Wed, 18 March 2015 07:32 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 4923B1A009E for <dnsop@ietfa.amsl.com>; Wed, 18 Mar 2015 00:32:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 vQEf7HmNtEtw for <dnsop@ietfa.amsl.com>; Wed, 18 Mar 2015 00:32:50 -0700 (PDT)
Received: from family.redbarn.org (family.redbarn.org [24.104.150.213]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0BB8F1A0021 for <dnsop@ietf.org>; Wed, 18 Mar 2015 00:32:50 -0700 (PDT)
Received: from [IPv6:2001:559:8000:cb:cd92:c99:361e:1650] (unknown [IPv6:2001:559:8000:cb:cd92:c99:361e:1650]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id 00BB41813E; Wed, 18 Mar 2015 07:32:48 +0000 (UTC)
Message-ID: <55092A1E.50405@redbarn.org>
Date: Wed, 18 Mar 2015 00:32:46 -0700
From: Paul Vixie <paul@redbarn.org>
User-Agent: Postbox 3.0.11 (Windows/20140602)
MIME-Version: 1.0
To: Paul Wouters <paul@nohats.ca>
References: <20150309110803.4516.qmail@cr.yp.to> <20150309151812.GA14897@xs.powerdns.com> <20150316142350.GB26918@xs.powerdns.com> <55075C41.9000208@brokendns.net> <13D58CB4-95BD-412B-A073-C95617E97BCE@redbarn.org> <55077A64.7050906@brokendns.net> <CAGmQtQK1fa2Ji0gUzahZ4q4yJKTy9fwdRKDE+Vhe6h3ejBm=KA@mail.gmail.com> <55078075.8060803@brokendns.net> <CAGmQtQK9=47XiXS+uugev8cYgUn64S0s_fdpOiYRqVtsUinDbQ@mail.gmail.com> <alpine.LFD.2.10.1503170933130.25684@bofh.nohats.ca>
In-Reply-To: <alpine.LFD.2.10.1503170933130.25684@bofh.nohats.ca>
X-Enigmail-Version: 1.2.3
Content-Type: multipart/alternative; boundary="------------050101030302050307090005"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/Q6_uEeZivgnMwVLeHj-dal-ntkc>
Cc: Yunhong Gu <guu@google.com>, dnsop <dnsop@ietf.org>, Michael Sinatra <michael@brokendns.net>
Subject: Re: [DNSOP] [dns-operations] dnsop-any-notimp violates the DNS standards
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: Wed, 18 Mar 2015 07:32:51 -0000


Paul Wouters wrote:
> On Tue, 17 Mar 2015, Yunhong Gu wrote:
>
>> The reason that this response can be used for an amplification attack
>> is its size, not the ANY type. A responses with 200 A records can be
>> used for the same purpose. The (even deeper) root cause is the use of
>> UDP in DNS protocol. I just do not think banning ANY touches any of
>> these fundamental issues.
>
> Right, so require tcp or eastlake cookies,

that would protect third parties, but not the server itself.

> or allow padding the ANY
> request so the request/response ratio is close to 1 before allowing
> the answer.

that would not prevent the unfortunate information leak that allows
third parties to scan our caches.

> Make the dig command default to tcp. That should cover
> the vast majority of valid ANY queries.

my proposal is, limit ANY to a selected set of source-ip addresses, as
is commonly done with AXFR/IXFR.

-- 
Paul Vixie