xref: /original-bsd/libexec/ftpd/CHANGES (revision 95407d66)
1This version of ftpd has been fixed to conform to RFC959.
2
3Unfortunately, this conformance introduces a user visible change.  While
4technically, this is the fault of the client (ftp) instead of the server
5(ftpd), the change will be seen whenever an old ftp client calls a new ftpd
6server.
7
8The problem is that the old ftpd implemented the NLST command by execing
9/bin/ls.  This produced non-conformant output in some cases.  The new
10ftpd no longer executes /bin/ls for the NLST command as it has it's own
11built-in code.
12
13The user visible change in the ftp behavior is caused by the ftp client
14"knowing" that the daemon will exec /bin/ls.  This assumption should not
15have been made.
16
17When the old ftp client is used, one of the options is the "ls" command
18which sends the command NLST to the ftpd server.  The client should really
19be sending the LIST command.  The new ftp client has been corrected to do
20this.
21
22NLST should not normally be used directly by humans.  It is intended to
23interface with commands like mget or mput.
24
25Users who are not able to upgrade their ftp client may obtain the previous
26behavior, by using the command "dir" instead of "ls".
27
28These changes only apply to those sites using code derived from the Berkeley
29software releases (which means almost every UNIX based implementation will
30see this problem).
31
32