From owner-freebsd-security Wed Dec 12 10:46:52 2001 Delivered-To: freebsd-security@freebsd.org Received: from pa169.kurdwanowa.sdi.tpnet.pl (pa169.kurdwanowa.sdi.tpnet.pl [213.77.148.169]) by hub.freebsd.org (Postfix) with ESMTP id 0AE3E37B41F for ; Wed, 12 Dec 2001 10:46:46 -0800 (PST) Received: from velvet.zaraska.dhs.org (velvet.zaraska.dhs.org [192.168.11.2]) by pa169.kurdwanowa.sdi.tpnet.pl (Postfix) with ESMTP id 51D8B1DA7; Wed, 12 Dec 2001 18:41:27 +0100 (CET) Received: from velvet.zaraska.dhs.org (velvet.zaraska.dhs.org [127.0.0.1]) by velvet.zaraska.dhs.org (8.11.2/8.11.2) with SMTP id fBCIkHd01187; Wed, 12 Dec 2001 19:46:17 +0100 Date: Wed, 12 Dec 2001 19:46:17 +0100 From: Krzysztof Zaraska To: Rasputin , freebsd-security@freebsd.org Subject: Re: hosts.allow Message-Id: <20011212194617.1333e91f.kzaraska@student.uci.agh.edu.pl> In-Reply-To: <20011212182706.A21749@shikima.mine.nu> References: <20011212182706.A21749@shikima.mine.nu> Organization: University Of Mining And Metallurgy X-Mailer: Sylpheed version 0.6.2 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 12 Dec 2001 18:27:06 +0000 Rasputin wrote: > > > I just noticed I have a hosts.allow that is set up to all kinds of > wierd examples: > > > # hosts.allow access control file for "tcp wrapped" applications. > # $FreeBSD: src/etc/hosts.allow,v 1.8.2.5 2001/08/30 16:02:37 dwmalone Exp $ > > Should/is this enabled by default? At least my "stock" version [v 1.8.2.3 2000/07/20 15:17:44] had this near the top: # Start by allowing everything (this prevents the rest of the file # from working, so remove it when you need protection). # The rules here work on a "First match wins" basis. ALL : ALL : allow So the examples don't matter. But this default setup is insecure anyhow. Krzysztof To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message