Re: [DNSOP] [Ext] About key tags and sensible limits

John Levine <johnl@taugh.com> Wed, 28 February 2024 02:37 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C990C14CE42 for <dnsop@ietfa.amsl.com>; Tue, 27 Feb 2024 18:37:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.859
X-Spam-Level:
X-Spam-Status: No, score=-6.859 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b="drhr+pw6"; dkim=pass (2048-bit key) header.d=taugh.com header.b="hSJxk02I"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NE58cjjDCPkQ for <dnsop@ietfa.amsl.com>; Tue, 27 Feb 2024 18:37:12 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 53F51C14CE36 for <dnsop@ietf.org>; Tue, 27 Feb 2024 18:37:06 -0800 (PST)
Received: (qmail 20403 invoked from network); 28 Feb 2024 02:37:04 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=4fb165de9c50.k2402; bh=Kmffpjqgq5vykTnPhP53EJl7G8FtOP32b7iGJWmp3MM=; b=drhr+pw6j78qz0SCs5JhhzWO3tAPrUJ6Fd6E7dkRRQ94meyVgBf7Wuk7IkCssLtDUnXagafUU9Yd4/odx89R5UDxLC4cndWgfVzcgLDgNVMywjeuSu7VEFVq1y2zXo/2MBPr8ENp3IcA7ROtny2ta2kKjd0UAO/+OGA/6v/F5u/hPbEN6fRjsqYTmlFoI2AE3z3g+m5Vh37+UM5SC4HubnbV+dwru14Nq8Wszbt7q2T7htDawY0ILOU5w1UoN+8aQJ2pz0d6poWa0nW5GEkIsW1xj94SbSOwZyUE8NO4JMAVosaD6fLEEpGsAUy68P7pRW62KQvG6O98NXI8EUhDnA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=4fb165de9c50.k2402; bh=Kmffpjqgq5vykTnPhP53EJl7G8FtOP32b7iGJWmp3MM=; b=hSJxk02IdyF+urOlQan4c7UIyPc0f9uceZBanhHZUE9aXXwZdJW7AQrepymsGD0X7qZ/75DBDXVCvT6FqBoCk+9xDAZiX8kNhl3C/S2v2lECS7oE/Hxlk7reC0dUR+tvoxXVABRUEnJekjKcfqQp9pHR28DL2t+FuAI+Gt2Iqp0jscqV1MgXpsuHXy4zQ5fAc0/SD3CmaTYGnid6BmOyx2eVSy0VRxvJRQHZJmTd3bjJQCwpQBDwx9QZU15UYJSc1rALzUCgWrf0HCVMbtG1empyDWApUFXHeyzwBniu+5fhqNRSWrWnTMS4wfXdaFYuji0cpZMFewSet71DdrsUkA==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.3 ECDHE-RSA CHACHA20-POLY1305 AEAD) via TCP6; 28 Feb 2024 02:37:04 -0000
Received: by ary.qy (Postfix, from userid 501) id D591A8412BB0; Tue, 27 Feb 2024 21:37:03 -0500 (EST)
Date: Tue, 27 Feb 2024 21:37:03 -0500
Message-Id: <20240228023703.D591A8412BB0@ary.qy>
From: John Levine <johnl@taugh.com>
To: dnsop@ietf.org
In-Reply-To: <B48D20AA-DFD0-412D-A4F3-9FA875F9D979@isc.org>
Organization: Taughannock Networks
X-Headerized: yes
Cleverness: minimal
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/iA9SEh52j_vtG1uZvBFAZJEoIlk>
Subject: Re: [DNSOP] [Ext] About key tags and sensible limits
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.39
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: <https://mailarchive.ietf.org/arch/browse/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, 28 Feb 2024 02:37:17 -0000

It appears that Mark Andrews  <marka@isc.org> said:
>It’s not the complexity of the validator we are worried about.  The number of crypto verifications per second is really low on all
>hardware.  Being able to stop validating on the first failure rather than having to continue because the attacker has constructed a
>colliding key tag rrset is beneficial to getting good put trough in the presence of a DoS attack.

Why do you have to try to validate everything rather than do some
sensible number and stop? When I look at RFC 4035 sec 5.3.3 I don't
see any MUSTs.

I could set up a 100 link CNAME chain that would resolve if you
followed the whole thing, but every cache will stop long before that.
Why is this different?

R's,
John

PS: I wouldn't be opposed to something like RFC 9276 that offered some
advice for things to limit in practical DNS resolution, but that's not
a protocol change, more like a BCP.