https://issues.apache.org/bugzilla/show_bug.cgi?id=43231
rahul <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
--- Comment #4 from rahul <[EMAIL PROTECTED]> 2008-05-14 02:49:31 PST ---
1)-
The default ftpd that is distributed with Sun Solaris systems respond for SYST
with
215 UNIX Type: L8 Version: SUNOS
As you can see, SUNOS is the only string that distinguishes it as Solaris Ftpd.
There is no other string that identifies that it is indeed solaris.
On the other hand, most other popular ftpd do not bother to send a
Version: string at all
e.g
vsftpd (generally distributed with redhat) responds with
215 UNIX Type: L8
pureftpd
215 UNIX Type: L8
proftpd (generally the default in freebsd)
215 UNIX Type: L8
Also ,as far as I know, users do not generally replace the ftpd software
distributed along with Solaris systems.
2)-
My initial analysis was not complete, see the second comment.
The response of FTPD to both LIST and NLST on solaris is below
#-----------------------------------------------------------------------
[client side]
|telnet webproxy 21
Trying 10.12.147.90...
Connected to sunone090.
Escape character is '^]'.
220 sunone090.india.sun.com FTP server (Version wu-2.6.2+Sun) ready.
USER ftp
331 Guest login ok, send your complete e-mail address as password.
PASS me@
230 Guest login ok, access restrictions apply.
LIST
=================
PASV
227 Entering Passive Mode (10,12,147,90,69,160)
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
[client side 69 * 256 + 160 => 17824 ]
|telnet webproxy 17824
Trying 10.12.147.90...
Connected to sunone090.
Escape character is '^]'.
Connection to sunone090 closed by foreign host.
NLST
=================
PASV
227 Entering Passive Mode (10,12,147,90,157,229)
NLST
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
[client side 157 * 256 + 229 => 40421]
|telnet webproxy 40421
Trying 10.12.147.90...
Connected to sunone090.
Escape character is '^]'.
TT_DB
bin
codestriker
doxygen
doxygen-1.4.7
lost+found
lxr
mysql
nsr
o
praveen
reference
tbinstall
webproxy
Connection to sunone090 closed by foreign host.
#-----------------------------------------------------------------------
As you can see, solaris does not even respond with an error on LIST, rather it
behaves as if the command worked fine, and close the connection. Due to this
reason, we need to find if the system is solaris is before hand.
unfortunately NLST is not supported by some of the older ftp servers, so that
rules out using NLST instead in all cases.
3)-
SYST has an overhead, but it is not avoidable, almost all the ftpclients that I
have seen uses SYST and works around the incorrect implementations of the
popular ftpservers.
- the unfortunate fact is that unlike HTTP, quite a few major systems
implemented their FTPd before it became a standard (or used new commands before
it was added to the standard) the result being very different behaviors in even
the most basic commands. The mod_proxy_ftp will choke on quite a few of these
servers, the only alternative is to figure out the type of the system before
trying to fetch the data.
4)-
Yes Links and HTML escape should be done by the mod_index. We are not there
yet, but I hope to get it to work soon.
This patch only modifies the source just enough to get solaris ftp to work.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]