|
|||||||||||
|
system/3378: ftp-proxy fails processing some multiline server responses
From: <mayonez(at)ssnet.xim.pl>
Date: Tue Jul 29 2003 - 10:16:04 EDT
System : OpenBSD 3.3 Architecture: OpenBSD.i386 Machine : i386 >Description: ftp-proxy doesnt handle server responses properly. The problem occurs while dealing with multiline responses. When a non-first line begins with a number, it wrongly interprets the number as ftp response code which makes the next line (without number) produce the following failure: ftp-proxy[5871]: invalid server reply code 0 >How-To-Repeat:
$ ftp ftp.netbsd.org:/
The NetBSD Project FTP Server located in Redwood City, CA, USA
100 Mbps connectivity courtesy of , ,
/* because of ' 100' - error in processing the next line */
421 Service not available, remote server has closed connection.
ftp: Login failed. ftp: No control connection for command. ftp: Login failed. ftp: No control connection for command. ftp: Can't connect or login to host `ftp.netbsd.org' Most of ftp daemons send multiline reply like 220- 220- Welcome to SunSITE Alberta 220- so it's not a common problem >Fix:
...
>Release-Note:
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:30:06 EDT |
||||||||||
|
|||||||||||