Re: [DNSOP] DLVs and ITAR

Mark Andrews <marka@isc.org> Tue, 15 September 2009 02:35 UTC

Return-Path: <marka@isc.org>
X-Original-To: dnsop@core3.amsl.com
Delivered-To: dnsop@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E5E8A3A695D for <dnsop@core3.amsl.com>; Mon, 14 Sep 2009 19:35:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.431
X-Spam-Level:
X-Spam-Status: No, score=-2.431 tagged_above=-999 required=5 tests=[AWL=0.168, BAYES_00=-2.599]
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 0AMBqc-Efg8x for <dnsop@core3.amsl.com>; Mon, 14 Sep 2009 19:35:38 -0700 (PDT)
Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) by core3.amsl.com (Postfix) with ESMTP id 757AB3A689D for <dnsop@ietf.org>; Mon, 14 Sep 2009 19:35:38 -0700 (PDT)
Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "drugs.dv.isc.org", Issuer "ISC CA" (not verified)) by farside.isc.org (Postfix) with ESMTP id 9463CE6059; Tue, 15 Sep 2009 02:36:22 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.3/8.14.3) with ESMTP id n8F2aIYi004310; Tue, 15 Sep 2009 12:36:20 +1000 (EST) (envelope-from marka@drugs.dv.isc.org)
Message-Id: <200909150236.n8F2aIYi004310@drugs.dv.isc.org>
To: Edward Lewis <Ed.Lewis@neustar.biz>
From: Mark Andrews <marka@isc.org>
References: <C6D3B6D8.15D4D%kim.davies@icann.org> <19689600-7E8E-425F-8849-4AEB9DB38AC3@verisign.com> <a06240800c6d44242ff9b@[10.31.200.153]>
In-reply-to: Your message of "Mon, 14 Sep 2009 15:07:41 -0400." <a06240800c6d44242ff9b@[10.31.200.153]>
Date: Tue, 15 Sep 2009 12:36:18 +1000
Sender: marka@isc.org
Cc: IETF DNSOP WG <dnsop@ietf.org>
Subject: Re: [DNSOP] DLVs and ITAR
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 15 Sep 2009 02:35:40 -0000

In message <a06240800c6d44242ff9b@[10.31.200.153]>, Edward Lewis writes:
> At 14:45 -0400 9/14/09, David Blacka wrote:
> 
> >I think it works to simply say this:
> >
> >   * The ITAR should be checked for changes once per 24 hour period.
> >
> >Then:
> >
> >   * consumers (e.g., dlv.isc.org, me) will know to check at least 
> >once per day;
> >   * TLD operators would know to pre-publish the new DS at least 24 hours
> >     before doing the KSK roll.
> 
> Plus an allowance for TTLs.
> 
> It's a bit more complicated I think, unless I missed a fine point in 
> the message.
> 
> To nit pick: "TLD operators would know to pre-publish the new DS" is 
> incorrect per se - the DS set for a zone is authoritative at the 
> parent.
> 
> When I want to change a SEP, first I plan to have it in my DNSKEY set 
> for a long enough period to satisfy at least RFC 5011 and the time it 
> takes for all caches to time out all DNSKEY set versions prior to the 
> new SEP-to-be.

Iff the zone being managed according to RFC5011.  RFC5011 is not
required for zones that that have a secure parent.

RFC 5011 is a real pain and unless you have a reason to use it I
would not recommend saying you are following RFC 5011.

With a secure parent there are several different strategies that
can be used to roll a DNSKEY cleanly.

Add the new DNSKEY.  Add the new DS to the parent zone.  Wait for
both the old DS and DNSKEY RRsets to expire from caches.  Remove
the old DS and the old DNSKEY.

Add new DNSKEY, wait DNSKEY TTL, replace old DS with new DS, wait
DS ttl, remove old DNSKEY.

Generate DNSKEY, publish new DS, wait DS ttl, replace DNSKEY, wait
DNSKEY ttl, remove old DS.  ** This is not compatible with how ITAR
is defined to work.

Note all of these have a wait "DS ttl" after the new DS is published.
Consumers of ITAR need to update in this window.

> Next I add the new SEP signature to the DNSKEY set and ask the parent 
> to change the DS record in my DS RRSet.  Change means take out the 
> old and put in the new (per algorithm/etc.).  I don't remove anything 
> at this point.

You will break validators which use different caches for DNSKEY and
DS lookups doing this.
 
> I don't think the parent's TTL considerations matter because I am 
> placing two SEP's in to play while waiting.  As soon as I see the new 
> DS record appear in the zone (and the old DS gone), I start a timer 
> based on my TTL for the DNSKEY set.  Once that timer expires I 
> RFC5011-revoke the old SEP (and sign the whole key set with old and 
> new SEP key).

DS ttl always come into play.  You need to assume a validator can
be using different caches to retieve the DS and DNSKEY RRsets.
 
> According to RFC 5011 rules I then remove the old SEP and any 
> signature at the appropriate time.
> 
> >As it is, I don't expect any TLD operator to have any idea of how 
> >long they must pre-publish, nor any consumer to know how often to 
> >poll IANA for any changes.
> 
> Polling is suboptimal when an event is anticipated but it is a good 
> catch all to avoid missing an event notification.
> 
> -- 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Edward Lewis
> NeuStar                    You can leave a voice message at +1-571-434-5468
> 
> As with IPv6, the problem with the deployment of frictionless surfaces is
> that they're not getting traction.
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org