From owner-freebsd-questions Sat Nov 7 05:31:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA03342 for freebsd-questions-outgoing; Sat, 7 Nov 1998 05:31:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA03336 for ; Sat, 7 Nov 1998 05:31:33 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.9.1/8.9.1) id IAA28156; Sat, 7 Nov 1998 08:31:20 -0500 (EST) Message-ID: <19981107083119.A28135@emu.sourcee.com> Date: Sat, 7 Nov 1998 08:31:19 -0500 From: "Norman C. Rice" To: Johann Visagie , Willow , freebsd-questions@FreeBSD.ORG Subject: Re: hosts.{deny|allow} References: <19981107092630.A17924@cityip.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19981107092630.A17924@cityip.co.za>; from Johann Visagie on Sat, Nov 07, 1998 at 09:26:30AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 07, 1998 at 09:26:30AM +0200, Johann Visagie wrote: > On Fri, 06 Nov 1998 at 13:23 SAST, Willow wrote: > > > > I'm trying to block access to our freebsd (2.2.7) boxes from several > > domains and not having any luck. I have read the man pages on > > hosts_optiosn and hosts_access and tried to follow along without success. > > If you have installed the tcp_wrappers port, then hosts.{allow,deny} will be > default be located in /usr/local/etc, not /etc. This has confused many > people. Perhaps the confusion is due to the hosts_access(5) manual page referring to /etc/hosts.allow and /etc/hosts.deny in the MOSTLY OPEN, BOOBY TRAPS, and FILES sections. -- Regards, Norman C. Rice, Jr. > > For your purposes, though, ipfw might be a better option than tcpd. > > -- V > > Johann Visagie | wjv@CityIP.co.za | Tel: +27 21 419-7878 | ICQ: 20645559 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message