LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-02-2015, 06:46 AM   #1
renoesaaix
LQ Newbie
 
Registered: Apr 2014
Posts: 9

Rep: Reputation: Disabled
VSFTP/Filezilla some issues


Hi all,
I've an vsftp on a debian squeeze configurated with an ftp/tls connection and a autosigned certificate. The is no problem from home internet access but some ones from networks with a firewall (school, administration).

In fact I'm facing two different problems...

.: First problem from the school network, it's impossible to send easily files more than 500 Ko, from my home access I don't have any problems. The transfert begins and stop after more or less 260Kbytes. A pause of 20s and filezilla ask to overwrite the file in loop...

Log from vsftp :
Code:
Mon Feb  2 13:21:43 2015 [pid 15517] CONNECT: Client "192.xx.xx.xx"
Mon Feb  2 13:21:43 2015 [pid 15517] FTP response: Client "192.xx.xx.xx", "220 Welcome to the ftp service."
Mon Feb  2 13:21:43 2015 [pid 15517] FTP command: Client "192.xx.xx.xx", "AUTH TLS"
Mon Feb  2 13:21:43 2015 [pid 15517] FTP response: Client "192.xx.xx.xx", "234 Proceed with negotiation."
Mon Feb  2 13:21:44 2015 [pid 15517] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:21:44 2015 [pid 15517] FTP command: Client "192.xx.xx.xx", "USER art-school"
Mon Feb  2 13:21:44 2015 [pid 15517] [art-school] FTP response: Client "192.xx.xx.xx", "331 Please specify the password."
Mon Feb  2 13:21:44 2015 [pid 15517] [art-school] FTP command: Client "192.xx.xx.xx", "PASS <password>"
Mon Feb  2 13:21:44 2015 [pid 15516] [art-school] OK LOGIN: Client "192.xx.xx.xx"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "230 Login successful."
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP command: Client "192.xx.xx.xx", "OPTS UTF8 ON"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "200 Always in UTF8 mode."
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP command: Client "192.xx.xx.xx", "PBSZ 0"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "200 PBSZ set to 0."
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP command: Client "192.xx.xx.xx", "PROT P"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "200 PROT now Private."
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP command: Client "192.xx.xx.xx", "CWD /testfolder"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "250 Directory successfully changed."
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP command: Client "192.xx.xx.xx", "TYPE A"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "200 Switching to ASCII mode."
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP command: Client "192.xx.xx.xx", "PASV"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "227 Entering Passive Mode (188,165,239,193,80,76)."
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP command: Client "192.xx.xx.xx", "STOR test_file.zip"
Mon Feb  2 13:21:44 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "150 Ok to send data."
Mon Feb  2 13:21:44 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:05 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "Connection terminated without SSL shutdown - buggy client?"
Mon Feb  2 13:22:05 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: NONE"
Mon Feb  2 13:22:05 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:05 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:05 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:05 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL ret: 18446744073709551615, SSL error: error:00000000:lib(0):func(0):reason(0), errno: 0"
Mon Feb  2 13:22:05 2015 [pid 15520] [art-school] OK UPLOAD: Client "192.xx.xx.xx", "/testfolder/test_file.zip", 230645 bytes, 10.75Kbyte/sec
Mon Feb  2 13:22:05 2015 [pid 15520] [art-school] FTP response: Client "192.xx.xx.xx", "226 Transfer complete."
Mon Feb  2 13:22:05 2015 [pid 15517] [art-school] DEBUG: Client "192.xx.xx.xx", "Connection terminated without SSL shutdown - buggy client?"
Mon Feb  2 13:22:05 2015 [pid 15586] CONNECT: Client "192.xx.xx.xx"
Mon Feb  2 13:22:05 2015 [pid 15586] FTP response: Client "192.xx.xx.xx", "220 Welcome to the ftp service."
Mon Feb  2 13:22:05 2015 [pid 15586] FTP command: Client "192.xx.xx.xx", "AUTH TLS"
Mon Feb  2 13:22:05 2015 [pid 15586] FTP response: Client "192.xx.xx.xx", "234 Proceed with negotiation."
Mon Feb  2 13:22:05 2015 [pid 15586] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:05 2015 [pid 15586] FTP command: Client "192.xx.xx.xx", "USER art-school"
Mon Feb  2 13:22:05 2015 [pid 15586] [art-school] FTP response: Client "192.xx.xx.xx", "331 Please specify the password."
Mon Feb  2 13:22:05 2015 [pid 15586] [art-school] FTP command: Client "192.xx.xx.xx", "PASS <password>"
Mon Feb  2 13:22:05 2015 [pid 15584] [art-school] OK LOGIN: Client "192.xx.xx.xx"
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "230 Login successful."
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "OPTS UTF8 ON"
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "200 Always in UTF8 mode."
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "PBSZ 0"
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "200 PBSZ set to 0."
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "PROT P"
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "200 PROT now Private."
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "CWD /testfolder"
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "250 Directory successfully changed."
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "TYPE I"
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "200 Switching to Binary mode."
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "PASV"
Mon Feb  2 13:22:05 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "227 Entering Passive Mode (188,165,239,193,242,73)."
Mon Feb  2 13:22:06 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "LIST"
Mon Feb  2 13:22:06 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "150 Here comes the directory listing."
Mon Feb  2 13:22:06 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:06 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: NONE"
Mon Feb  2 13:22:06 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:06 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: 3"
Mon Feb  2 13:22:06 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "226 Directory send OK."
Mon Feb  2 13:22:09 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "TYPE A"
Mon Feb  2 13:22:09 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "200 Switching to ASCII mode."
Mon Feb  2 13:22:09 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "PASV"
Mon Feb  2 13:22:09 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "227 Entering Passive Mode (188,165,239,193,121,228)."
Mon Feb  2 13:22:09 2015 [pid 15588] [art-school] FTP command: Client "192.xx.xx.xx", "STOR test_file.zip"
Mon Feb  2 13:22:09 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "150 Ok to send data."
Mon Feb  2 13:22:10 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:30 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "Connection terminated without SSL shutdown - buggy client?"
Mon Feb  2 13:22:30 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: NONE"
Mon Feb  2 13:22:30 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:30 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:30 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:30 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL ret: 18446744073709551615, SSL error: error:00000000:lib(0):func(0):reason(0), errno: 0"
Mon Feb  2 13:22:30 2015 [pid 15588] [art-school] OK UPLOAD: Client "192.xx.xx.xx", "/testfolder/test_file.zip", 230645 bytes, 10.73Kbyte/sec
Mon Feb  2 13:22:30 2015 [pid 15588] [art-school] FTP response: Client "192.xx.xx.xx", "226 Transfer complete."
Mon Feb  2 13:22:30 2015 [pid 15586] [art-school] DEBUG: Client "192.xx.xx.xx", "Connection terminated without SSL shutdown - buggy client?"
Mon Feb  2 13:22:30 2015 [pid 15596] CONNECT: Client "192.xx.xx.xx"
Mon Feb  2 13:22:30 2015 [pid 15596] FTP response: Client "192.xx.xx.xx", "220 Welcome to the ftp service."
Mon Feb  2 13:22:31 2015 [pid 15596] FTP command: Client "192.xx.xx.xx", "AUTH TLS"
Mon Feb  2 13:22:31 2015 [pid 15596] FTP response: Client "192.xx.xx.xx", "234 Proceed with negotiation."
Mon Feb  2 13:22:31 2015 [pid 15596] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:31 2015 [pid 15596] FTP command: Client "192.xx.xx.xx", "USER art-school"
Mon Feb  2 13:22:31 2015 [pid 15596] [art-school] FTP response: Client "192.xx.xx.xx", "331 Please specify the password."
Mon Feb  2 13:22:31 2015 [pid 15596] [art-school] FTP command: Client "192.xx.xx.xx", "PASS <password>"
Mon Feb  2 13:22:31 2015 [pid 15594] [art-school] OK LOGIN: Client "192.xx.xx.xx"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "230 Login successful."
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "OPTS UTF8 ON"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "200 Always in UTF8 mode."
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "PBSZ 0"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "200 PBSZ set to 0."
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "PROT P"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "200 PROT now Private."
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "CWD /testfolder"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "250 Directory successfully changed."
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "TYPE I"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "200 Switching to Binary mode."
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "PASV"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "227 Entering Passive Mode (188,165,239,193,113,235)."
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "LIST"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "150 Here comes the directory listing."
Mon Feb  2 13:22:31 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:31 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: NONE"
Mon Feb  2 13:22:31 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:31 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: 3"
Mon Feb  2 13:22:31 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "226 Directory send OK."
Mon Feb  2 13:22:34 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "TYPE A"
Mon Feb  2 13:22:34 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "200 Switching to ASCII mode."
Mon Feb  2 13:22:34 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "PASV"
Mon Feb  2 13:22:34 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "227 Entering Passive Mode (188,165,239,193,124,70)."
Mon Feb  2 13:22:34 2015 [pid 15598] [art-school] FTP command: Client "192.xx.xx.xx", "STOR test_file.zip"
Mon Feb  2 13:22:34 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "150 Ok to send data."
Mon Feb  2 13:22:34 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:38 2015 [pid 15604] CONNECT: Client "127.0.0.1"
Mon Feb  2 13:22:38 2015 [pid 15604] FTP response: Client "127.0.0.1", "220 Welcome to the ftp service."
Mon Feb  2 13:22:38 2015 [pid 15604] FTP command: Client "127.0.0.1", "QUIT"
Mon Feb  2 13:22:38 2015 [pid 15604] FTP response: Client "127.0.0.1", "221 Goodbye."
Mon Feb  2 13:22:39 2015 [pid 15501] [art-school] FTP response: Client "192.xx.xx.xx", "421 Timeout."
Mon Feb  2 13:22:39 2015 [pid 15498] [art-school] DEBUG: Client "192.xx.xx.xx", "Connection terminated without SSL shutdown - buggy client?"
Mon Feb  2 13:22:55 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "Connection terminated without SSL shutdown - buggy client?"
Mon Feb  2 13:22:55 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: NONE"
Mon Feb  2 13:22:55 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:55 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:55 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:55 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL ret: 18446744073709551615, SSL error: error:00000000:lib(0):func(0):reason(0), errno: 0"
Mon Feb  2 13:22:55 2015 [pid 15598] [art-school] OK UPLOAD: Client "192.xx.xx.xx", "/testfolder/test_file.zip", 230645 bytes, 10.73Kbyte/sec
Mon Feb  2 13:22:55 2015 [pid 15598] [art-school] FTP response: Client "192.xx.xx.xx", "226 Transfer complete."
Mon Feb  2 13:22:55 2015 [pid 15613] CONNECT: Client "192.xx.xx.xx"
Mon Feb  2 13:22:55 2015 [pid 15613] FTP response: Client "192.xx.xx.xx", "220 Welcome to the ftp service."
Mon Feb  2 13:22:55 2015 [pid 15596] [art-school] DEBUG: Client "192.xx.xx.xx", "Connection terminated without SSL shutdown - buggy client?"
Mon Feb  2 13:22:55 2015 [pid 15613] FTP command: Client "192.xx.xx.xx", "AUTH TLS"
Mon Feb  2 13:22:55 2015 [pid 15613] FTP response: Client "192.xx.xx.xx", "234 Proceed with negotiation."
Mon Feb  2 13:22:55 2015 [pid 15613] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:55 2015 [pid 15613] FTP command: Client "192.xx.xx.xx", "USER art-school"
Mon Feb  2 13:22:55 2015 [pid 15613] [art-school] FTP response: Client "192.xx.xx.xx", "331 Please specify the password."
Mon Feb  2 13:22:55 2015 [pid 15613] [art-school] FTP command: Client "192.xx.xx.xx", "PASS <password>"
Mon Feb  2 13:22:55 2015 [pid 15611] [art-school] OK LOGIN: Client "192.xx.xx.xx"
Mon Feb  2 13:22:55 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "230 Login successful."
Mon Feb  2 13:22:55 2015 [pid 15615] [art-school] FTP command: Client "192.xx.xx.xx", "OPTS UTF8 ON"
Mon Feb  2 13:22:55 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "200 Always in UTF8 mode."
Mon Feb  2 13:22:55 2015 [pid 15615] [art-school] FTP command: Client "192.xx.xx.xx", "PBSZ 0"
Mon Feb  2 13:22:55 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "200 PBSZ set to 0."
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP command: Client "192.xx.xx.xx", "PROT P"
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "200 PROT now Private."
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP command: Client "192.xx.xx.xx", "CWD /testfolder"
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "250 Directory successfully changed."
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP command: Client "192.xx.xx.xx", "TYPE I"
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "200 Switching to Binary mode."
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP command: Client "192.xx.xx.xx", "PASV"
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "227 Entering Passive Mode (188,165,239,193,118,108)."
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP command: Client "192.xx.xx.xx", "LIST"
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "150 Here comes the directory listing."
Mon Feb  2 13:22:56 2015 [pid 15613] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES128-SHA, not reused, no cert"
Mon Feb  2 13:22:56 2015 [pid 15613] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: NONE"
Mon Feb  2 13:22:56 2015 [pid 15613] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Mon Feb  2 13:22:56 2015 [pid 15613] [art-school] DEBUG: Client "192.xx.xx.xx", "SSL shutdown state is: 3"
Mon Feb  2 13:22:56 2015 [pid 15615] [art-school] FTP response: Client "192.xx.xx.xx", "226 Directory send OK."
Log from filezilla :
Code:
Status:	Connecting to 188.xx.xx.xx:21...
Status:	Connection established, waiting for welcome message...
Response:	220 Welcome to the ftp service.
Command:	AUTH TLS
Response:	234 Proceed with negotiation.
Status:	Initializing TLS...
Status:	Verifying certificate...
Command:	USER art-school
Status:	TLS/SSL connection established.
Response:	331 Please specify the password.
Command:	PASS ***********
Response:	230 Login successful.
Command:	OPTS UTF8 ON
Response:	200 Always in UTF8 mode.
Command:	PBSZ 0
Response:	200 PBSZ set to 0.
Command:	PROT P
Response:	200 PROT now Private.
Status:	Connected
Status:	Starting upload of /media/home/me/test_file.zip
Command:	CWD /testfolder
Response:	250 Directory successfully changed.
Status:	Retrieving directory listing...
Command:	TYPE I
Response:	200 Switching to Binary mode.
Command:	PASV
Response:	227 Entering Passive Mode (188,165,239,193,25,44).
Command:	LIST
Response:	150 Here comes the directory listing.
Response:	226 Directory send OK.
Command:	TYPE A
Response:	200 Switching to ASCII mode.
Command:	PASV
Response:	227 Entering Passive Mode (188,165,239,193,245,128).
Command:	STOR test_file.zip
Response:	150 Ok to send data.
Error:	Connection timed out
Error:	File transfer failed after transferring 230645 bytes in 20 seconds
.: The second problem, it's impossible to access to the ftp from an iMac on the school network (access works with Linux) and from any computers on another administrative network.

VSFTP log :
Code:
on Feb  2 12:26:29 2015 [pid 1516] CONNECT: Client "82.xx.xx.xx"
Mon Feb  2 12:26:29 2015 [pid 1516] FTP response: Client "82.xx.xx.xx", "220 Welcome to the ftp service."
Mon Feb  2 12:26:29 2015 [pid 1516] FTP command: Client "82.xx.xx.xx", "AUTH TLS"
Mon Feb  2 12:26:29 2015 [pid 1516] FTP response: Client "82.xx.xx.xx", "234 Proceed with negotiation."
Mon Feb  2 12:26:29 2015 [pid 1516] DEBUG: Client "82.xx.xx.xx", "SSL version: TLSv1/SSLv3, SSL cipher: AES256-SHA, not reused, no cert"
Mon Feb  2 12:26:29 2015 [pid 1516] FTP command: Client "82.xx.xx.xx", "USER art-school"
Mon Feb  2 12:26:29 2015 [pid 1516] [art-school] FTP response: Client "82.xx.xx.xx", "331 Please specify the password."
Mon Feb  2 12:26:29 2015 [pid 1516] [art-school] FTP command: Client "82.xx.xx.xx", "PASS <password>"
Mon Feb  2 12:26:29 2015 [pid 1514] [art-school] OK LOGIN: Client "82.xx.xx.xx"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "230 Login successful."
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "SYST"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "215 UNIX Type: L8"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "FEAT"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "211-Features:"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " AUTH SSL??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " AUTH TLS??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " EPSV??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " MDTM??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " PASV??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " PBSZ??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " PROT??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " REST STREAM??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " SIZE??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " TVFS??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", " UTF8??"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "211 End"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "OPTS UTF8 ON"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "200 Always in UTF8 mode."
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "PBSZ 0"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "200 PBSZ set to 0."
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "PROT P"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "200 PROT now Private."
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "PWD"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "257 "/""
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "TYPE I"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "200 Switching to Binary mode."
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "PASV"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "227 Entering Passive Mode (188,165,239,193,72,238)."
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP command: Client "82.xx.xx.xx", "LIST"
Mon Feb  2 12:26:29 2015 [pid 1518] [art-school] FTP response: Client "82.xx.xx.xx", "150 Here comes the directory listing."
Mon Feb  2 12:26:29 2015 [pid 1516] [art-school] DEBUG: Client "82.xx.xx.xx", "SSL_accept failed: error:00000000:lib(0):func(0):reason(0)"
Filezilla log:
Code:
Status:	Connecting to 188.xx.xx.xx:21...
Status:	Connection established, waiting for welcome message...
Response:	220 Welcome to the ftp service.
Command:	AUTH TLS
Response:	234 Proceed with negotiation.
Status:	Initializing TLS...
Status:	Verifying certificate...
Command:	USER art-school
Status:	TLS/SSL connection established.
Response:	331 Please specify the password.
Command:	PASS ***********
Response:	230 Login successful.
Command:	OPTS UTF8 ON
Response:	200 Always in UTF8 mode.
Command:	PBSZ 0
Response:	200 PBSZ set to 0.
Command:	PROT P
Response:	200 PROT now Private.
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/"
Command:	TYPE1
Response:	200 Switching to binary mode.
Command:	PASV
Response:	227 Entering Passive Mode (188,xx,xx,xx,62,98)
Command:	LIST
Response:	150 Here comes the directory listing.
Error:		GnuTLS error-15: An unexpected TLS packet was received.
Error:		Disconnected from server : ECONNABORTED - Connection failed
And here is the vsftpd.conf:
Code:
listen=YES
max_clients=10
max_per_ip=0
nopriv_user=ftpsecure
setproctitle_enable=YES
pasv_enable=YES
port_enable=NO
connect_from_port_20=YES
idle_session_timeout=60
data_connection_timeout=120
local_max_rate=0
ssl_enable=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
ssl_ciphers=HIGH
rsa_cert_file=/etc/vsftpd/ssl/vsftpd.pem
force_local_data_ssl=YES
force_local_logins_ssl=YES
require_ssl_reuse=NO
debug_ssl=YES
vsftpd_log_file=/var/log/vsftpd.log
syslog_enable=NO
xferlog_enable=YES
log_ftp_protocol=YES
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
allow_anon_ssl=NO
local_enable=YES
local_umask=022
local_root=/var/www
user_config_dir=/etc/vsftpd/users
local_max_rate=0
guest_enable=YES
guest_username=virtual
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
ftpd_banner=Welcome to the ftp service.
dirmessage_enable=YES
message_file=.message
dirlist_enable=YES
ls_recurse_enable=YES
download_enable=NO
write_enable=NO
force_dot_files=NO
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
tcp_wrappers=NO
If you have any idea...
Many thanks !!
 
Old 02-06-2015, 02:38 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,861

Rep: Reputation: 162Reputation: 162
Change force_local_data_ssl=NO and try it again.
 
Old 02-09-2015, 02:34 AM   #3
renoesaaix
LQ Newbie
 
Registered: Apr 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
I tried and force_local_data_ssl=NO do not change anything,
still impossible to send files more than 500Ko,
still impossible to connect to the ftp server.
 
Old 02-10-2015, 03:34 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,861

Rep: Reputation: 162Reputation: 162
Do you create the file, /etc/vsftpd.chroot_list? chroot is on.
 
Old 02-11-2015, 04:09 AM   #5
renoesaaix
LQ Newbie
 
Registered: Apr 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yes of course I've a chroot list and the file is well mentionned :
chroot_list_file=/etc/vsftpd.chroot_list

I bypassed the problem by putting
force_local_data_ssl=NO
force_local_logins_ssl=NO
and with a normal FTP connexion I don't have the problems.

But I prefer to have connexions through SSL,
so I still need to solve this issue...
 
Old 02-24-2015, 03:02 PM   #6
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,861

Rep: Reputation: 162Reputation: 162
If you want to set these two options to YES, the local FTP client has to use SSL connection, not normal connection.
 
Old 02-25-2015, 03:05 AM   #7
renoesaaix
LQ Newbie
 
Registered: Apr 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
If you take a look at my my first post, that was the options I had at the beginning.
force_local_data_ssl=YES
force_local_logins_ssl=YES
 
Old 02-26-2015, 02:28 PM   #8
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,861

Rep: Reputation: 162Reputation: 162
Is firewall on on server and client side? If so, try to turn it off and then try again.
 
Old 02-27-2015, 02:06 AM   #9
renoesaaix
LQ Newbie
 
Registered: Apr 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yes firewall Palo Alto on the client side, and no ftp or ssl packets are blocked by it.
Yes an iptable on the server and no rules to block ftp transactions.
But, as we never know, I'll take an accurate look on it after my vacation.
 
  


Reply

Tags
filezilla, ssl, tls, vsftpd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FileZilla Connection Issues mjt077 Linux - Newbie 16 04-02-2015 11:42 PM
Looking for FileZilla bscho Linux - Software 6 05-01-2014 04:38 PM
vsftp log timestamp issues straks Linux - Software 5 03-30-2011 03:15 AM
vsFTP Connection Issues rippeffect Linux - Server 3 05-20-2008 07:07 AM
VSFTP & Filezilla dudeman41465 Linux - Software 2 08-21-2006 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration