From owner-freebsd-questions Tue Sep 21 1:10:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 604501515A for ; Tue, 21 Sep 1999 01:10:27 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11TL0E-0008bj-00; Tue, 21 Sep 1999 10:10:18 +0200 From: Sheldon Hearn To: Aaron Brandt Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Tcp Wrappers In-reply-to: Your message of "Mon, 20 Sep 1999 18:35:10 MST." Date: Tue, 21 Sep 1999 10:10:18 +0200 Message-ID: <33090.937901418@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Sep 1999 18:35:10 MST, Aaron Brandt wrote: > I am running 3.2 release, I have installed tcp wrappers and I cannot > for the life of me get it to work correctly. Uninstall TCP Wrappers. It's already in the base system. Grab the latest SSH port, which knows how to link against the TCP Wrappers in the base system. The TCP Wrappers in the base system use /etc/hosts.allow, not /usr/local/etc/hosts.allow. > sshd : domain : allow > sshd : domain@ : deny What's that? Have a look at the patterns section of the hosts_access(5) manpage: man 5 hosts_access You'll see that you can't specify some.domain.com, nor somedomain.com@ as legal patterns. If you can tell us what you want, we can help you fabricate some rules, but I'm pretty sure that you'll get it right once you've checked out that section of the manpage. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message