Re: [dane] An AD bit discussion (+concerns from glibc camp)

Viktor Dukhovni <viktor1dane@dukhovni.org> Thu, 27 February 2014 21:38 UTC

Return-Path: <viktor1dane@dukhovni.org>
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 B086C1A02F5 for <dane@ietfa.amsl.com>; Thu, 27 Feb 2014 13:38:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 BUr8PDWMXVMA for <dane@ietfa.amsl.com>; Thu, 27 Feb 2014 13:38:34 -0800 (PST)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) by ietfa.amsl.com (Postfix) with ESMTP id 3CD871A0292 for <dane@ietf.org>; Thu, 27 Feb 2014 13:38:34 -0800 (PST)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 427482AAC73; Thu, 27 Feb 2014 21:38:32 +0000 (UTC)
Date: Thu, 27 Feb 2014 21:38:32 +0000
From: Viktor Dukhovni <viktor1dane@dukhovni.org>
To: dane@ietf.org
Message-ID: <20140227213832.GZ21390@mournblade.imrryr.org>
References: <20140227034723.GA73861@mx1.yitter.info> <20140227041753.3509810773A8@rock.dv.isc.org> <20140227044213.GO21390@mournblade.imrryr.org> <alpine.LFD.2.10.1402270015320.6180@bofh.nohats.ca> <20140227054617.GP21390@mournblade.imrryr.org> <530F3A64.2000001@redhat.com> <20140227164014.GT21390@mournblade.imrryr.org> <20140227164201.GU21390@mournblade.imrryr.org> <530F9A3D.3070008@redhat.com> <530FA391.1070604@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <530FA391.1070604@redhat.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dane/o_PqimwC9HWTT60QfkolTnAXVxQ
Subject: Re: [dane] An AD bit discussion (+concerns from glibc camp)
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: dane@ietf.org
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: Thu, 27 Feb 2014 21:38:35 -0000

On Thu, Feb 27, 2014 at 09:44:01PM +0100, Petr Spacek wrote:

>>If we release a z-stream or y-stream glibc that inverts the definition
>>of `nameserver' from trusted to untrusted (doesn't use EDNS0+DO for
>>a query, and clears the AD bit) then applications in such a configuration
>>as described above that rely on the AD bit forwarding may cease to
>>function correctly.

A feature IMHO.  Document the change, and tell administrators how
to mark the resolver list trusted.  Enhance NetworkManager to be
able to write trusted resolv.conf files when the DNS server list
comes from a secure source.

>>That is why I do not want to change the existing meaning of `nameserver'
>>and why we should not change any of the existing meanings of entries in
>>/etc/resolv.conf. Thus for compatibility I suggest adding a new option
>>`untrusted' for use by such applications as NetworkManager to put
>>untrusted DNS server (acquired from untrusted DHCP results) into.

This fails open.  Given the dearth of DNSSEC applications that rely
on the AD bit, this is I think the right time to get the right
semantics.

No changes are required in end-applications, just system configuration
management, this is an easy problem that should be addressed.

Marking /etc/resolv.conf explicitly untrusted, in every case where
it is not, is I think too fragile.

-- 
	Viktor.