Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 1999 16:15:40 -0500
From:      Lance Woodson <lance@cswnet.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: 3.2 hosts.allow Problems
Message-ID:  <378CFDFC.16B891CC@cswnet.com>
References:  <Pine.BSF.4.05.9907141132280.26955-100000@dt054n86.san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I want to be able to deny all conections except from three domains.
> However, everything is getting denied.  What am I doing wrong?

> /etc/hosts.allow
> ALL:           127.0.0.1:      ALLOW
> ALL:           .a.com:         ALLOW
> ALL:           .b.com:         ALLOW
> ALL:           .c.com:         ALLOW
> telnetd:       ALL:            banners /usr/local/etc/banners
> ALL:           ALL:            DENY

Now nothing is being denied.  To restart inetd, I am using "killall
inetd;inetd".

Thanks.
Lance


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378CFDFC.16B891CC>