It was 18/01/2007 00:27, when Clinton Foster wrote:

> However, when the server tries to send
> anything to the client on the data connection, as soon as the server closes
> the data connection the client gets an SSL handshaking error.  My theory is
> that the handshake is not happening immediately when the client makes the
> data connection to the server, so when the server sends the data the client
> mistakes it for the initiation of the handshake.

I've seen this behaviour, but only when the directory being listed
is empty.  When not using SSL, an empty directory listing will
result in the data connection being opened, and then closed without
any information being sent.

In SSL mode, then connection is closed before the SSL is negotiated
and any client will report a handshake error.

The RFC is ambiguous as to what should happen in this situation, and
although some UNIX FTP servers send a 550 response instead, I
believe this specifically breaks the RFC.

Does this tie up with what you are seeing?

Reply via email to