I am the proud owner of a virtual server. It runs Debian Lenny.
Kernel 2.6.26-2-686
The ftp server is in.ftpd
The ftp server is started thru /etc/init.d/openbsd-inetd
When I start a session using ncftp client (command line) I get a listing all right. When I start an FTP session thru Krusader, I can connect, I can upload and download files, change directories, but I never get a directory listing.
Same thing happens when I access the FTP site using Firefox (Iceweasel).
I have tried this from 4 or 5 machines, all the same result. I do have a lot of other machines running various flavours of Debian, including Lenny, but no problems at all. I can access those machines with Opera, Firefox and Krusader and get directory listings.
jlinkels
These are the log files from the FTP server:
The first file is CORRECT using ncftp client:
Code:
Sep 18 20:37:05 193-78-84-152 ftpd[2404]: <--- 220
Sep 18 20:37:05 193-78-84-152 ftpd[2404]: 193-78-84-152.colo.transip.net FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17)
ready.
Sep 18 20:37:05 193-78-84-152 ftpd[2404]: command: USER jlinkels
Sep 18 20:37:05 193-78-84-152 ftpd[2404]: <--- 331
Sep 18 20:37:05 193-78-84-152 ftpd[2404]: Password required for jlinkels.
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: command: PASS ???
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: Linux 193-78-84-152 2.6.26-2-686 #1 SMP Thu Aug 19 03:44:10 UTC 2010 i686
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]:
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: The programs included with the Debian GNU/Linux system are free software;
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: the exact distribution terms for each program are described in the
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: individual files in /usr/share/doc/*/copyright.
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]:
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: permitted by applicable law.
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 230
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: User jlinkels logged in.
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: command: PWD
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 257
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: "/home/jlinkels" is current directory.
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: command: FEAT
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 500
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: 'FEAT': command not understood.
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: command: HELP SITE
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 214-
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: The following SITE commands are recognized (* =>'s unimplemented).
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: <--- 214
Sep 18 20:37:06 193-78-84-152 ftpd[2404]: Direct comments to ftp-bugs@193-78-84-152.colo.transip.net.
Sep 18 20:37:07 193-78-84-152 ftpd[2404]: command: CWD load_curves
Sep 18 20:37:07 193-78-84-152 ftpd[2404]: <--- 250
Sep 18 20:37:07 193-78-84-152 ftpd[2404]: CWD command successful.
Sep 18 20:37:07 193-78-84-152 ftpd[2404]: command: CLNT NcFTP 3.2.4 linux-x86-glibc2.10
Sep 18 20:37:07 193-78-84-152 ftpd[2404]: <--- 500
Sep 18 20:37:07 193-78-84-152 ftpd[2404]: 'CLNT NcFTP 3.2.4 linux-x86-glibc2.10': command not understood.
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: command: PASV
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: <--- 227
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: Entering Passive Mode (80,69,84,152,170,37)
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: command: LIST
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: <--- 150
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: Opening ASCII mode data connection for '/bin/ls'.
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: <--- 226
Sep 18 20:37:09 193-78-84-152 ftpd[2404]: Transfer complete.
The next log is from Krusader, it is incorrect:
Code:
Sep 18 20:38:18 193-78-84-152 ftpd[2406]: <--- 220
Sep 18 20:38:18 193-78-84-152 ftpd[2406]: 193-78-84-152.colo.transip.net FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17)
ready.
Sep 18 20:38:18 193-78-84-152 ftpd[2406]: command: USER anonymous
Sep 18 20:38:18 193-78-84-152 ftpd[2406]: <--- 331
Sep 18 20:38:18 193-78-84-152 ftpd[2406]: Guest login ok, send your complete e-mail address as password.
Sep 18 20:38:18 193-78-84-152 ftpd[2406]: command: pass ???
Sep 18 20:38:20 193-78-84-152 ftpd[2406]: <--- 530
Sep 18 20:38:20 193-78-84-152 ftpd[2406]: Login incorrect.
Sep 18 20:38:21 193-78-84-152 ftpd[2406]: <--- 221
Sep 18 20:38:21 193-78-84-152 ftpd[2406]: You could at least say goodbye.
Sep 18 20:38:21 193-78-84-152 ftpd[2408]: <--- 220
Sep 18 20:38:21 193-78-84-152 ftpd[2408]: 193-78-84-152.colo.transip.net FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
Sep 18 20:38:29 193-78-84-152 ftpd[2408]: command: USER jlinkels
Sep 18 20:38:29 193-78-84-152 ftpd[2408]: <--- 331
Sep 18 20:38:29 193-78-84-152 ftpd[2408]: Password required for jlinkels.
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: command: pass ???
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: Linux 193-78-84-152 2.6.26-2-686 #1 SMP Thu Aug 19 03:44:10 UTC 2010 i686
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]:
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: The programs included with the Debian GNU/Linux system are free software;
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: the exact distribution terms for each program are described in the
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: individual files in /usr/share/doc/*/copyright.
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]:
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230-
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: permitted by applicable law.
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 230
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: User jlinkels logged in.
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: command: SYST
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 215
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: UNIX Type: L8 (Linux)
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: command: PWD
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 257
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: "/home/jlinkels" is current directory.
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: command: TYPE I
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: <--- 200
Sep 18 20:38:30 193-78-84-152 ftpd[2408]: Type set to I.
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: command: PASV
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: <--- 227
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: Entering Passive Mode (80,69,84,152,180,241)
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: command: list -la
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: <--- 150
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: Opening BINARY mode data connection for '/bin/ls'.
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: <--- 226
Sep 18 20:38:31 193-78-84-152 ftpd[2408]: Transfer complete.
Sep 18 20:39:01 193-78-84-152 ftpd[2426]: <--- 220
This is the log from the Firefox session, also incorrect
Code:
Sep 18 20:39:01 193-78-84-152 ftpd[2426]: 193-78-84-152.colo.transip.net FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
Sep 18 20:39:01 193-78-84-152 ftpd[2426]: command: USER anonymous
Sep 18 20:39:01 193-78-84-152 ftpd[2426]: <--- 331
Sep 18 20:39:01 193-78-84-152 ftpd[2426]: Guest login ok, send your complete e-mail address as password.
Sep 18 20:39:01 193-78-84-152 ftpd[2426]: command: PASS ???
Sep 18 20:39:03 193-78-84-152 ftpd[2426]: <--- 530
Sep 18 20:39:03 193-78-84-152 ftpd[2426]: Login incorrect.
Sep 18 20:39:11 193-78-84-152 ftpd[2426]: command: USER jlinkels
Sep 18 20:39:11 193-78-84-152 ftpd[2426]: <--- 331
Sep 18 20:39:11 193-78-84-152 ftpd[2426]: Password required for jlinkels.
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: command: PASS ???
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: Linux 193-78-84-152 2.6.26-2-686 #1 SMP Thu Aug 19 03:44:10 UTC 2010 i686
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]:
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: The programs included with the Debian GNU/Linux system are free software;
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: the exact distribution terms for each program are described in the
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: individual files in /usr/share/doc/*/copyright.
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]:
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230-
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: permitted by applicable law.
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 230
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: User jlinkels logged in.
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: command: SYST
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 215
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: UNIX Type: L8 (Linux)
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: command: PWD
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 257
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: "/home/jlinkels" is current directory.
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: command: TYPE I
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: <--- 200
Sep 18 20:39:12 193-78-84-152 ftpd[2426]: Type set to I.
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: command: PASV
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: <--- 227
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: Entering Passive Mode (80,69,84,152,212,1)
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: command: SIZE /home/jlinkels/
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: <--- 550
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: /home/jlinkels/: not a plain file.
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: command: MDTM /home/jlinkels/
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: <--- 550
Sep 18 20:39:13 193-78-84-152 ftpd[2426]: /home/jlinkels/: not a plain file.
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: command: RETR /home/jlinkels/
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: <--- 550
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: /home/jlinkels/: not a plain file.
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: command: PASV
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: <--- 227
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: Entering Passive Mode (80,69,84,152,216,81)
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: command: CWD /home/jlinkels/
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: <--- 250
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: CWD command successful.
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: command: LIST
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: <--- 150
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: Opening BINARY mode data connection for '/bin/ls'.
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: <--- 226
Sep 18 20:39:14 193-78-84-152 ftpd[2426]: Transfer complete.