Uploads recortados VSFTPD

1

Instalado VSFTPD v2.3.2 em um Wheezy. Quando tento colocar qualquer coisa meu cliente ftp (filezilla v3.5.3) ele envia o arquivo por partes de 229376 bytes interrompidos por deconnexion / reconnexion até o en do upload. Isso é muito chato ...

Aqui está o vsftpd.conf:

listen=YES
use_localtime=YES
nopriv_user=ftpsecure
connect_from_port_20=YES
ssl_enable=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
ssl_ciphers=HIGH
rsa_cert_file=/etc/vsftpd/ssl/vsftpd.pem
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_world_readable_only=NO
local_enable=YES
local_umask=022
local_root=/var/www
user_config_dir=/etc/vsftpd/users
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 our ftp service.
dirmessage_enable=YES
message_file=.message
dirlist_enable=YES
ls_recurse_enable=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
tcp_wrappers=NO

Aqui estão os logs do vsftpd (1 ciclo):

Status: Connecting to ***.***.***.***:21...
Status: Connection established, waiting for welcome message...
Response:   220 welcome to our ftp service.
Command:    AUTH TLS
Response:   234 Proceed with negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command:    USER MyFTPLogin
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 /home/me/my_file.zip
Command:    CWD /MyServerFolder
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 (***,***,***,***,84,146).
Command:    LIST
Response:   150 Here comes the directory listing.
Response:   226 Directory send OK.
Command:    PASV
Response:   227 Entering Passive Mode (***,***,***,***,44,227).
Command:    REST 117440512
Response:   350 Restart position accepted (117440512).
Command:    STOR my_file.zip
Response:   150 Ok to send data.
Error:  Connection timed out
Error:  File transfer failed after transferring 229376 bytes in 20 seconds

E os logs do filezilla (1 ciclo também):

Status: Connecting to ***.***.***.***:21...
Status: Connection established, waiting for welcome message...
Response:   220 welcome to our ftp service.
Command:    AUTH TLS
Response:   234 Proceed with negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command:    USER MyFTPLogin
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 /home/me/my_file.zip
Command:    CWD /MyServerFolder
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 (***,***,***,***,84,146).
Command:    LIST
Response:   150 Here comes the directory listing.
Response:   226 Directory send OK.
Command:    PASV
Response:   227 Entering Passive Mode (***,***,***,***,44,227).
Command:    REST 117440512
Response:   350 Restart position accepted (117440512).
Command:    STOR my_file.zip
Response:   150 Ok to send data.
Error:  Connection timed out
Error:  File transfer failed after transferring 229376 bytes in 20 seconds

Se eu definir meu conf para poder usar conexões não seguras (force_local_data_ssl = NO e force_local_logins_ssl = NO), tudo funciona bem.

Você tem alguma explicação / solução para poder usar conexões seguras corretamente? Muito obrigado.

R.

    
por renoESAAIX 10.02.2015 / 15:35

0 respostas

Tags