Subject: ftpd crashing when listing file with more than 23 chars (fwd)

From: Asher Frenkel <[email-masked]>
Date: Tue, 4 May 1999 17:36:28 +0300 (IDT)

Hello, 

I'm having problem with wu-ftpd VR17 on AIX 4.3.2, 

the ftpd process seem to crash whenever I'm listing a file with a name
bigger then 23 chars, as illustrated by the following:

Script command is started on Tue May  4 17:21:54 IDT 1999.
(MaX)//tmp>ftp ftp
Connected to max.ibm.net.il.
220 MaX.ibm.net.il FTP server ready.
Name (ftp:asher): httplogs
331 Password required for httplogs.
Password: 
230 User httplogs logged in.  Access restrictions apply.
ftp> cd /apache
250 CWD command successful.
ftp> dir searchbymedia-access_lo
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
-rw-------   1 0        12       6818040 May  4 1999  searchbymedia-access_lo
226 Transfer complete.
ftp> dir searchbymedia-access_log
200 PORT command successful.
421 Service not available, remote server has closed connection
ftp> quit
Script command is complete on Tue May  4 17:22:25 IDT 1999.

1. can this be reproduced by someone?
2. Can anyone suggest a fix? 

thanks,

--Asher

---

From: Gregory A Lundberg <[email-masked]>
Date: Tue, 4 May 1999 11:37:02 -0400 (EDT)

> 2. Can anyone suggest a fix? 

Turn on command logging and see which command was issued for the client's 
"dir" command.  Also, you might want to check out telnet.testing.HOWTO at
ftp://ftp.vr.net/pub/wu-ftpd/

Nobody has reported problems like you're seeing.  I'd check the build and
libraries used.  Maybe look for vendor patches.

Knowing the exact sequence of commands and the errors logged, if any, will
help a lot.

-- 

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