From owner-freebsd-questions Wed Sep 27 9:49:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from autobot.veldt.com (vi-216-128-57-99-l3-rb1.anhmcaidc.firstworld.net [216.128.57.99]) by hub.freebsd.org (Postfix) with ESMTP id C983237B423 for ; Wed, 27 Sep 2000 09:49:21 -0700 (PDT) Received: from jgorham.veldt.com ([208.230.81.246]) by autobot.veldt.com (8.9.3/8.9.3) with ESMTP id KAA04252 for ; Wed, 27 Sep 2000 10:49:19 -0600 (MDT) (envelope-from james@veldt.com) Message-Id: <5.0.0.25.2.20000927103559.00a5e020@autobot.veldt.com> X-Sender: james@autobot.veldt.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 27 Sep 2000 10:50:21 -0600 To: freebsd-questions@freebsd.org From: James Gorham Subject: hosts.allow Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings. My apologies for the 3 messages that jumped on the list yesterday, I was having problems with my ISP and DNS and they sat in the mailq for a few days then finally popped onto the list. I have a question about the hosts.allow file. I'm running FreeBSD 4.1-Release, and I use natd for IP aliasing. I have the freeBSD machine and two aliased machines behind the BSD box. I've got the hosts.allow file to refuse just about everything, but i'm trying to specifcy in the file specific services (ssh, pserver, pop3) for certain machines. currently, the only way I've gotten these machines is to just do a complete: ALL : ip.address : allow Doing specific services such as: popper: ip.address : allow Does not seem to work. I'm guessing I'm probably not naming the services correctly in the hosts.allow file, but I thought they came straight from inetd.conf. for instance, this is the entry for the CVS pserver in inetd.conf cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/usr/local/xxx pserver should this be listed in hosts.allow as: pserver : ip.address : allow or as: cvspserver : ip.address : allow The pop mail entry in inetd.conf looks like this; pop3 stream tcp nowait root /usr/local/libexec/qpopper popper But, I can only check popmail from machines other than the FreeBSD box if I have: ALL : ip.address : allow If i comment that line out, and try: popper : ip.address : allow It refuses. I've tried all combinations too, popper, popper3, pop3, pop. Nothing seems to work. Any ideas? -J To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message