When I try to connect to a server with FTPS support, passive mode makes transfers hang. Hang happens both over IPv4 and IPv6. The connection status shows as "ESTABLISHED" in netstat on both sides. The problem doesn't occur without AUTH TLS, works over both IPv4 and IPv6. The problem doesn't occur with active mode neither, works over both IPv4 and IPv6. Server: ProFTPD 1.3.5, configured for FTPS The client is on the same network with the server, no firewall between them. FileZilla can transfer encrypted data in passive mode without problems. Reproducible: Always Steps to Reproduce: 1. Server with FTPS. 2. ftp -p 3. ls Actual Results: Connected to [...]. 220 ProFTPD 1.3.5 Server [...] Name [...]: **** 234 AUTH SSL successful [SSL Cipher ECDHE-RSA-AES256-GCM-SHA384] 331 Password required for **** Password: 230 User **** logged in Remote system type is UNIX. Using binary mode to transfer files. ftp> dir 227 Entering Passive Mode ([...]). 150 Opening ASCII mode data connection for file list <CONNECTION HANGS> Expected Results: Shouldn't hang. FileZilla can connect without problems.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dfd65fbf61b939b03a423fec88e9fec92810bd9 commit 9dfd65fbf61b939b03a423fec88e9fec92810bd9 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-12-11 20:51:31 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-12-11 21:32:31 +0000 net-ftp/ftp: drop 0.17.23.0.2.1 Closes: https://bugs.gentoo.org/551736 Closes: https://bugs.gentoo.org/646152 Closes: https://bugs.gentoo.org/713246 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> net-ftp/ftp/Manifest | 2 -- net-ftp/ftp/ftp-0.17.23.0.2.1.ebuild | 60 ------------------------------------ 2 files changed, 62 deletions(-)