Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 21:01:45 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Didier Wiroth <didier.wiroth@mcesr.etat.lu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tcpwrappers problem
Message-ID:  <20050425205918.W43358@carver.gumbysoft.com>
In-Reply-To: <3fb1734a4ac3.4263b578@etat.lu>
References:  <3fb1734a4ac3.4263b578@etat.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Apr 2005, Didier Wiroth wrote:

> Hi,
> (using freebsd5.4-stable)
>
> I'm trying to display a ftpd banner with hosts.allow, but it doesn't work.
>
> I'm using ftpd (/usr/libexec/ftpd) started through inetd.
> Ined is started with standard flags:
> /usr/sbin/inetd -wW -C 60
>
> In hosts.allow I have:
> ALL : ALL : allow
> ALL : ALL : banners /usr/local/etc/banners/
> ALL : PARANOID : RFC931 20 : deny

I wouldn't use tcpwrapper banners if you're doing more than just bitching
out the user before kicking them off. Some FTP clients will just ignore
your banner since it won't conform to the FTP protocol specification.

If you want it to display when the user logs into your FTP server, put it
in /etc/ftpmotd. If you want your telnet client to see it, put it in
/etc/motd.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050425205918.W43358>