From owner-freebsd-questions Mon Jul 27 14:53:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18669 for freebsd-questions-outgoing; Mon, 27 Jul 1998 14:53:51 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pobox.com (gyndine-62.mdm.mke.execpc.com [169.207.83.62]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA18555 for ; Mon, 27 Jul 1998 14:53:16 -0700 (PDT) (envelope-from hamilton@pobox.com) Message-Id: <199807272153.OAA18555@hub.freebsd.org> Received: (qmail 22588 invoked from network); 27 Jul 1998 16:55:28 -0500 Received: from localhost (HELO pobox.com) (127.0.0.1) by localhost with SMTP; 27 Jul 1998 16:55:28 -0500 To: David Wolfskill cc: dannyman@dannyland.org, freebsd-questions@FreeBSD.ORG Subject: Re: /etc/hosts.deny ALL: ALL not working In-reply-to: Your message of "Mon, 27 Jul 1998 10:01:25 PDT." <199807271701.KAA25148@pau-amma.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 27 Jul 1998 16:55:28 -0500 From: Jon Hamilton Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199807271701.KAA25148@pau-amma.whistle.com>, David Wolfskill wrote: } >Date: Sat, 25 Jul 1998 16:46:12 -0500 } >From: dannyman } } >Could someone give me a bit of advise as to just what it is that I am missin } g } >here? } } >... } } >Yes, I _do_ have the tcp_wrapper port installed, yes I experience this probl } em } >on -CURRENT and -STABLE ... it seems that /etc/hosts.(allow|deny) don't do } >anything no matter *what* I do to them, and yes I have RTFM 'til my eyes are } >bloody ... :< } } Be sure you RT *correct* FM. } } The port enables the "-DPROCESS_OPTIONS" flag, which means that an } "extended" control language is enabled. Salient points are: } } * TCP wrappers only uses a single file (which may be hosts.allow or } hosts.deny), and No. It is true that you _can_ set it up to do both denying and accepting from one file, but it doesn't have to be that way. As others have pointed out, the port uses control files in /usr/local/etc rather than in /etc. -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message