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

Andrew Sullivan <ajs@anvilwalrusden.com> Tue, 15 May 2012 11:13 UTC

Return-Path: <ajs@anvilwalrusden.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 51D3321F8721 for <dane@ietfa.amsl.com>; Tue, 15 May 2012 04:13:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.624
X-Spam-Level:
X-Spam-Status: No, score=-2.624 tagged_above=-999 required=5 tests=[AWL=-0.025, BAYES_00=-2.599]
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 dIX-HElFpeDV for <dane@ietfa.amsl.com>; Tue, 15 May 2012 04:13:24 -0700 (PDT)
Received: from mail.yitter.info (mail.yitter.info [208.86.224.201]) by ietfa.amsl.com (Postfix) with ESMTP id A806321F8618 for <dane@ietf.org>; Tue, 15 May 2012 04:13:24 -0700 (PDT)
Received: from mail.yitter.info (69-196-144-227.dsl.teksavvy.com [69.196.144.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yitter.info (Postfix) with ESMTPSA id 21A4C1ECB41C for <dane@ietf.org>; Tue, 15 May 2012 11:13:20 +0000 (UTC)
Date: Tue, 15 May 2012 07:13:18 -0400
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: dane@ietf.org
Message-ID: <20120515111318.GZ20521@mail.yitter.info>
References: <CABcZeBMY26xrfvAx=UsYN2XnuONZ2vPy9tNwHQALudd=yQDvgA@mail.gmail.com> <643D87CD-D01E-47B8-82E5-D3F57D50C80B@vpnc.org> <alpine.LFD.2.02.1205142229552.10990@bofh.nohats.ca> <CABcZeBMS9cJ3m6JwJED7XAqdsF=zbTUUU_o3-opiZvqMyr7mdw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABcZeBMS9cJ3m6JwJED7XAqdsF=zbTUUU_o3-opiZvqMyr7mdw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
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: Tue, 15 May 2012 11:13:25 -0000

On Mon, May 14, 2012 at 07:55:35PM -0700, Eric Rescorla wrote:
> 
> * secure, bogus, indeterminate, or insecure [specified in section 4.1]
> * no response, DNS error, etc. [the state in question here]
> 
> The relevant point here is that in the case where you were expecting
> DNSSEC but you get some error in the last category, then in order
> to get security benefit from restrictive modes, you must treat that as
> if it were bogus. That's different from cases where you weren't
> expecting DNSSEC (insecure, indeterminate), and therefore you
> should just be ignoring the TLSA records.

I think the reason I find this discussion difficult is that I don't
get this "expecting" thing.  With DNSSEC, you have _no idea_ what to
expect.  What you do is ask for something, and get a response or an
error.  Either it is validatable or not.  You can expect a
DNSSEC-signed response on the basis of the DS at the parent side.

In the cases you're talking about here, however, you still don't know
what to expect even if the A or AAAA record you fetched before was
signed and validated and so on.  You might get NOTIMP, for instance.
As Martin Rex argued, that response is strictly consistent with the
relevant RFCs even if many of us think that it's the wrong way for a
server to reply.  I agree that a TLSA answer in that case adds nothing
to the security; but "just ignore the TLSA records" (which, _ex
hypothesi_, you didn't get under the scenario) would seem to be an
argument for "fall through to traditional TLS processing".  I thought
that's what you wanted _not_ to happen?

Best,

A


-- 
Andrew Sullivan
ajs@anvilwalrusden.com