Re: [DNSOP] DNS cookies and multi-vendor anycast incompatibility

Paul Wouters <paul@nohats.ca> Wed, 20 June 2018 14:10 UTC

Return-Path: <paul@nohats.ca>
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 6DACB130EAE for <dnsop@ietfa.amsl.com>; Wed, 20 Jun 2018 07:10:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 Kh2AtkKf9C0n for <dnsop@ietfa.amsl.com>; Wed, 20 Jun 2018 07:10:10 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::68]) (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 A2520126CB6 for <dnsop@ietf.org>; Wed, 20 Jun 2018 07:10:10 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 419mtk6cC6z39Q; Wed, 20 Jun 2018 16:10:06 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1529503806; bh=pUDZcMPcBc5hHozi+e7wKCC53ey689sZ1jNhhWe+6h8=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=fL0MzdcmTW4qSV8IAumw5JmXTaKTnM+m6a3XzzgA2ACVGRKbVPUZZdXenSHmnqwtV QqvRdgh/z4f9fnjoNfiXvuMiIpAY1Rfuej1lWaSDFF6hGhKvwmq6rLFpX7hWyxniDT u9BYH6oF6+evEbbYpmRHIPmqkE+wJgSX1zuIaRQs=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id h75hCQIrnjPI; Wed, 20 Jun 2018 16:10:05 +0200 (CEST)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Wed, 20 Jun 2018 16:10:04 +0200 (CEST)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id E86484FB768; Wed, 20 Jun 2018 10:10:03 -0400 (EDT)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca E86484FB768
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id E1FEF40D72BD; Wed, 20 Jun 2018 10:10:03 -0400 (EDT)
Date: Wed, 20 Jun 2018 10:10:03 -0400
From: Paul Wouters <paul@nohats.ca>
To: Petr Špaček <petr.spacek@nic.cz>
cc: "dnsop@ietf.org WG" <dnsop@ietf.org>, Daniel Salzman <daniel.salzman@nic.cz>
In-Reply-To: <c70f058c-8e82-f905-e352-f3e2fd0d4cfc@nic.cz>
Message-ID: <alpine.LRH.2.21.1806201006530.6077@bofh.nohats.ca>
References: <c70f058c-8e82-f905-e352-f3e2fd0d4cfc@nic.cz>
User-Agent: Alpine 2.21 (LRH 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/wNCPdElJXMvn-oaLZTjQVYm5O8Y>
Subject: Re: [DNSOP] DNS cookies and multi-vendor anycast incompatibility
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.26
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: Wed, 20 Jun 2018 14:10:14 -0000

On Wed, 20 Jun 2018, Petr Špaček wrote:

> it seems that current specification of DNS cookies in RFC 7873 is not 
> detailed enough to allow deployment of DNS cookies in multi-vendor anycast 
> setup, i.e. a setup where one IP address is backed by multiple DNS servers.
>
> The problem is lack of standardized algorithm to generate server cookie from 
> a shared secret. In practice, even if users manually configure the same 
> shared secret, Knot DNS and BIND will use diffrent algorithm to generate 
> server cookie and as consequence these two cannot reliably back the same IP 
> address and have DNS cookies enabled.
>
> One of root server operators told me that they are not going to enable DNS 
> cookies until it can work with multi-vendor anycast, and I think this is very 
> reasonable position.
>
> So, vendors, would you be willing to standardize on small number of server 
> cookie algorithms to enable multi-vendor deployments?

I think this is a good idea but there are already two examples in RFC
7873 for cookie generation. Is there a problem with those examples, or
is there only a lack of options in the implementation to configure
these? If the latter, than no new IETF work would be needed.

Paul