Hi,
When Secure FTP option is set to FTPS in Admin Backup/Transfer the backup fail with an error "FTP information invalid", When Secure FTP option is set to NO, the backup is working like it should be.
Here is the ftp server log for secure connection:
log for unsecured connection:
As you can see, In FTPS (TLS) connection it's have a strange behavior, it's start with entering to EPSV mode and then to PASV mode, and finally - get stuck.
I've verified that it's not a ftp server side problem, I can connect and upload files with filezilla / flashfxp clients.
Any help will be very appreciated!
When Secure FTP option is set to FTPS in Admin Backup/Transfer the backup fail with an error "FTP information invalid", When Secure FTP option is set to NO, the backup is working like it should be.
Here is the ftp server log for secure connection:
Code:
Mon Oct 19 14:32:13 2015 [pid 12176] CONNECT: Client "37.19.X.X"
Mon Oct 19 14:32:13 2015 [pid 12176] FTP response: Client "37.19.X.X", "220 (vsFTPd 2.2.2)"
Mon Oct 19 14:32:13 2015 [pid 12176] FTP command: Client "37.19.X.X", "AUTH SSL"
Mon Oct 19 14:32:13 2015 [pid 12176] FTP response: Client "37.19.X.X", "234 Proceed with negotiation."
Mon Oct 19 14:32:13 2015 [pid 12176] FTP command: Client "37.19.X.X", "USER backup"
Mon Oct 19 14:32:13 2015 [pid 12176] [backup] FTP response: Client "37.19.X.X", "331 Please specify the password."
Mon Oct 19 14:32:13 2015 [pid 12176] [backup] FTP command: Client "37.19.X.X", "PASS <password>"
Mon Oct 19 14:32:13 2015 [pid 12175] [backup] OK LOGIN: Client "37.19.X.X"
Mon Oct 19 14:32:13 2015 [pid 12177] [backup] FTP response: Client "37.19.X.X", "230 Login successful."
Mon Oct 19 14:32:13 2015 [pid 12177] [backup] FTP command: Client "37.19.X.X", "PBSZ 0"
Mon Oct 19 14:32:13 2015 [pid 12177] [backup] FTP response: Client "37.19.X.X", "200 PBSZ set to 0."
Mon Oct 19 14:32:13 2015 [pid 12177] [backup] FTP command: Client "37.19.X.X", "PROT P"
Mon Oct 19 14:32:13 2015 [pid 12177] [backup] FTP response: Client "37.19.X.X", "200 PROT now Private."
Mon Oct 19 14:32:13 2015 [pid 12177] [backup] FTP command: Client "37.19.X.X", "PWD"
Mon Oct 19 14:32:13 2015 [pid 12177] [backup] FTP response: Client "37.19.X.X", "257 "/""
Mon Oct 19 14:32:14 2015 [pid 12177] [backup] FTP command: Client "37.19.X.X", "CWD /"
Mon Oct 19 14:32:14 2015 [pid 12177] [backup] FTP response: Client "37.19.X.X", "250 Directory successfully changed."
Mon Oct 19 14:32:14 2015 [pid 12177] [backup] FTP command: Client "37.19.X.X", "EPSV"
Mon Oct 19 14:32:14 2015 [pid 12177] [backup] FTP response: Client "37.19.X.X", "229 Entering Extended Passive Mode (|||21337|)."
Mon Oct 19 14:34:21 2015 [pid 12177] [backup] FTP command: Client "37.19.X.X", "PASV"
Mon Oct 19 14:34:21 2015 [pid 12177] [backup] FTP response: Client "37.19.X.X", "227 Entering Passive Mode (195,154,X,X,209,230)."
log for unsecured connection:
Code:
Mon Oct 19 14:30:12 2015 [pid 12148] CONNECT: Client "37.19.X.X"
Mon Oct 19 14:30:12 2015 [pid 12148] FTP response: Client "37.19.X.X", "220 (vsFTPd 2.2.2)"
Mon Oct 19 14:30:12 2015 [pid 12148] FTP command: Client "37.19.X.X", "USER backup"
Mon Oct 19 14:30:12 2015 [pid 12148] [backup] FTP response: Client "37.19.X.X", "331 Please specify the password."
Mon Oct 19 14:30:12 2015 [pid 12148] [backup] FTP command: Client "37.19.X.X", "PASS <password>"
Mon Oct 19 14:30:13 2015 [pid 12147] [backup] OK LOGIN: Client "37.19.X.X"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "230 Login successful."
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "PWD"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "257 "/""
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "FEAT"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "211-Features:"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " AUTH SSL??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " AUTH TLS??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " EPRT??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " EPSV??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " MDTM??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " PASV??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " PBSZ??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " PROT??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " REST STREAM??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " SIZE??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " TVFS??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " UTF8??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "211 End"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "HELP SITE"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "214-The following commands are recognized."
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " ABOR ACCT ALLO APPE CDUP CWD DELE EPRT EPSV FEAT HELP LIST MDTM MKD??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " MODE NLST NOOP OPTS PASS PASV PORT PWD QUIT REIN REST RETR RMD RNFR??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", " XPWD XRMD??"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "214 Help OK."
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "CLNT NcFTPPut 3.2.5 linux-x86_64-glibc2.17"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "500 Unknown command."
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "CWD /"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "250 Directory successfully changed."
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "TYPE I"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "200 Switching to Binary mode."
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "PASV"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "227 Entering Passive Mode (195,154,X,X,239,88)."
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "STOR user.bar.biz.tar.gz"
Mon Oct 19 14:30:13 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "150 Ok to send data."
Mon Oct 19 14:30:18 2015 [pid 12149] [backup] OK UPLOAD: Client "37.19.X.X", "/user.bar.biz.tar.gz", 4806810 bytes, 944.92Kbyte/sec
Mon Oct 19 14:30:18 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "226 Transfer complete."
Mon Oct 19 14:30:18 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "MDTM 20151019113006 user.bar.biz.tar.gz"
Mon Oct 19 14:30:18 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "213 File modification time set."
Mon Oct 19 14:30:18 2015 [pid 12149] [backup] FTP command: Client "37.19.X.X", "QUIT"
Mon Oct 19 14:30:18 2015 [pid 12149] [backup] FTP response: Client "37.19.X.X", "221 Goodbye."
As you can see, In FTPS (TLS) connection it's have a strange behavior, it's start with entering to EPSV mode and then to PASV mode, and finally - get stuck.
I've verified that it's not a ftp server side problem, I can connect and upload files with filezilla / flashfxp clients.
Any help will be very appreciated!