Help with proftpd/inetd

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Julian M Catchen
Date:  
Subject: Help with proftpd/inetd
Well, changing the hosts.allow to proftpd from ftp seems to have done the
trick. Thanks for the help.

Also, I am a big fan of ssh and scp and use the all the time. This server
will be for anonymous ftp -- but the ssh/scp plug needs to be reiterated
again and again :).

Thanks,

julian

On Fri, 08 Dec 2000 22:12:10 Larry Schmid wrote:
> On Friday 08 December 2000 19:13, you wrote:
> > Hey Everyone,
> >
> > I recently installed proftpd onto my system. I am having probles
> getting
> > it to work through inetd. I have the following line in my inetd.conf
> file:
> >
> > ftp     stream  tcp     nowait  root    /usr/sbin/tcpd 
> /usr/sbin/proftpd

> >
> > and then added the following line to my hosts.allow file:
> >
> > ftp: LOCAL
> >
> > When I try to log in, ftp localhost, I get the following:
> >
> > 421 Service not available, remote server has closed connection
> >
> > and this appears in /var/log/messages:
> >
> > topeka proftpd[16675]: refused connect from catchen@127.0.0.1
> >
> > When I change the hosts.allow file to ALL: ALL it works. Does anyone
> know
> > why this isn't?
>
>
> Try using the specific name of the daemon in hosts.allow. As in:
>
> proftpd: LOCAL
>
>
> Also, the LOCAL keyword matches any hostname without a dot. If the
> /etc/hosts file lists:
>
> 127.0.0.1    localhost.localdomain  localhost

>
> as some Linux distros default to, then your hostname will resolve to
> localhost.localdomain and the LOCAL keyword will cause tcpd to refuse
> connection.
>
> secure shell plug: Unless you have a specific circumstance in which you
> need
> ftp, you might consider installing ssh. The included scp (secure copy)
> allows encrypted authentication and transfers, as well as being able to
> transfer whole directory trees. ssh also works with tcp wrappers.
>
> HTH,
>
> Larry
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> post to the list quickly and you use Netscape to write mail.
>
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>