Re: [dane] Behavior in the face of no answer?

Eric Rescorla <ekr@rtfm.com> Fri, 04 May 2012 19:48 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E249A21E805A for <dane@ietfa.amsl.com>; Fri, 4 May 2012 12:48:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.977
X-Spam-Level:
X-Spam-Status: No, score=-102.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x-28wLCXeVzd for <dane@ietfa.amsl.com>; Fri, 4 May 2012 12:48:56 -0700 (PDT)
Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id 45C0121E8056 for <dane@ietf.org>; Fri, 4 May 2012 12:48:56 -0700 (PDT)
Received: by vbbez10 with SMTP id ez10so2738621vbb.31 for <dane@ietf.org>; Fri, 04 May 2012 12:48:55 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding :x-gm-message-state; bh=ee81fCm49VdGnf1VI8n0sxoR76YLSSvciaFeGLmoN5U=; b=FLDwJFhARAp45x9f1doP02FpXMsKT+cweA40herbM03VDbeC9qIkQ2fyBInfhNCrPW kNClIDEtot6bZSBuHmzxnd77fhwpYwYgh7Opqd3yC9V2oAqu69wbevp2zS2J48bTlEwh a9asPVuYtK4WN8A35dVkFXX9Cy8tTNf1iWxH1seEoTaxzE/2Xpi9DT9IVAjTBMGJYhfp WxXD49zQztssg2vlGxSTl6Kyxk8cCxv4kTWAqjb+ffXG9S/xtASxR6qa4uHQAk4d91+S 8q+YNgEIBFBttylYFT+744hpZFaRbUGKnIEofY5lP0tOfaHdMryYnX+p+8HEjvizu8FS TB+A==
Received: by 10.52.70.209 with SMTP id o17mr1703269vdu.11.1336160935586; Fri, 04 May 2012 12:48:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.19.233 with HTTP; Fri, 4 May 2012 12:48:15 -0700 (PDT)
X-Originating-IP: [63.245.220.224]
In-Reply-To: <20120504194132.GF7394@mail.yitter.info>
References: <20120504021044.GB4560@mail.yitter.info> <B25C977F-6B4E-458C-879D-A36EDB94DA75@icsi.berkeley.edu> <20120504023602.GA4683@mail.yitter.info> <CABcZeBO93n_C5detefBcOjAoswe2inGKDj65gQPDQmREyGnhAw@mail.gmail.com> <20120504112922.GB4929@mail.yitter.info> <CABcZeBPTTa07iUHo9XL5WrHGMYHwaQzs6xYtiF25O4Jek8E3RQ@mail.gmail.com> <20120504144426.GD4929@mail.yitter.info> <CABcZeBOM_0L42Rng75AsVda9u4G=FH8=OB8Qg=nQpL-BzRoBuQ@mail.gmail.com> <20120504165512.GC7394@mail.yitter.info> <CABcZeBO4zRSa=JexqZ8uw7o26tM4SZk2GDivTAWD5ZF1pZR9Og@mail.gmail.com> <20120504194132.GF7394@mail.yitter.info>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 4 May 2012 12:48:15 -0700
Message-ID: <CABcZeBPhApOBNxBZfjJ9KSj7=_kZ6yL0gCnu5wkBVi+3yhAQJg@mail.gmail.com>
To: Andrew Sullivan <ajs@anvilwalrusden.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlg68dq9qvJobZu+PTkpWJHAdgLFcPec841+yFvG99drgQcKmsIAIKXZ1cs5oCgEJduxjKs
Cc: dane@ietf.org
Subject: Re: [dane] Behavior in the face of no answer?
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: DNS-based Authentication of Named Entities <dane.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dane>, <mailto:dane-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dane>
List-Post: <mailto:dane@ietf.org>
List-Help: <mailto:dane-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dane>, <mailto:dane-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 19:48:57 -0000

On Fri, May 4, 2012 at 12:44 PM, Andrew Sullivan <ajs@anvilwalrusden.com> wrote:
> On Fri, May 04, 2012 at 11:59:25AM -0700, Eric Rescorla wrote:
>
>> I'm sorry, I think we're still talking past each other. If you treat
>> non-response
>> the same way as you treat a validated empty RRSET, then a network
>> attacker can get the same effect (i.e., no DANE checks) by simple
>> suppressing DNS resolution.
>
> I likely wasn't clear enough.  I was not advocating treating
> non-response that way.   I was saying that "non-response" and "an
> empty answer" (i.e. an empty answer section in the DNS response)
> are not to be treated the same; somewhere else in the discussion it
> seemed that they were being collapsed.
>
> I believe it is possible to get a useful response that has nothing in
> the Answer, Authority, and Additional sections only if you trust your
> upstream, you trust the connection somehow, you set CD=0, and you get
> AD=1 on the response.  In that case, I believe it is a legitimate
> NODATA response (though I don't know of any implementation that works
> this way), and it is validated.  It means there is no TLSA record at
> that owner name, just like if you used CD=1 and got back an answer
> with (say) an NSEC3 record in the Authority.  If I sound tentative,
> it's because I haven't in the last 48 hours walked through the
> relevant RFCs in order to be perfectly sure that this is what a NODATA
> response looks like for a non-validated security-aware stub relying on
> upstream validation.  But I think this is right.
>
> In any case, if all of those necessary conditions aren't satisfied,
> then the answer is either bogus or indeterminate and you should react
> accordingly.  This is already covered in the existing draft.

Now I'm really confused. What do you think the draft says about "no response"

-Ekr