Re: [DNSOP] I-D Action: draft-ietf-dnsop-nsec3-guidance-02.txt

Vladimír Čunát <vladimir.cunat+ietf@nic.cz> Fri, 26 November 2021 11:30 UTC

Return-Path: <vladimir.cunat+ietf@nic.cz>
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 AE7533A0D46 for <dnsop@ietfa.amsl.com>; Fri, 26 Nov 2021 03:30:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.95
X-Spam-Level:
X-Spam-Status: No, score=-3.95 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, HTML_MESSAGE=0.001, NICE_REPLY_A=-1.852, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 dOaSZ1SOIR4Y for <dnsop@ietfa.amsl.com>; Fri, 26 Nov 2021 03:30:12 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBC7B3A0D49 for <dnsop@ietf.org>; Fri, 26 Nov 2021 03:30:11 -0800 (PST)
Received: from [IPV6:2001:1488:fffe:6:56bf:a4fb:c45a:90c8] (unknown [IPv6:2001:1488:fffe:6:56bf:a4fb:c45a:90c8]) by mail.nic.cz (Postfix) with ESMTPSA id D923D140956 for <dnsop@ietf.org>; Fri, 26 Nov 2021 12:30:07 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1637926208; bh=uxAPihJPBl5rawYa+bWIqT2e0O7Fz5+Mdi6q2DVNRQk=; h=Date:To:From; b=pmgtsbEwx82yXoYt8ds12ESA1js2pCgfJIqDnHLFEu7HVIy3Z0bWfCcks5NRE3G/l i6cpA+Xgo995UY0YLfAluW629ZfNcYU2zhjJE/m8dSmZn+pp3B99CsZrG35Ak+vA2M ckDCcol3nzfnFEx+ga784MCsXq9GBFL3TnPIK5oA=
Content-Type: multipart/alternative; boundary="------------fJ1TckgDCpMi4LzvF9E00L79"
Message-ID: <4e4527b6-b0b3-33f3-3849-8a593fe29a1d@nic.cz>
Date: Fri, 26 Nov 2021 12:30:07 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
To: dnsop@ietf.org
References: <163777315136.16773.10633006296842101587@ietfa.amsl.com>
From: Vladimír Čunát <vladimir.cunat+ietf@nic.cz>
In-Reply-To: <163777315136.16773.10633006296842101587@ietfa.amsl.com>
X-Virus-Scanned: clamav-milter 0.102.4 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/Y9_09JZ-g01czcbR-XSOj2KU_ZE>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-nsec3-guidance-02.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 26 Nov 2021 11:30:17 -0000

I like the text and how it's improving.

> Note that a validating resolver MUST still validate the signature over 
> the NSEC3 record to ensure the iteration count was not altered since 
> record publication (see {{RFC5155}} section 10.3).
>
It might be better to clarify that this "MUST" does not really apply to 
the SERVFAIL case.  (The text around has changed recently.)

I think this SERVFAIL will generally be best implemented by simply 
ignoring any NSEC3 above the corresponding limit.  Maybe I'd even 
standardize the case that way, but I don't care really. It's an 
advantage unstated in the draft that this is very easy to do, leaving no 
room for bugs (e.g. unintentional downgrade opportunities).

--Vladimir