From owner-freebsd-current@FreeBSD.ORG Wed Jun 21 09:17:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B3E716A474 for ; Wed, 21 Jun 2006 09:17:05 +0000 (UTC) (envelope-from mux@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A5FF43D66 for ; Wed, 21 Jun 2006 09:17:05 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id E9C381A4DBD; Wed, 21 Jun 2006 02:17:04 -0700 (PDT) Date: Wed, 21 Jun 2006 11:17:04 +0200 From: Maxime Henrion To: Tarc Message-ID: <20060621091704.GM8070@elvis.mu.org> References: <1150870137.78122.14.camel@spirit> <20060621082734.Q24109@beagle.kn.op.dlr.de> <20060621063816.GA32889@what-creek.com> <20060621000250.A6468@xorpc.icir.org> <20060621070739.GB35132@what-creek.com> <20060621002036.A6576@xorpc.icir.org> <20060621073123.GA35319@what-creek.com> <20060621100759.2371115a@marcin> <20060621083221.GL8070@elvis.mu.org> <20060621085346.GN65044@tarc.po.cs.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060621085346.GN65044@tarc.po.cs.msu.su> User-Agent: Mutt/1.4.2.1i Cc: Marcin Jessa , freebsd-current@freebsd.org Subject: Re: ~/.hosts patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 09:17:05 -0000 Tarc wrote: > On Wed, Jun 21, 2006 at 10:32:21AM +0200, Maxime Henrion wrote: > > Marcin Jessa wrote: > > > On Wed, 21 Jun 2006 07:31:23 +0000 > > > John Birrell wrote: > > > > > > > On Wed, Jun 21, 2006 at 12:20:36AM -0700, Luigi Rizzo wrote: > > > > > On Wed, Jun 21, 2006 at 07:07:39AM +0000, John Birrell wrote: > > > > > > The fact that a lot of innocent (naive) people don't use https > > > > > > and certificates?! > > > > > > > > > > and so they would happily click on > > > > > > > > > > Secure Link to > > > > > Your Bank > > > > > > > > > > so we are not opening much in terms of security holes... > > > > > > > > You are making it worse because you open a new security hole: > > > > > > > > www.paypal.com > > > > > > > > does not take them to the _REAL_ www.paypal.com. > > > > > > > > This is not an issue about phishing where: > > > > > > > > www.paypal.com > > > > > > > > makes it look like the link takes them to PayPal when it really > > > > doesn't. > > > > > > > > Most banks still don't use certificates even though they use HTTP. > > > > > > > > We need to retain the integrity of a DNS lookup. If there are any work > > > > arounds required for poor DNS lookups, then let an administrator > > > > configure them! > > > > > > Just add a global switch to enable/disable using of the ~/.hosts file > > > to i.e /etc/login.conf. > > > I personally find this feature very handy, especially on a desktop > > > with restricted access to the system. > > > > Better yet; the original author is currently working on making this a > > separate nss module. It can then be enabled/disabled at will through > > the nsswitch.conf file. > > > > I can understand the security concerns people have expressed in this > > thread, but once this functionality is available as a nss module they > > don't hold anymore. As far as I can see, noone intends to have this > > enabled by default, and it's not even clear it should be in the base. > > Having a nss_userfiles port or whatever is probably enough. > > > Yes, but the global capability must be there. Or you can say, how enable this ability (if it'll be nss port) only for several users/groups ?!! A per-user setting allowing to do what you're describing may be desirable and helpful, but it's not like it is absolutely required for this software to be usable. Such a feature can be added later if wanted. Cheers, Maxime