LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2006, 10:25 PM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,437

Rep: Reputation: 95
Question Problem with vsftpd option force_local_data_ssl=YES.


Hi i run vsftp with not problem. I activated these options:

ssl_enable=YES
force_local_logins_ssl=YES
rsa_cert_file=/usr/share/ssl/certs/vsftpd.pem

But when i use force_local_data_ssl=YES, then i got (gFTP output):

220 Bienvenue sur mon service FTP.
AUTH TLS

234 Proceed with negotiation.
SSL connection established using TLSv1/SSLv3 (DES-CBC3-SHA)
PBSZ 0

200 PBSZ set to 0.
PROT C

200 PROT now Clear.
USER fatcat

331 Please specify the password.
PASS xxxx
230 Login successful.
SYST

215 UNIX Type: L8
TYPE I

200 Switching to Binary mode.
PWD

257 "/home/fatcat"
Loading directory listing /home/fatcat from server (LC_TIME=fr_FR@euro)
PASV

227 Entering Passive Mode (192,168,0,2,59,42)
LIST -L

521 Data connections must be encrypted.
Invalid response '5' received from server.




I just spent two hours on it, that's why i request your help.
 
Old 02-09-2006, 06:23 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,437

Original Poster
Rep: Reputation: 95
Ok i got this error because my ftp client didn't accept encrypted data.
So i switched to lftp. I had to provide "set ssl-protect-data 1" at the end of /etc/lftp.conf.
Now it works. I can connect and transfer data. I checked ip packets with ethereal, and the data is encrypted.

Last edited by Linux.tar.gz; 02-10-2006 at 05:17 PM.
 
  


Reply


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
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 08:24 PM
Dual Boot Option Problem mikeCanada Mandriva 3 10-21-2004 02:26 PM
PPPd problem with IDLE option andresurzagasti Linux - Networking 0 09-01-2004 07:54 PM
Eterm configuration option problem Lamex Linux - Software 0 08-09-2004 09:17 PM
boot option problem genepaul Linux - Newbie 1 09-28-2001 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration