I am not totally sure if the bug is in lftp or in openssl...

Anyway, here is how to reproduce it : just connect to an ftps server
where you can access a directory tree with lots of directories, and just
type "du ." at the root of the directories.
lftp seems to negociate a new secure connection everytime it changes its
directory and you get :
Jan 07 18:02:11 mod_tls/2.0.7[15422]: starting TLS negotiation on data
connection
in the log for mod_tls.
After about 80-85 changes like this, it crashes the server, tries to
reconnect just after this, and fails. Of course closing the connection
with ctrl-d and starting a new lftp process allows to connect again and
to reproduce the same problem !

I have this problem with both proftpd-1.2.10 and a windows ftp server.
For proftpd-1.2.10, the process handling the connection just segfaults!
For the windows server I don't know, I have no access to the logs.

I use lftp 3.0.13, libssl0.9.7e on debian testing.

Any help would be appreciated !

Reply via email to