Date: Wed, 16 Apr 2003 13:36:58 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: Are-Harald Brenne <are-harald.brenne@econ.uib.no> Cc: freebsd-questions@freebsd.org Subject: Re: hosts.allow wildcards for login.conf Message-ID: <20030416133334.Q96894-100000@hewey.af.speednet.com.au> In-Reply-To: <20030414233408.000042ad.are-harald.brenne@econ.uib.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Apr 2003, Are-Harald Brenne wrote: > I want to restrict ftp logins to computers on the 10.10. - network. > > >From the login.access manpage: > > host.allow list List of remote host wildcards from > which users in the class may access. > > How does this wildcard thing work? I tried 10.10., 10.10 and 10.10.0.0/16. > Which manpage says that? /etc/hosts.allow is your friend: # Provide a small amount of protection for ftpd ftpd : localhost : allow #ftpd : .nice.guy.example.com : allow #ftpd : .evil.cracker.example.com : deny ftpd : 10.10.0.0/255.255.0.0 : allow ftpd : ALL : deny -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030416133334.Q96894-100000>