tcpwrappers problem

Doug White dwhite at
Mon Apr 25 21:01:46 PDT 2005

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

Doug White                    |  FreeBSD: The Power to Serve
dwhite at          |

More information about the freebsd-stable mailing list