Re: [DNSOP] I-D Action: draft-ietf-dnsop-maintain-ds-04.txt

Ólafur Guðmundsson <olafur@cloudflare.com> Tue, 10 January 2017 21:01 UTC

Return-Path: <olafur@cloudflare.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 9DF731295A2 for <dnsop@ietfa.amsl.com>; Tue, 10 Jan 2017 13:01:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.com
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 ICoiFYmdte7y for <dnsop@ietfa.amsl.com>; Tue, 10 Jan 2017 13:01:16 -0800 (PST)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1BDC712959D for <dnsop@ietf.org>; Tue, 10 Jan 2017 13:01:16 -0800 (PST)
Received: by mail-wm0-x22e.google.com with SMTP id c206so89053475wme.0 for <dnsop@ietf.org>; Tue, 10 Jan 2017 13:01:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Z98mMcKNn9g6cNWg6VGHnRxbnRm8iCqktlEnSkow67U=; b=r16xuVPQa7zw4JI1gvf+RgZMG08yLt3+3wmNc7p6Og3Hr9z0ynZOuOd9lU1NJ4ywQC CZfywjjRlIXBi6aKgld4QLBAp3CqhWT5NQW/En58CTXeV7lo85q7LbSPiqmghFKluimk aMsRFwd7Ii87a/GY36DpPeFEVO/X3acqBADVM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Z98mMcKNn9g6cNWg6VGHnRxbnRm8iCqktlEnSkow67U=; b=G5J6lfK8TfN32j3K/7q9SBG6sau44ct+O2PWE2oz0IpWvXEu6XKLb1ALz/p+AlORaY DPEu9rbv1GBnPGq57J6NUzE3yuKejyFlWQgccsqfriXXL6V/HiVlT12/PbEXr0YMuxvY jS8HxQ3ogC7IyAAr7weUwhttVft8fl4GJGAyzOsMwrjIQ4j1BzOHTlxYy/ybbHeHK9fq kjFu85/e+k5Yq1KfC+lxV827B13pUCNJ5CdQS7d7x22WaveKk8MsHSemuiRjz2jYDibS Mk9AQ0cKmpvN3V0Hoglo2Gc4NoXsrPHNhFZKX8m3xtQ2yAvtOC/PvQb/vlyoGvDYdaCx zKLg==
X-Gm-Message-State: AIkVDXJxqCTMDPKygrbwt2V9aMeyiB1loUaCjlIdPau9ktJCXL8XNxA3Rkj0qxsqpxVXoaXaVhkmO1s3j628DkqL
X-Received: by 10.28.84.88 with SMTP id p24mr1011300wmi.52.1484082074450; Tue, 10 Jan 2017 13:01:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.28.11.13 with HTTP; Tue, 10 Jan 2017 13:01:13 -0800 (PST)
In-Reply-To: <alpine.LRH.2.20.1701101247080.4762@bofh.nohats.ca>
References: <147792810754.32434.7815626160706350019.idtracker@ietfa.amsl.com> <f3c5f93a-c1ae-8cff-2782-6352669f4920@pletterpet.nl> <11dd4e3d-3620-a478-cee5-6be4f9b9a141@pletterpet.nl> <alpine.LRH.2.20.1701101141250.4762@bofh.nohats.ca> <04c6766e-87fe-9355-f651-633df6fe961e@pletterpet.nl> <alpine.LRH.2.20.1701101247080.4762@bofh.nohats.ca>
From: Ólafur Guðmundsson <olafur@cloudflare.com>
Date: Tue, 10 Jan 2017 16:01:13 -0500
Message-ID: <CAN6NTqyDM7+kfiUHMOfsu5y9qTAVvSs3tFCZRGHjz8UTdSENOA@mail.gmail.com>
To: Paul Wouters <paul@nohats.ca>
Content-Type: multipart/alternative; boundary="94eb2c1cca80dd92a10545c3c8a9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/jcA9UcmqiUb7TtbLXt746wUGhJM>
Cc: Matthijs Mekking <matthijs@pletterpet.nl>, dnsop <dnsop@ietf.org>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-maintain-ds-04.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 10 Jan 2017 21:01:17 -0000

Yes I agree,
Push a new version if Tim agrees ?

Olafur



On Tue, Jan 10, 2017 at 12:53 PM, Paul Wouters <paul@nohats.ca> wrote:

> On Tue, 10 Jan 2017, Matthijs Mekking wrote:
>
> I personally think the simplification of using all zero's is good. If
>>> someone accidentally changes the wrong number in the DS record when
>>> changing parameters, it will prevent a mistaken delete request. While,
>>> the zone might still fail, at least it won't be forced to go through a
>>> period of insecure while the parental DS gets repopulated.
>>>
>>
>> I am fine with using all zero's. I just don't think the change in
>> resource record format is a good idea, dropping the last RDATA field
>> from the CDS record.
>>
>
> Ohh, I think Matthijs actually found a bug:
>
> The CDS RDATA is identical to the DS RDATA format, which is
> according to RFC 4034:
>
>                         1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |           Key Tag             |  Algorithm    |  Digest Type  |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    /                                                               /
>    /                            Digest                             /
>    /                                                               /
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
> The draft states:
>
>         The keying material payload is represented by a single 0.
>
> So the CDS delete entry currently specified as:
>
>    CDS 0 0 0
>
> Should in fact be:
>
>    CDS 0 0 0 0
>
>
> And similarly, the CDNSKEY is currently specified as:
>
>    CDNSKEY 0 3 0
>
> and should be:
>
>    CDNSKEY 0 3 0 0
>
>
> Olafur, do you agree? Should we push a new draft version with this fix?
>
>
> Paul
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
>