Re: [DNSOP] I-D Action: draft-ietf-dnsop-server-cookies-00.txt

Willem Toorop <willem@nlnetlabs.nl> Mon, 09 September 2019 14:08 UTC

Return-Path: <willem@nlnetlabs.nl>
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 BEE8D1202DD for <dnsop@ietfa.amsl.com>; Mon, 9 Sep 2019 07:08:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.999
X-Spam-Level:
X-Spam-Status: No, score=-6.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nlnetlabs.nl
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 ShzjClgOecSC for <dnsop@ietfa.amsl.com>; Mon, 9 Sep 2019 07:08:27 -0700 (PDT)
Received: from dicht.nlnetlabs.nl (open.nlnetlabs.nl [IPv6:2a04:b900::1:0:0:10]) (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 6999B120047 for <dnsop@ietf.org>; Mon, 9 Sep 2019 07:08:27 -0700 (PDT)
Received: from [IPv6:2a04:b900:0:1:1cef:334a:44e0:7707] (unknown [IPv6:2a04:b900:0:1:1cef:334a:44e0:7707]) by dicht.nlnetlabs.nl (Postfix) with ESMTPSA id 71FC312134 for <dnsop@ietf.org>; Mon, 9 Sep 2019 16:08:24 +0200 (CEST)
Authentication-Results: dicht.nlnetlabs.nl; dmarc=pass (p=none dis=none) header.from=nlnetlabs.nl
Authentication-Results: dicht.nlnetlabs.nl; spf=pass smtp.mailfrom=willem@nlnetlabs.nl
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nlnetlabs.nl; s=default; t=1568038104; bh=2FLRfruXs7DZa64IBMkKCOsvGDD9fMPuWMcsBSUsLyM=; h=To:References:From:Subject:Date:In-Reply-To; b=Hw6Xn5kvxO77dZjosSaGCpdbKeAzzq6/9VdgOYbDmrPi0QUZyULGyPROukG3JyAiH dfAZ4jciivfksQxRG4HAmdEr1b+07vhFjTGF1muFH6iVtkkgW5+DVANgVoGEg7AX75 fpFq0X/s5QwlHRbZ9weATsoRmM3VlL+ljLJCR344=
To: dnsop@ietf.org
References: <156802477017.28268.17780089460480647573@ietfa.amsl.com> <86ff56cd-c936-0a81-b276-f4fd61635c7f@nlnetlabs.nl> <m1i7Jym-0000HKC@stereo.hq.phicoh.net>
From: Willem Toorop <willem@nlnetlabs.nl>
Openpgp: preference=signencrypt
Autocrypt: addr=willem@nlnetlabs.nl; prefer-encrypt=mutual; keydata= mQINBE1s81EBEACuJzGgccrmYEAzHc//vBq66gH7orM0GtKfQZHh4uR1FMxZXl07WevUYNuB ywTpinU9rpY1Q3S4w6QgNklgpsaHXmbOpyFjJ8FpllV8TRPiXiNrNxTpMnlb6InoszopX69t kBVHTP6cJkNgPx6R4BM0ARqEGQmOL8mAcoWyGVzbsamuGRaia54zs/kc3i9yiqEzRkoQmfwr 7sr49n7gOpmaqXvonOSiUvgEziep77emMcqVa/qZxR1r7KUq85qTNTqsQwl2cQdKS7WwOeuG 6ZIJmJ1bakriKzLBYF5xIHKSYJW0ZA20tNFrVKgTkEjiXvAJh4HlJEIi35tqa/IzWUJSc1ai nhBjxbwSl8BRq5aaPgwB+xXiDqY6BrQW1slvl5TF2A6Xr7JJ0rkH3EZgXxABAZ3WJ3RLwq1z 8jnNYj+UW/mSLsbOtgfOiBhFUXMZneHvVVvz6F6XAty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EXpHQdt129GS1FN/2PQ8NmAUXYCk YYk6Lv1tnGJCSLnD3ObLyWm+sjA5yAK2H8WU+nutsDF63yFJujNMpmB3bi9+699TzsyQNVKd 2fH38cgk1gZFb6Nbx9+lrTIwzAJJlOu8UwbR0HgGuRmrWp0EIm3tcy4xqWF3CavnM22BAOKK KH+qnwx8BRrx58coHQFMswW4W7Bo+jpKbQJ4RV2cXUEbmHbYUoXDHZyv/RzOI46dXAoWFc3o CoqLqpsZYZstJ4UJHXB5aHi1zxJDwzKxsflmSKfIUr3glRWCy/ylcPMEXzPBb3qbGFMUboio UjqLuNV4SSY=
Message-ID: <8ba1ccc7-ea65-e734-0d78-19486173edc5@nlnetlabs.nl>
Date: Mon, 09 Sep 2019 16:08:24 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <m1i7Jym-0000HKC@stereo.hq.phicoh.net>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/HutVVIqK0gNjZeHG0dCjYATmQk8>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-server-cookies-00.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 09 Sep 2019 14:08:30 -0000

On 09-09-19 15:45, Philip Homburg wrote:
> In your letter dated Mon, 9 Sep 2019 14:13:01 +0200 you wrote:
>> When implementing DNS Cookies, several DNS vendors found that
>> impractical as the Client Cookie is typically computed before the Client
>> IP address is known. Therefore, the requirement to put Client IP address
>> as input to was removed, and it simply RECOMMENDED to disable the DNS
>> Cookies when privacy is required. herefore, the requirement to put
>> Client IP address as input to was removed, and it simply RECOMMENDED to
>> disable the DNS Cookies when privacy is required.
> 
> I don't quite understand this.
> 
> The proposed way of constructing a client cookie:
> 	Client-Cookie = MAC_Algorithm(Server IP Address, Client Secret )
> 
> means that if a host moves between networks it is quite likely it will
> continue to use the same cookie. This allows a host to be tracked across
> networks.

This is true.  Including the Client IP in constructing the Client Cookie
was intended to deal with this, but this operation is impractical with
UDP; expensive at best and not suitable for high volume recursive to
authoritative traffic.

We could recommend it for stub to recursive traffic, for which the high
volume performance requirements are less of an issue... what do you think?

> Neither RFC 7873 nor this draft has text that requires the host to change
> the Client Secret when moving to a different link. 
> 
> Most DNS client software is general enough that we cannot rule out that it
> will be used on a mobile device.
> 
> So we reach then end of Section 3, which says '[...] simply RECOMMENDED
> to disable the DNS Cookies when privacy is required'
> 
> So it seems that this draft implicitly recommends that DNS client
> cookies are by default disabled and should only be enabled on hosts that have
> stable IP addresses.
> 
> If that's the intention, then maybe this can be stated explicitly in the
> introduction.>
> 
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
>