Re: [DNSOP] DNSOP Call for Adoption - draft-west-let-localhost-be-localhost

"John Levine" <johnl@taugh.com> Tue, 12 September 2017 22:21 UTC

Return-Path: <johnl@taugh.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 9C89E132F5D for <dnsop@ietfa.amsl.com>; Tue, 12 Sep 2017 15:21:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 iIYDFoEQ-J-E for <dnsop@ietfa.amsl.com>; Tue, 12 Sep 2017 15:21:05 -0700 (PDT)
Received: from gal.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52F3212421A for <dnsop@ietf.org>; Tue, 12 Sep 2017 15:21:05 -0700 (PDT)
Received: (qmail 49007 invoked by uid 125); 12 Sep 2017 22:21:04 -0000
Received: from unknown (64.57.183.53) by gal.iecc.com with QMQP; 12 Sep 2017 22:21:04 -0000
Date: Tue, 12 Sep 2017 22:17:38 -0000
Message-ID: <20170912221738.1645.qmail@ary.lan>
From: John Levine <johnl@taugh.com>
To: dnsop@ietf.org
In-Reply-To: <CAHw9_iJL-Lc84GnMtOERM2oupVrMxKjoYGeumE9K77RwOE4uqQ@mail.gmail.com>
Organization:
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/PVDT4JAeB7vB3aPfc3Xz_NrC0L0>
Subject: Re: [DNSOP] DNSOP Call for Adoption - draft-west-let-localhost-be-localhost
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 12 Sep 2017 22:21:06 -0000

In article <CAHw9_iJL-Lc84GnMtOERM2oupVrMxKjoYGeumE9K77RwOE4uqQ@mail.gmail.com> you write:
>I think that this boils down to: It is an error to send a query for
>localhost (or anything under localhost) to the DNS. The main reason
>for this (at least from my reading of the thread) is a security
>argument -- you want to be completely sure that 'localhost' will
>always be 127.0.0.1 / ::1 / some local equivalent, and this is not a
>guarantee we can expect from the DNS[0]. Because of this it is better
>the have queries that accidentally *do* leak into the DNS get a
>failure (NXDOMAIN) - this avoids having (security important) cases
>work fine until there is an attacker.
>
>Is this a reasonable summary? Perhaps once we agree if *is* the
>behavior we want we'll have an easier time deciding exactly how...

Sounds right to me.

With respect to Tim's suggestion that we invent
localhost-we-really-mean-it-this-time, the existing localhost isn't
going away, and it is my impression that more often than not software
already does what this draft suggests.

R's,
John