Re: [dane] AD bit handling in stub-resolvers: conclusions and compromises

Paul Wouters <paul@nohats.ca> Wed, 09 April 2014 01:42 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8397E1A0004 for <dane@ietfa.amsl.com>; Tue, 8 Apr 2014 18:42:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.272
X-Spam-Level:
X-Spam-Status: No, score=-2.272 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.272] autolearn=ham
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 v_njqmVvH12w for <dane@ietfa.amsl.com>; Tue, 8 Apr 2014 18:42:35 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) by ietfa.amsl.com (Postfix) with ESMTP id AE7841A0002 for <dane@ietf.org>; Tue, 8 Apr 2014 18:42:35 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 12DFF800C0; Tue, 8 Apr 2014 21:42:34 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1397007754; bh=yRu1lFXZGSl4lW9RWzg3+hFe9PKbSeUwKaOymQwzcW8=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Mx37A07cOgaATeKC8jOYhdW3QMM20I8MDSi5R45IWd6IiM63Rhz1Zl5hBnvz3eqOg jmK7g8oNmlJ92CblDcoNDLAN86e9B9MQBRdQ6K7j4GTO3IWiBxqpBBv8CygwP+R4sM IfgNtb2xc23dBsTFf52ZC3w3hk35tF3ZPMUQpb+A=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s391gXfX014448; Tue, 8 Apr 2014 21:42:33 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Tue, 08 Apr 2014 21:42:33 -0400
From: Paul Wouters <paul@nohats.ca>
To: Nico Williams <nico@cryptonector.com>
In-Reply-To: <CAK3OfOhc0b6Rk+4kmt8cDUN07S7C4aqEU_f_GjmtQGsgqa8j7g@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1404082141040.12777@bofh.nohats.ca>
References: <533EB433.5060204@redhat.com> <CAK3OfOhc0b6Rk+4kmt8cDUN07S7C4aqEU_f_GjmtQGsgqa8j7g@mail.gmail.com>
User-Agent: Alpine 2.10 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
Archived-At: http://mailarchive.ietf.org/arch/msg/dane/h0YjXm2w1PBaPufgdIEC_SE2mko
Cc: dane WG list <dane@ietf.org>
Subject: Re: [dane] AD bit handling in stub-resolvers: conclusions and compromises
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 09 Apr 2014 01:42:37 -0000

On Tue, 8 Apr 2014, Nico Williams wrote:

> We should want fail-closed semantics.  I very much prefer having a
> caching validating local server.  I don't mind making people (and
> configuration apps) explicitly set a global in /etc/resolv.conf to
> disable AD stripping.

>> After further discussion, it seems that pwouters is okay with AD bit
>> stripping in stub resolver if it is explicitly requested by a calling
>> application. (E.g. by special resolver initialization.)
>
> Again, we need fail-closed semantics.

You do if you are _asking_ for it. But you need to ask or else you break
backwards compatibility with a rack of servers using a nearby trusted
resolver.

Paul