SUMMARY: Wu-ftpd 2.4.2b16 on Solaris 2.6

From: Frederic Piard (Frederic.Piard@erli.com)
Date: Wed Apr 29 1998 - 08:23:30 CDT


Thanks to all of you.

So there is problem (a bug :-) in this version of Wu-ftp. Maybe this
appears only on Solaris-2.6 ? I don't know.
However it seems that a great number of you have'nt even seen this
problem.

The probleme is that in.ftpd does not accept a SINGLE argument. It is ok
with none, with 2, with 3, etc. but it does not work with just 1.

in /etc/inetd.conf :
ftp stream tcp nowait root /home//bin/in.ftpd in.ftpd ->
works fine but without the access file control
ftp stream tcp nowait root /home//bin/in.ftpd in.ftpd -a -l
-> works fine
ftp stream tcp nowait root /home//bin/in.ftpd in.ftpd -a ->
DOES NOT WORKS !!!

It seems to be a know bug.

How to bypass this bug. There is at least 4 ways to do it :

1) Do not use any arguments (the behavior of wu-ftpd will be the same as
an ordinary ftpd)
2) Install a patch. I havent' found it but someone mentioned it.
3) Use 2 arguments : "-a -l" or "-A -a"
4) Modify the source of ftpd.c in order to have the right default
behavior and do not use any arguments

As I wanted wu-ftpd to use the access file and I haven't had completly
understood the problem I use the last one.
In ftpd.c, starting line 277
change :
>/* Access control and logging passwords */ >/* OFF by default. _H*/ >int use_accessfile = 0;
by
>/* Access control and logging passwords */ >/* ON by default. _H*/ >int use_accessfile = 1;

Thanks to :
Carle Brisson <Carle@ViaNet.on.ca>
David Schiffrin <daves@adnc.com>
Chris Marble <cmarble@orion.ac.hmc.edu>
Patrick L. Nolan <pln@egret1.Stanford.EDU>
Pete Holsberg <pjh@mccc.edu>
John Keeton <j.e.keeton@larc.nasa.gov>
Robert G. Ferrell <rferrell@usgs.gov>
Michael Kriss <kriss@fnal.gov>
Sarantis Papanagnou spap@forthnet.gr
and to the mini help file of Michael Brennen <mbrennen@fni.com>
       at <ftp://ftp.fni.com/pub/wu-ftpd/guest-howto>
-------------------------------
My question was :

Dear Gurus,

I am trying to install wutfpd on one of our Solaris 2.6 workstation.
I have compiled it with Gcc-2.8.1 without any errors.

When I configure /etc/inetd.conf this way :
ftp stream tcp nowait root /home/local/Wu-ftpd/bin/in.ftpd
in.ftpd
it works but without all the advantages of wu-ftp.

When I configure /etc/inetd.conf this way :
ftp stream tcp nowait root /home/local/Wu-ftpd/bin/in.ftpd
in.ftpd -a
it does nt works anymore.

each time I do a single ftp to my station I get :
# ftp safran
Connected to safran.
421 Service not available, remote server has closed connection
ftp>
and this is written in my /var/adm/message :
Apr 28 17:48:10 safran ftpd[19614]: exiting on signal 11

Do you know how to configure /etc/inetd.conf ?
Is there an obvious mistake somewhere ?
Did anyone succeed in using it ?

Thanks you very much for your answers, I am completly lost :-(((

 -Frederic Piard

Erli - 1 Place des Marseillais, 94227 Charenton-Le-Pont, Cedex, France
E-mail : Frederic.Piard@erli.fr - WWW : <http://www.erli.fr>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:39 CDT