Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551736 - net-ftp/ftp-0.17-r7: ssl + passive mode = connection hang
Summary: net-ftp/ftp-0.17-r7: ssl + passive mode = connection hang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-11 09:02 UTC by Zoltán Halassy
Modified: 2021-12-11 21:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltán Halassy 2015-06-11 09:02:57 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2021-12-11 21:40:35 UTC
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(-)