Re: [dnsext] [Technical Errata Reported] RFC4034 (2681)

Chris Thompson <cet1@cam.ac.uk> Fri, 25 March 2011 19:43 UTC

Return-Path: <cet1@hermes.cam.ac.uk>
X-Original-To: dnsext@core3.amsl.com
Delivered-To: dnsext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A9D673A682D for <dnsext@core3.amsl.com>; Fri, 25 Mar 2011 12:43:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ifY4hSgYd0Iw for <dnsext@core3.amsl.com>; Fri, 25 Mar 2011 12:43:57 -0700 (PDT)
Received: from ppsw-50.csi.cam.ac.uk (ppsw-50.csi.cam.ac.uk [131.111.8.150]) by core3.amsl.com (Postfix) with ESMTP id B35743A6774 for <dnsext@ietf.org>; Fri, 25 Mar 2011 12:43:57 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:49441) by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:25) with esmtpa (EXTERNAL:cet1) id 1Q3Cwa-0008Vq-pf (Exim 4.72) (return-path <cet1@hermes.cam.ac.uk>); Fri, 25 Mar 2011 19:45:12 +0000
Received: from prayer by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local (PRAYER:cet1) id 1Q3Cwa-0003we-06 (Exim 4.67) (return-path <cet1@hermes.cam.ac.uk>); Fri, 25 Mar 2011 19:45:12 +0000
Received: from [131.111.11.47] by webmail.hermes.cam.ac.uk with HTTP (Prayer-1.3.3); 25 Mar 2011 19:45:11 +0000
Date: Fri, 25 Mar 2011 19:45:11 +0000
From: Chris Thompson <cet1@cam.ac.uk>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Message-ID: <Prayer.1.3.3.1103251945110.7993@hermes-1.csi.cam.ac.uk>
In-Reply-To: <7306D60F-AE42-466F-AED9-51C58E32299E@vpnc.org>
References: <20110105221815.A7E0FE0701@rfc-editor.org> <4D8AB330.5090504@ogud.com> <7306D60F-AE42-466F-AED9-51C58E32299E@vpnc.org>
X-Mailer: Prayer v1.3.3
Mime-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="ISO-8859-1"
Sender: Chris Thompson <cet1@hermes.cam.ac.uk>
X-Mailman-Approved-At: Fri, 25 Mar 2011 14:06:44 -0700
Cc: sra@isc.org, gubailey@microsoft.com, dnsext@ietf.org, jari.arkko@piuha.net, rdroms.ietf@gmail.com, RFC Errata System <rfc-editor@rfc-editor.org>, roy.arends@telin.nl, Olafur Gudmundsson <ogud@ogud.com>, massey@cs.colostate.edu
Subject: Re: [dnsext] [Technical Errata Reported] RFC4034 (2681)
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: cet1@cam.ac.uk
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Mar 2011 19:43:58 -0000

On Mar 25 2011, Paul Hoffman wrote:

>On Mar 24, 2011, at 3:57 AM, Olafur Gudmundsson wrote:
>
>> This errata is also correct,
>> I ran into this same issue myself.
>
>I am not an implementer, so I am not sure that what I say here is correct.
>It sounds like the normative text in Appendix B does not match the presumably
>normative "reference implementation" in C a few paragraphs later. If so, why
>does the "reference implementation" win over the C code?

Because it is what everyone has actually implemented? And it's not really
clear which is more "normative", given text like

* It is not necessary to use the following reference code verbatim, but
* the numerical value of the Key Tag MUST be identical to what the reference
* implementation would generate for the same input.

It's bad enough that the tag calculation is a botched version of the
ones-complement checksum in the first place, without trying to change
it at this stage.

-- 
Chris Thompson               University of Cambridge Computing Service,
Email: cet1@ucs.cam.ac.uk    New Museums Site, Cambridge CB2 3QH,
Phone: +44 1223 334715       United Kingdom.