FTP: proftpd and TLS session reuse

shpokas

Dabbler
Joined
Oct 3, 2014
Messages
32
Hi,
I upgraded one installation to TrueNAS over Easter and FTP sharing stopped working.
TLS is enabled and passive mode is ON and masquerade address is set and port range open in firewall.
And most importantly - everything was working just fine for years.

But after upgrade latest FileZilla client failed to connect with

Status: Resolving address of ftp.example.com
Status: Connecting to x.y.w.z:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (x.y.w.z,235,37).
Command: MLSD
Response: 150 Opening BINARY mode data connection for MLSD
Response: 425 Unable to build data connection: Operation not permitted
Error: Failed to retrieve directory listing

To fix this, I had to enable "TLS No Session Reuse Required" in service settings.
I thought this issue was fixed, literally, years ago in proftpd. ¯\_(ツ)_/¯
Is anyone else having this issue? Do I have to file a bug for this?
Thanks,
shpokas
 

m_oz

Cadet
Joined
Jan 16, 2022
Messages
1
Hi shpokas,

I have been having same problem after switching to Truenas. I tried your workaround and it worked for me as well.

I think truenas should fix this proftpd problem. However, I think there are few people like using ftp and they are not giving much attention to it.
 
Top