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
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
Depends on:
Reported: 2015-06-11 09:02 UTC by Zoltán Halassy
Modified: 2015-06-11 21:43 UTC (History)
1 user (show)

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


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
331 Password required for ****
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

Expected Results:  
Shouldn't hang. FileZilla can connect without problems.