I think the fix is as simple as
- setting ssl_active_flag = 0; at the end of void disconnect()
function in cmds.c
- setting ssl_active_flag = 0; at the end of void lostpeer(int)
function in main.c
- in ssl_init() function in ftp.c, before creating a SSL_new ssl_conn
free any old one:
package: netkit-ftp-ssl
Version: 0.17.23+0.2-1
When connecting to a secure ftp server, closing the connection, then
opening a new connection to either the same, or a different server,
the client fails. It reads the first 5 bytes of the control
connection (which will be the 220 message) and fails
2 matches
Mail list logo