[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ftpd
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: ftpd
- From: Camiel Dobbelaar <cd_(_at_)_sentia_(_dot_)_nl>
- Date: Sun, 16 Jun 2002 10:06:12 +0200 (CEST)
On Sat, 15 Jun 2002, Ben Goren wrote:
> On Sat, Jun 15, 2002 at 11:27:36PM +0200, Adam Naguszewski wrote:
> > my question is, if ftpd that comes with openbsd can read
> > hosts.deny, and why not =]
>
> This is a pretty solid ``RTFM.'' hosts.deny works in conjunction
> with inetd. ftpd can be run from inetd.
ftpd in daemon mode also obeys hosts.deny. An easy test is to check if
programs are linked with libwrap, the tcp-wrappers library:
zigzag$ ldd /usr/libexec/ftpd
/usr/libexec/ftpd:
...
-lwrap.2 => /usr/lib/libwrap.so.2.0 (0x40034000)
...
zigzag$ ldd `which sshd`
/usr/sbin/sshd:
...
-lwrap.2 => /usr/lib/libwrap.so.2.0 (0x401d3000)
...
--
Cam
Visit your host, monkey.org