Oh shit, I just updated my FileZilla to 3.40.0 and got this error.
Code: Select all
Status: Connecting to [HIDDEN]:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER HIDDEN
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of HIDDEN
Status: Connecting to [HIDDEN]:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 5 allowed.
Response: 220-Local time is now 14:35. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220 You will be disconnected after 60 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER HIDDEN
Error: Could not connect to server
I installed and configured pure-ftpd correctly via Ubuntu's official repository (apt install pure-ftpd) and my FTP server was working just fine before I update to this FileZilla version...
Code: Select all
$ systemctl status pure-ftpd
● pure-ftpd.service
Loaded: loaded (/etc/init.d/pure-ftpd; generated)
Active: active (running) since Sun 2019-01-27 14:26:10 +08; 12min ago
Docs: man:systemd-sysv-generator(8)
Process: 1058 ExecStart=/etc/init.d/pure-ftpd start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 1152)
CGroup: /system.slice/pure-ftpd.service
└─1091 pure-ftpd (SERVER)
Any workaround other than:
1. Pure-ftpd seems buggy, use other ftp server
2. Report the bug to Ubuntu package maintainers
3. Downgrade FileZilla version
So, how do I fix this "TLS connection was non-properly terminated" and make my server "properly terminate the TLS connection"?
I read the pure-ftpd's GitHub issues conversation and it was rather interesting...
"Filezilla starting with 3.40-rc1 is using TLSv1.3 only, pure-ftpd doesn't have support for TLSv1.3 yet. Let's hope that pure-ftpd is upgraded soon or Filezilla maintainer will add complementary support for TLSv1.2 with the newest version."
From what I understand in this thread, FileZilla isn't going to add a complimentary support for TLSv1.2...
I think, I'll uninstall the OS repo version and compile pure-ftpd from git. They seem to fix this
https://github.com/jedisct1/pure-ftpd/c ... 43c3be59ad but not officially release yet.
Edit: ahhh, nevermind that... i'm just too lazy to do manual compiling or wait the official release... i'll change to other ftp server instead..
/thanks