HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   How to setup FTP over SSL/TLS in Pure-FTPd (http://www.howtoforge.com/forums/showthread.php?t=49159)

Ventzy 30th September 2010 13:37

How to setup FTP over SSL/TLS in Pure-FTPd
 
I want all ftp connections to my server to be encrypted.

I found this http://www.howtoforge.com/forums/sho...81&postcount=3

But it gives me in FileZilla (on Vista):
Status: Connecting to IP:990...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Plain FTP connection to the server is OK.

I read http://download.pureftpd.org/pub/pur...doc/README.TLS and it says that pure-ftpd daemon must be started with "--tls=2", but I am not sure how to setup that.

I am using Ubuntu 10.04 and ISPConfig 3.0.2.2

Thanks.

falko 1st October 2010 16:26

Maybe you can set this in the PureFTPd init script in /etc/init.d/.

DUCKFACE 5th October 2010 10:33

simmilar problem ...
 
hello :)
i have simmilar problem
im tryin to run pureftpd wiht TLS

on echo 1 error is
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (10,8,0,1,154,133)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing

debug info - Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [INFO] New connection from aaa.bbb.ccc.ddd
Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [DEBUG] Command [user] [USER_1]
Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [DEBUG] Command [pass] [<*>]
Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [INFO] USER_1 is now logged in
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [opts] [UTF8 ON]
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [pwd] []
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [type] [I]
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [pasv] []
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [mlsd] []
Oct 5 11:36:28 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [INFO] Logout.


on echo 2 error is
Command: PASS *******************
Response: 530 Login authentication failed
Error: Critical error
Error: Could not connect to server

debug info - [WARNING] Sorry, cleartext sessions are not accepted on this server.#012Please reconnect using SSL/TLS security mechanisms.


on echo 3 error is
Response: 421 Sorry, cleartext sessions are not accepted on this server.
Error: Could not connect to server

debug info - [WARNING] Sorry, cleartext sessions are not accepted on this server.#012Please reconnect using SSL/TLS security mechanisms.

for 2 and 3 TLS the error is expected ...

ftp client is FileZilla for windows ..
where i get wrong ?

falko 6th October 2010 14:29

Do you use Debian or Ubuntu? If so, try this: http://www.howtoforge.com/forums/showthread.php?t=43509

DUCKFACE 8th October 2010 08:13

I am using Ubuntu 10.04 and ISPConfig 3.0.2.2
 
I am using Ubuntu 10.04 and ISPConfig 3.0.2.2

I have done the settings and ftp server is running with TLS but when i try to login i have this :
Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [INFO] New connection from aaa.bbb.ccc.ddd
Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [DEBUG] Command [user] [USER_1]
Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [DEBUG] Command [pass] [<*>]
Oct 5 11:36:07 server pure-ftpd: (?@aaa.bbb.ccc.ddd) [INFO] USER_1 is now logged in
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [opts] [UTF8 ON]
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [pwd] []
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [type] [I]
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [pasv] []
Oct 5 11:36:07 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [DEBUG] Command [mlsd] []
Oct 5 11:36:28 server pure-ftpd: (USER_1@aaa.bbb.ccc.ddd) [INFO] Logout.

means auth is ok ... ssl is ok ... but somethin in Error: Connection timed out

any ideas

falko 10th October 2010 19:14

Please try this: http://www.howtoforge.com/how-to-con...n-debian-lenny

xaver 20th January 2012 23:56

Hello,

i have the same problem and retry setup with 2 or 1 in config form ftp and restart and new cert wont help!

Problem found: Firewall in ISPConfig -> You need more Ports

regards
xaver

DUCKFACE 2nd April 2012 15:55

ports ...
 
how we manage with that problem?

kwickcut 2nd April 2012 17:16

have a look at this post it may help

http://www.howtoforge.com/forums/showthread.php?t=56349


All times are GMT +2. The time now is 21:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.