Re: [DNSOP] ALT-TLD and (insecure) delgations.

Brian Dickson <brian.peter.dickson@gmail.com> Thu, 09 February 2017 23:09 UTC

Return-Path: <brian.peter.dickson@gmail.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 73E721298A3 for <dnsop@ietfa.amsl.com>; Thu, 9 Feb 2017 15:09:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 UhXBNDCWqCA4 for <dnsop@ietfa.amsl.com>; Thu, 9 Feb 2017 15:09:48 -0800 (PST)
Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 51235129612 for <dnsop@ietf.org>; Thu, 9 Feb 2017 15:09:48 -0800 (PST)
Received: by mail-io0-x22a.google.com with SMTP id l66so36546961ioi.1 for <dnsop@ietf.org>; Thu, 09 Feb 2017 15:09:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ma7Z8abY/APalx2o0UvySj4vyNrMPwt9pzqhU0V22fA=; b=k/ehqdSKNfL5iQ4V6o3EryNhAVLkjjqgNjyjmmZDhxgQONAqbClxWa6wuzeH2TMRRn +DMetH47N6mgawNk5pxZ1CI7ic58HSiVWVhWFDmiJrQGUgzpespXkRjqTdfIWzx8aJul 7m/IevB4EIwhOJHo9vCTmHLfe9oWwky2fEJx6dyw7hK8m4r2YCmv53cQgNGQw1sJQm51 30xDsJK7mISIfD/ASgYtppElFcRo9QnygCvCd1tJ+ICcnUb+owKqqcyo2El0487Wc7FO LtpudBfNXGNkyGUIZq6qwDVk9xbIo2EY61Jngd+bQJOTEzl6qE5QWFBAdA+2lGax7cY2 UDMg==
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=ma7Z8abY/APalx2o0UvySj4vyNrMPwt9pzqhU0V22fA=; b=fKzTioQIJegdTn6EIeMzb63NUuTlmrGjH3p8MnT+8YPruizylivaNfBZL3Qnq323MD 6lcHOlGI9j8Q8VciGuhdNnDOP4ESch0Kr3cS5Z8rnZHGppsqM010+p55BDNs4WdwIWHO +sOJ+yztwhoL/NQCX+QQPBk6ylU24LSrCWcQXGT91iG6W79q0dQAZeel3ZHO1ABF17wD OlgftPWI9zHuH8xobCmXylLlGkAoldSJasekPwc0squmXs310S+yeuKWII+5cUhce+CK 0z4Fc7LmVDxwu3p9RtJVDRg+viAWh6Qi7gompYhtQwnv9onDcgTw4cuQbQiIK++uFsQO EpnQ==
X-Gm-Message-State: AMke39neegQT/wpcA0NFENn28q3+B1fnzowzkMFJ10t2ZbnWgUEWGGiLzE0QrqFjFJrTbjmbl6Nwg0BF2wHpvQ==
X-Received: by 10.107.16.14 with SMTP id y14mr5541455ioi.164.1486681787680; Thu, 09 Feb 2017 15:09:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.133.208 with HTTP; Thu, 9 Feb 2017 15:09:46 -0800 (PST)
In-Reply-To: <20170209224851.2FB1B63666E6@rock.dv.isc.org>
References: <20170207205554.B6974633BE40@rock.dv.isc.org> <18F2EB0D-5BD0-4CC5-B02C-2E5EA0B8CC23@fugue.com> <20170207214846.B66EF633C6C5@rock.dv.isc.org> <FB835756-2C46-40A9-88ED-2F8ADF812BA6@fugue.com> <20170208052544.862956356F33@rock.dv.isc.org> <FFAFD844-824C-44EA-A4B1-1AD28B4FE95C@fugue.com> <20170208060208.8C8E1635864D@rock.dv.isc.org> <E0A42577-0984-4ADD-8658-91413CBE783D@fugue.com> <20170208194208.DB02C635DD72@rock.dv.isc.org> <CAH1iCipA5nvWJqjdGUwJeeT_eU8EH8VYJU2hX1hJoiTb617K8Q@mail.gmail.com> <20170209163123.56hdbzaluekmvbh7@nic.fr> <20170209195722.DC1AB636586C@rock.dv.isc.org> <0394528C-99CD-41D4-9AB6-844D1318264C@gmail.com> <20170209204506.BC40D6365CBE@rock.dv.isc.org> <12D7473B-3A22-4A8D-9C13-2AEEDEABB879@fugue.com> <20170209224851.2FB1B63666E6@rock.dv.isc.org>
From: Brian Dickson <brian.peter.dickson@gmail.com>
Date: Thu, 09 Feb 2017 15:09:46 -0800
Message-ID: <CAH1iCiqi_xJjwXvsR-x76fcz20NiugnjYqameK1ZHWd+54SLpw@mail.gmail.com>
To: Mark Andrews <marka@isc.org>
Content-Type: multipart/alternative; boundary="001a113fece2d952b805482113d7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/6oxUs4yPFxRQ_Dtv2e060V6MiRM>
Cc: "dnsop@ietf.org WG" <dnsop@ietf.org>, Ted Lemon <mellon@fugue.com>
Subject: Re: [DNSOP] ALT-TLD and (insecure) delgations.
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: Thu, 09 Feb 2017 23:09:50 -0000

On Thu, Feb 9, 2017 at 2:48 PM, Mark Andrews <marka@isc.org> wrote:

>
> In message <12D7473B-3A22-4A8D-9C13-2AEEDEABB879@fugue.com>, Ted Lemon
> writes:
> >
> > On Feb 9, 2017, at 3:45 PM, Mark Andrews <marka@isc.org> wrote:
> > > At the moment we have Ted saying that if you want privacy you MUST
> > > also turn on DNSSEC validation and implement QNAME minimisation and
> > > implement agressive negative caching (still a I-D).
> >
> > No, I am _not_ saying that.   I am saying that an unsigned delegation
> > doesn't help with privacy unless you also specially configure your local
> > resolver, and if you are going to specially configure your local
> > resolver, then there are several options for how to do that.   The only
> > reason you need DNSSEC is that if you specially configure your local
> > resolver to lie, then DNSSEC validation will break that.   If you aren't
> > doing DNSSEC validation, you can say any old thing in your local resolver
> > and the stub will believe it.
>
>
Suppose a signed delegation for alt, to some widely operated, centrally
managed servers (say, the arpa servers).
Now suppose an unsigned delegation for some other name under alt, such as
"foo.alt", to an empty zone on the same set of servers.

The only difference here is where the unsigned delegation is, and what the
scope of that delegation is.

In this scenario, any local "foo.alt" can lie about the contents of
"foo.alt", because it is outside of the secure delegation chain from the
root.

The only difference is that the delegation is not directly from the root.

Any other name under "alt" would have its existence securely denied, unless
and until a request for an insecure delegation was made and approved.

Is there a problem with this scenario?


> And a signed answer doesn't help unless the recursive server is
> validating (so it can trust the NXDOMAIN) and has QNAME minimimistion
> (to prevent *.alt leaking in the first place) and has agressive
> negative caching (so the answer from the minimised QNAME query get
> turned into a answer for *.alt).
>
> Now we can put QNAME minimisation into a server.
> Now we can put the code to support agressive negative caching into a
> server.
> We can't force validation to be enabled.
>
> We need all three things for the privacy leakage to stop.  Any two
> alone doesn't stop it.
>


There's something I don't understand.

In the case where the local namespace (in your email, that would be "alt",
in my example above, that would be "foo.alt") is not configured, why does
leaking matter? Obviously the real local use case is "won't work - broken
config", and leaking is mostly moot.

In the case where the local namespace is instantiated, the queries won't
leak to the root, so privacy is assured.

Are you saying that leakage when the local namespace is non-existent, is
a/the issue?

I don't agree, if that is what you are asserting.
Queries for "rumplestiltskin.foo.alt" can't expect privacy, unless they are
using a resolver specifically configured for "foo.alt".
Note that defaulting to providing "empty.as112.arpa", and having the DNAME
to "alt.empty.as112.arpa", would further actually accomplish privacy,
without affecting the local instantiation of "foo.alt" via
"foo.alt.empty.as112.arpa".

Brian


>
> The alternative is to do a insecure delegation and build in a default
> empty zone for alt.  You then have to take steps to break the privacy
> leak by disabling the empty zone.  Additionally it works with all
> existing servers if they just add a empty .alt zone.  It doesn't
> require validation to be enabled.
>
> It's the difference between defaulting private or not.
>
> Mark
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org
>