cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: OS400 ftp server related problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 11 Aug 2009 13:35:02 +0200 (CEST)

On Tue, 11 Aug 2009, Patrick Monnerat wrote:

> An additional test could be done on the server connect string to avoid
> and/or limit extra data exchanges. OS400 server always sends:
>
> 220 QTCP at host.doma.in
>
> I know this string is often configurable (although not in the OS400 case),
> and is supposed to identify the server rather than the OS, but again, who
> will pretend they run the wrong server?
>
> Your opinion ?

I think that solution feels a bit more uncertain since it would depend on text
basically in a free text comment field, so even while it propably works in
most cases in the wild I think it is has a lesser appeal to me.

Of course, if a false positive (someone faking that exact string in a
non-OS400 server) still would work I don't think it would harm much though.

-- 
  / daniel.haxx.se
Received on 2009-08-11