#1  
Old 30th March 2009, 21:53
jonwatson jonwatson is offline
Senior Member
 
Join Date: Feb 2007
Posts: 176
Thanks: 15
Thanked 3 Times in 3 Posts
Default ProFTP W/ TLS Timing Out

Hi All,

I've been fighting with TLS and ProFTP for a while now. It seems to work for a while and then go into a tizzy where it stops allowing people to log in and just times out while attempting to get a directory listing. I'm the only person in the machine so whatever changes causes this to happen aren't done by a person as far as I can tell.

Here's an output of Filezilla attempting to connect:

Code:
Status:	Connecting to xx.xx.xx.xx:21...
Status:	Connection established, waiting for welcome message...
Response:	220 ProFTPD 1.3.0a Server (ProFTPD Default Installation) [xx.xx.xx.xx]
Command:	AUTH TLS
Response:	234 AUTH TLS successful
Status:	Initializing TLS...
Status:	Verifying certificate...
Command:	USER xxxx_xxxxxx
Status:	TLS/SSL connection established.
Response:	331 Password required for xxxx_xxxxxx.
Command:	PASS **********
Response:	230 User xxxx_xxxxxx logged in.
Command:	PBSZ 0
Response:	200 PBSZ 0 successful
Command:	PROT P
Response:	200 Protection set to Private
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/home/www/web20" is current directory.
Command:	TYPE I
Response:	200 Type set to I
Command:	PASV
Response:	227 Entering Passive Mode (xx,xx,xx,xx,218,178).
Command:	LIST
Error:	Connection timed out
Error:	Failed to retrieve directory listing
I am using the FTPES (Explicit) setting in Filezilla on port 21 but the FTPS (Implicit) does not work either.

I have tried both active and passive mode with the same results.

I have tried connecting directly to the IP rather than the hostname to eliminate DNS time outs with the same results.

I have tried connecting with the firewall running and with it off. When off, I can usually get a little farther in that I sometimes get a directory listing before it times out, but it still times out.

I have added a range of passive ports to the firewall and it hasn't helped.

I cannot find any useful information in the /var/log/messages file (or any other log file that I know of).

So, I am at a loss on how to figure this out now. Any ideas how to troubleshoot this?

Thanks

Jon
Reply With Quote
Sponsored Links
  #2  
Old 31st March 2009, 09:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,757
Thanks: 840
Thanked 5,603 Times in 4,414 Posts
Default

Did you try also to deactivate the complete firewall?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 31st March 2009, 15:27
jonwatson jonwatson is offline
Senior Member
 
Join Date: Feb 2007
Posts: 176
Thanks: 15
Thanked 3 Times in 3 Posts
Default

Hi Till,

Yes, I tried it with both the firewall running and completely turned off. When turned off, I seem to be able to get farther, but it still times out on the directory listings.

Thanks

Jon
Reply With Quote
  #4  
Old 31st March 2009, 18:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Is the server behind a router? If so, does the router forward all necessary ports?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 31st March 2009, 18:20
jonwatson jonwatson is offline
Senior Member
 
Join Date: Feb 2007
Posts: 176
Thanks: 15
Thanked 3 Times in 3 Posts
 
Default

Things are working now. Turns out that I forgot about a bug with TLS in Filezilla 3.1 in that it has problems connecting using TLS.

So....use another FTP client and all works...

Jon
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL_accept error with TLS popper2001 Server Operation 6 9th May 2014 11:57
Secure proftp by using tls tom Tips/Tricks/Mods 3 6th August 2008 15:09
Help with SASL TLS with Postfix using a database for user details james@thereidsonline.com Installation/Configuration 2 25th April 2008 14:48
TLS problem JimmiJames Server Operation 2 9th March 2007 22:10
Needing to restart proftp weekly? dabro General 1 20th June 2006 14:48


All times are GMT +2. The time now is 01:04.


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