Subject: Fw: 2.5.0 Q

From: "Michael Cook" <[email-masked]>
Date: Wed, 26 May 1999 12:26:51 -0700

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: Gregory A Lundberg <[email-masked]>
Date: Wed, 26 May 1999 15:44:40 -0400 (EDT)

What are the symptoms of 'does not work'?

Also, there are now prebuilt binary Solaris 2.6 standard package files on
ftp.wu-ftpd.org which you could use instead unless you're changing options
when you build.

-- 

Gregory A Lundberg              Senior Partner, VRnet Company
1441 Elmdale Drive              [email-masked]
Kettering, OH 45409-1615 USA    1-800-809-2195

---

From: Chad Price <[email-masked]>
Date: Wed, 26 May 1999 14:54:29 -0500

At 12:26 PM 5/26/1999 -0700, Michael Cook wrote:
> removing the extraneous '-a' 

'-a' is _not_ extraneous. It is required to force the daemon to read and
use the ftpaccess file. If there are 2, then one of them is unnecesary.

>and did a kill -1 on the inetd pid with the

The man page indicates that -t300 and -T600 are the appropriate way to
specify these parameters.

>> # /usr/local/bin/ftpd > cat ftpaccess

The default location for ftpaccess is in /etc . Have you done a strings of
the new daemon to see where it is looking for the ftpacess file?

My last question is: what do you mean "Doesn't work"  

>> path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9._]*$^. ^-

Chad Price
Systems Manager
University of Nebraska Medical Center
600 S 42nd St
Omaha, NE 68506-6495
[email-masked]
(402) 559-9527 
(402) 559-4077 (FAX)