Date: Tue, 7 Mar 2000 17:03:20 -0500 From: Matt Heckaman <matt@ARPA.MAIL.NET> To: Jason Jenkins <jjenkins@skew2.kellogg.nwu.edu> Cc: freebsd-security@FreeBSD.ORG Subject: Re: hosts allow Message-ID: <Pine.BSF.4.21.0003071658080.1778-100000@epsilon.lucida.qc.ca> In-Reply-To: <Pine.HPP.3.95.1000307155027.20382A-100000@skew2.kellogg.nwu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
This matches on a first come first serve basis along the lines of ipfw, therefore you need to place your ALLOW rules /before/ your DENY rules for them to work as you want them to. So in other words: ALL : some.hostname : allow ALL : ALL : deny See hosts_access(5) and hosts_options(5) for more, hope that helps. Matt -- Matt Heckaman [matt@arpa.mail.net|matt@relic.net] [Please do not send me] !Powered by FreeBSD/x86! [http://www.freebsd.org] [any SPAM (UCE) e-mail] On Tue, 7 Mar 2000, Jason Jenkins wrote: : Date: Tue, 7 Mar 2000 16:53:15 -0500 : From: Jason Jenkins <jjenkins@skew2.kellogg.nwu.edu> : To: freebsd-security@FreeBSD.ORG : Subject: hosts allow : : Hi I have a question regarding the hosts.allow file. I am trying to simply : deny everyone access, and only allow certain people to access my machine. : So this is what I did: : : : ALL : ALL : deny : ALL : hostname : allow : : However, that did not seem to work. It would not allow me to log in from : IP. Anything i am doing wrong? : : : : To Unsubscribe: send mail to majordomo@FreeBSD.org : with "unsubscribe freebsd-security" in the body of the message : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003071658080.1778-100000>