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

Paul Wouters <paul@nohats.ca> Tue, 17 March 2015 13:34 UTC

Return-Path: <paul@nohats.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 0A7381A038D for <dnsop@ietfa.amsl.com>; Tue, 17 Mar 2015 06:34:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level:
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 fYQXfnQNi0Ik for <dnsop@ietfa.amsl.com>; Tue, 17 Mar 2015 06:34:44 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 862DB1A0381 for <dnsop@ietf.org>; Tue, 17 Mar 2015 06:34:44 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 3l5wTX1mgXz5HP; Tue, 17 Mar 2015 14:34:40 +0100 (CET)
Authentication-Results: mx.nohats.ca; dkim=pass (1024-bit key) header.d=nohats.ca header.i=@nohats.ca header.b=vH3ARIpO
X-OPENPGPKEY: Message passed unmodified
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id twLK_O8IdI4G; Tue, 17 Mar 2015 14:34:38 +0100 (CET)
Received: from bofh.nohats.ca (206-248-139-105.dsl.teksavvy.com [206.248.139.105]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Tue, 17 Mar 2015 14:34:38 +0100 (CET)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id A3906819A0; Tue, 17 Mar 2015 09:34:37 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1426599277; bh=RZA38O/wgDcFMdmwEQHJzNaI9blO4p/MDR+s7ABNRP0=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=vH3ARIpOO9UsQt9SgkFPbNJB3xyAWK/G2XLvyNtCYz+/yd2oC3pkc6IKdeATCQRoY 49TbDC8H4xkdfddA5uaDsFaUvP2+EGruRz8BcZRqq3Syq0kyhtny2im5WO+x8nZLvJ y4gTXG70hNWNs4pQN/3DGGfWGWHUFY9cW2UjySLY=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id t2HDYaSC030498; Tue, 17 Mar 2015 09:34:36 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Tue, 17 Mar 2015 09:34:36 -0400
From: Paul Wouters <paul@nohats.ca>
To: Yunhong Gu <guu@google.com>
In-Reply-To: <CAGmQtQK9=47XiXS+uugev8cYgUn64S0s_fdpOiYRqVtsUinDbQ@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1503170933130.25684@bofh.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>
User-Agent: Alpine 2.10 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/kg_QY7EFYvQlEfyELY9hW26Q_78>
Cc: Michael Sinatra <michael@brokendns.net>, dnsop <dnsop@ietf.org>
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: Tue, 17 Mar 2015 13:34:46 -0000

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, or allow padding the ANY
request so the request/response ratio is close to 1 before allowing
the answer. Make the dig command default to tcp. That should cover
the vast majority of valid ANY queries.

Paul