incubator-mod_ftp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <>
Subject Re: SYST response from Apache/mod_ftp
Date Fri, 26 Jan 2007 09:06:49 GMT
On Thu, 25 Jan 2007, William A. Rowe, Jr. wrote:

> SYS today responds
> 215 UNIX Type
> 215 Win32 Type

Is this something added very recently? Or am I missing something in my 
test config? (box is Ubuntu Dapper Linux i386):

500 SYS: Command not recognized

> Apparently Type is a header of sorts, most clients expect Type: L8
> so we are missing a suffix.  Those same clients grow stupid in the
> absence of Type: L8 (which I presume to mean left aligned eight bit
> data words.)
> Recommends all servers answer in the generic
> 215 UNIX Type: L8
> And I'm inclined to agree with his logic.

Agree. There are a multitude of "smart" clients out there that does 
outrageous stupid things if they misunderstand stuff.

>> From the client's perspective, Win32 Type and UNIX Type installs should
> appear identical, so I don't see a reason to make this exceptional.  In any
> case I'm inclined to believe Type without ": {code}" is a big flaw.
> 215 UNIX Type: L8 Server: "ApacheVersionString"
> would be more ornamental, respecting the user's configured ServerTokens.

Again, a surprisingly large amount of clients are braindead.

I think that the initial 220 reply telling you the ServerTokens is 
enough. This also seems to be the de-facto standard, so I see no 
reason to risk weird bugs cropping up with certain clients.

> So... opinion please...
> [ ] Reduce to 215 UNIX
> [X] Use 215 UNIX Type: L8
> [ ] Use 215 UNIX Type: L8 Server: "ServerTokens"

Motivated by the option of least surprises.

  Niklas Edmundsson, Admin @ {acc,hpc2n}      |
  Being one too many, Ensign Extra is booted off the Enterprise.

View raw message