Re: [dns-privacy] New Version Notification for draft-ghedini-dprive-early-data-01.txt

Alessandro Ghedini <alessandro@ghedini.me> Wed, 17 July 2019 13:35 UTC

Return-Path: <alessandro@ghedini.me>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC1D3120400 for <dns-privacy@ietfa.amsl.com>; Wed, 17 Jul 2019 06:35:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=ghedini.me
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 vnvWM_-l-_5r for <dns-privacy@ietfa.amsl.com>; Wed, 17 Jul 2019 06:35:46 -0700 (PDT)
Received: from blastoise.ghedini.me (blastoise.ghedini.me [IPv6:2001:19f0:6c01:a56:5400:1ff:fe4a:5694]) (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 7A2F11203F2 for <dns-privacy@ietf.org>; Wed, 17 Jul 2019 06:35:46 -0700 (PDT)
Received: from localhost (unknown [IPv6:2a06:98c0:1000:8250:d1fb:ce1b:6f8b:4e13]) by blastoise.ghedini.me (Postfix) with ESMTPSA id 6ACDDDF2AD; Wed, 17 Jul 2019 13:35:44 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ghedini.me; s=mail; t=1563370544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BcxU58vYTF7c/JBabks8HqMpb6cDZN2lopehU3rB/Sw=; b=iIPXzMfMIzS1YdF0eDfLnOdEaIfyVliK1wW0mJg/W6+FhoWpLRQaM/cOZhgdXkfYefn+p3 kDibzUszDO1HaoYNvDBlCzqgs1ypxfdUWIHdGtvG2WQIw/wKTtAdr63Z4NyWp79ixGVlhS F+Q+m+pnRVP8jOM2otc+VQ13tTohKCY=
Date: Wed, 17 Jul 2019 14:35:40 +0100
From: Alessandro Ghedini <alessandro@ghedini.me>
To: Dan Wing <danwing@gmail.com>
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Message-ID: <20190717133540.GA3647@wakko.flat11.house>
References: <156242998138.15238.11931955927978549044.idtracker@ietfa.amsl.com> <20190706164823.GA29462@pinky.flat11.house> <73435C5A-3819-4ED3-AC70-CF48AAF5CBA7@cable.comcast.com> <FA7E5FBD-5286-4BBD-A608-E1D6A6F9D14F@bangj.com> <B3A071DE-73C1-46D9-BA62-B06CBAC5BCD3@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <B3A071DE-73C1-46D9-BA62-B06CBAC5BCD3@gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/JbIr0cXUQKqiEPr6bf54tps7N5w>
Subject: Re: [dns-privacy] New Version Notification for draft-ghedini-dprive-early-data-01.txt
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Jul 2019 13:35:49 -0000

On Tue, Jul 09, 2019 at 08:24:28PM -0700, Dan Wing wrote:
> On Jul 9, 2019, at 7:15 PM, Tom Pusateri <pusateri@bangj.com> wrote:
> > This is relevant to the Push Notification draft we’re trying to wrap up.
> > 
> > In the last paragraph of section 4, it says:
> >   Not all types of DNS queries are safe to be sent as early data.
> >   Clients MUST NOT use early data to send DNS Updates ([RFC2136]) or
> >   Zone Transfers ([RFC5936]) messages.  Servers receiving any of those
> >   messages MUST reply with a "FormErr" response code.
> > 
> > There isn’t a reason or reference for this claim of not being safe. Can the authors expand on this?
> 
> Thanks for writing this up, Allesandro.
> 
> Tom, both of those DNS messages are not queries -- they change the state of the server.  The concern is replay attacks, I expect.  Text should be updated to be clear on why, for sure.

Fair enough, created https://github.com/ghedo/draft-ghedini-dprive-early-data/issues/3
to track this.

> Slightly later the text suggests a whitelist vs blacklist.  I think this needs to be in an IANA registry indicating which DNS messagese are allowed for early data.  Implementation guidance should encourage a whitelist on the server, IMHO.

I wonder though if a whole new registry is overkill, and we could maybe just add
a column to the existing RR types registry?

In any case I created https://github.com/ghedo/draft-ghedini-dprive-early-data/issues/2
to track this.

Cheers