Subject: Fw: 2.5.0 Q

From: "Michael Cook" <[email-masked]>
Date: Thu, 27 May 1999 15:04:55 -0700

Hello all,
    I had several replies to my question, many of which asked "What do you
mean when you say it does not work?" When I try to connect to the target
server via ftp here is what I get:

# /~ > ftp www
Connected to www.
421 Service not available, remote server has closed connection

    As soon as I replace the binaries with the VR16 version, all is well
again.
        Thanks,
            Michael

----- Original Message -----
From: Michael Cook <[email-masked]>
To: WU-FTP List <[email-masked]>
Sent: Wednesday, May 26, 1999 12:26 PM
Subject: Fw: 2.5.0 Q

> Hello all,
>      I started with wu-ftp with the original beta 2.4.2 version. After the
>  security bulletin a couple of months ago, I upgraded to wu-ftp with VR 16
>  patches. To upgrade, I built the daemon on 1 machine with GCC, and then
>  tarred the binaries, ftp'd them to the target server (I don't want a
>  compiler on this one), untarred them and moved them to the directory
where
>  the old binaries lived. The only change I had to make was to add another
>  '-a' in inetd.conf and all worked perfectly.
>      I tried to do the same thing with 2.5.0. I compiled it from the
source
>  code with GCC changed to the bin subdirectory, tarred the binaries, ftp'd
>  them to the target server, untarred them there, and moved them to the
>  directory where the binaries live. FTP did not work after this. I tried
>  removing the extraneous '-a' and did a kill -1 on the inetd pid with the
>  same results. I also did a 'ckconfig' and all checked out OK.
>      The target server is a Sun Ultra Enterprise 2 running Solaris 2.6
with
>  TCP Wrappers. The compile server is the same with GCC 2.8.1.
>      Below is the line from /etc/inetd.conf that controls ftpd and my
>  ftpaccess file.
>      Please help!!
>          Thanks a million,
>              Michael
>
> > # /usr/local/bin/ftpd > grep ftpd /etc/inetd.conf
> > ftp     stream  tcp     nowait  root    /usr/sbin/tcpd
> > /usr/local/bin/ftpd/bin/ftpd -a -l -t 300 -T 600 -a
> >
> > # /usr/local/bin/ftpd > cat ftpaccess
> > # class   all   real,guest,anonymous  *
> > class all real,guest *
> > guestgroup dcr
> > limit all 10 Any /etc/msgs/msg.dead
> > loginfails 3
> > # readme README* login
> > # readme README* cwd=*
> > # message /welcome.msg login
> > # message .message cwd=*
> > # passwd-check <none|trivial|rfc822> [<enforce|warn>]
> > # passwd-check rfc822 enforce
> > # compress yes local remote
> > # tar yes local remote
> > # log commands real
> > # log transfers anonymous,real inbound,outbound
> > log commands real,guest
> > log transfers real,guest inbound,outbound
> > # shutdown /etc/shutmsg
> > # delete          yes     guest,anonymous         # delete permission?
> > # overwrite       no      guest,anonymous         # overwrite
permission?
> > # rename          yes     guest,anonymous         # rename premission?
> > # chmod           no      guest,anonymous         # chmod permission?
> > # umask           no      guest,anonymous         # umask permission?
> > delete yes guest,real
> > overwrite no guest
> > overwrite yes real
> > rename yes guest,real
> > chmod no guest
> > chmod yes guest,real
> > umask no guest
> > umask yes real
> > path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9._]*$^. ^-
> > email [email-masked]
>

---

From: Ted Keller <[email-masked]>
Date: Thu, 27 May 1999 18:22:52 -0400 (EDT)

Michael,

Just by chance, did you run ftpshut on the old server - and leave the
shutdown file out there somewhere?

Regardless, would probably be nice to....

in inetd.conf 

add the -a -l flags to the ftpd invocation. and - modify your syslog.conf
to force loging on *.info so that everything gets logged into your
messages file.  See if that tells you anything about what is going on.

Also, verify the executable you think is running is actually getting
executed.  ls -lu

ted keller