Re: [IAB] Last Call: <draft-iab-2870bis-01.txt> (DNS Root Name Service Protocol and Deployment Requirements) to Best Current Practice

Mark Andrews <marka@isc.org> Thu, 05 March 2015 04:55 UTC

Return-Path: <marka@isc.org>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 266441A026E for <ietf@ietfa.amsl.com>; Wed, 4 Mar 2015 20:55:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, 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 gHhFJOMmVXzk for <ietf@ietfa.amsl.com>; Wed, 4 Mar 2015 20:55:41 -0800 (PST)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [199.6.1.65]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95DEF1A01F9 for <ietf@ietf.org>; Wed, 4 Mar 2015 20:55:41 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.ams1.isc.org (Postfix) with ESMTP id 487DE1FCB5A; Thu, 5 Mar 2015 04:55:38 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id C952E160055; Thu, 5 Mar 2015 05:02:37 +0000 (UTC)
Received: from rock.dv.isc.org (c122-106-252-81.belrs3.nsw.optusnet.com.au [122.106.252.81]) by zmx1.isc.org (Postfix) with ESMTPSA id 931CE160050; Thu, 5 Mar 2015 05:02:37 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id AD7322AEEF1D; Thu, 5 Mar 2015 15:55:35 +1100 (EST)
To: Paul Hoffman <paul.hoffman@vpnc.org>
From: Mark Andrews <marka@isc.org>
References: <20140520204238.21772.64347.idtracker@ietfa.amsl.com> <500031A0-DF45-409E-AACB-F79C32032E38@viagenie.ca> <94F2C35A-95D1-41CA-9CA5-2F7D59111E0B@vpnc.org> <E537C710-56D4-4009-B495-E6781A42893E@piuha.net> <78A73ED3-BAAB-448F-A550-77F69535422B@vpnc.org>
Subject: Re: [IAB] Last Call: <draft-iab-2870bis-01.txt> (DNS Root Name Service Protocol and Deployment Requirements) to Best Current Practice
In-reply-to: Your message of "Wed, 04 Mar 2015 20:42:54 -0800." <78A73ED3-BAAB-448F-A550-77F69535422B@vpnc.org>
Date: Thu, 05 Mar 2015 15:55:34 +1100
Message-Id: <20150305045535.AD7322AEEF1D@rock.dv.isc.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/jDIa4-bVRidTLX-XrDm7MWuQCu0>
Cc: IAB <iab@iab.org>, IETF Discussion List <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2015 04:55:43 -0000

In message <78A73ED3-BAAB-448F-A550-77F69535422B@vpnc.org>, Paul Hoffman writes
:
> On Mar 4, 2015, at 6:57 PM, Jari Arkko <jari.arkko@piuha.net> wrote:
> >> The requirements in Section 2 should be clearly stated as being
> appropriate only for the authoritative name service. The last bullet says
> this, but the first bullet says "MUST implement core DNS [RFC1035] and
> clarifications to the DNS [RFC2181]." That could be interpreted as saying
> that the root name service must follow all the rules of RFC 1035, not
> just those that apply to authoritative name servers, and there are a
> bunch that should not be required. Consider changing that sentence
> fragment to "MUST implement core DNS [RFC1035] and clarifications to the
> DNS [RFC2181], as an authoritative name service".
> >
> > I think this seems reasonable. Marc?
> >
> >> Another bullet in Section 2 may be problematic:
> >>     MUST generate checksums when sending UDP datagrams and MUST verify
> >>     checksums when receiving UDP datagrams containing a non-zero
> >>     checksum.
> >> What happens if a root name server receives a UDP datagram with a bad
> checksum? It fails verification, but then what? This sentence *might*
> incorporate the following clarification, but I'm not sure if it actually
> matches the intent.
> >>     MUST generate checksums when sending UDP datagrams, and MUST
> >>     ignore a received UDP datagram containing a non-zero checksum
> >>     when that checksum does not verify.
> >> If that's not the intent, I'm not sure what "verify" means without a
> follow-on action.
> >
> > I would not like to specify protocol in this document. It would be best
> if one of the referenced documents already said this, and we could simply
> add a reference. Do they?
>
> Oddly, that doesn't appear in any of the DNS-related RFC I know of. It is
> not in the "base" DNS RFCs of 1034 & 1035 & 2181, nor is it in 5966 (DNS
> use of TCP). Of the ~100 DNS-related RFCs that Standcore has reviewed in
> the DNS conformance testbed, RFC 1912 has the same wording about
> verifying UDP checksums without saying what to do if there is a
> verification failure, and 1995 has advice of what to do if the checksum
> is 0. Other than that, 2870 is the only other RFC that mentions UDP
> checksums.
>
> Maybe there is a UDP-specific RFC that says what to do when you get a
> failed checksum.

You drop it possibly incrementing a error counter.  There really
isn't anything else sane to do.  If the checksum doesn't match you
have no idea what part of the UDP packet is wrong or if it even is
a UDP packet.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org