Re: [DNSOP] One Chair's comments on draft-wessels-dns-zone-digest

Evan Hunt <each@isc.org> Mon, 30 July 2018 17:26 UTC

Return-Path: <each@isc.org>
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 A131E130EA4 for <dnsop@ietfa.amsl.com>; Mon, 30 Jul 2018 10:26:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 w4TIbpGuElHZ for <dnsop@ietfa.amsl.com>; Mon, 30 Jul 2018 10:26:07 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (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 A8422130DF7 for <dnsop@ietf.org>; Mon, 30 Jul 2018 10:26:07 -0700 (PDT)
Received: from bikeshed.isc.org (bikeshed.isc.org [149.20.48.19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id 7DFE43AB03E; Mon, 30 Jul 2018 17:26:07 +0000 (UTC)
Received: by bikeshed.isc.org (Postfix, from userid 10292) id 63846216C1C; Mon, 30 Jul 2018 17:26:07 +0000 (UTC)
Date: Mon, 30 Jul 2018 17:26:07 +0000
From: Evan Hunt <each@isc.org>
To: Mark Andrews <marka@isc.org>
Cc: Joe Abley <jabley@hopcount.ca>, Tim Wicinski <tjw.ietf@gmail.com>, dnsop <dnsop@ietf.org>, Florian Weimer <fw@deneb.enyo.de>
Message-ID: <20180730172607.GB46824@isc.org>
References: <CADyWQ+HizOJsE9EZ=VEvrbnnyPwaG_yBRg7fP5VvUNTdnidXZA@mail.gmail.com> <87sh41u4mj.fsf@mid.deneb.enyo.de> <409CDF7B-DED9-4671-9BE6-8398E4364B98@hopcount.ca> <20180730002348.GA41131@isc.org> <63B81D24-4E63-48E1-9657-BAEB71C67ACF@isc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <63B81D24-4E63-48E1-9657-BAEB71C67ACF@isc.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/2z2IQ4aja2VvMsiqPaT7rZY0178>
Subject: Re: [DNSOP] One Chair's comments on draft-wessels-dns-zone-digest
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 30 Jul 2018 17:26:09 -0000

On Mon, Jul 30, 2018 at 11:03:25AM +1000, Mark Andrews wrote:
> Actually it needs to be a type code.  How do you hash the TXT RRset and
> RRSIG(TXT) RRset when you need to modify both of them after computing the
> hash?  You need to be able to cleanly exclude the records from the ZONEMD /
> XHASH calculations but have a indication that it is present in the zone
> (NSEC/NSEC3 bit map).

You omit the relevant TXT rrset (_zonehash./TXT, or whatever) when
computing the hash for the remainder of the zone.

Using a type code is obviously more convenient, but I could implement a
zone verification hash without it and so could you.  SO, ZONEMD only needs
expert review.

-- 
Evan Hunt -- each@isc.org
Internet Systems Consortium, Inc.