LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-22-2010, 08:36 AM   #1
vrillusions
Member
 
Registered: Feb 2003
Location: Ohio, USA
Distribution: Ubuntu, Debian, CentOS
Posts: 99

Rep: Reputation: 15
Connections to proftpd server stall on authentication phase


This is on an Ubuntu 8.04 LTS server running proftpd v1.3.1

We have a client that's been having issues connecting to the ftp. After some investigations I noticed restarting proftpd fixed it for a while. I last restarted it yesterday. I came in this morning, ran ftpwho and this is the output I have:

Code:
standalone FTP daemon [25180], up for 18 hrs 54 min
26263 (none)   [10h48m] (authenticating)
26274 (none)   [10h48m] (authenticating)
26540 (none)   [ 7h47m] (authenticating)
26563 (none)   [ 7h46m] (authenticating)
27003 (none)   [14m25s] (authenticating)
Service class                      -   5 users
It should not spend 10 hours authenticating. Here are all the timeouts from config:

Code:
$ grep "^Timeout" /etc/proftpd/proftpd.conf 
TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			600
TimeoutStalled			600
We require TLS to connect to server. Typical login time is around 11 seconds. When does the timer for TimeoutSession start counting? Could set it to 2 hours which would be way longer than what they would have a single session open for. I have full session logging and only thing I'm seeing in logs are message about "Maximum login attempts (3) exceeded, connection refused" which is probably because of all these stale login attempts that are sitting around. If TimoutSession wouldn't fix it, what would? Thanks.

(edit)
I've since migrated to vsftpd. While the handling of virtual hosts in 8.04 is pretty much non existent right now this only involves one host so it's not all bad. Login time with vsftpd is almost instantaneous (I'm VNC'd into the computer I'm testing on so couldn't get exact time). I'll mention on here if things still aren't working.

Last edited by vrillusions; 01-22-2010 at 02:30 PM.
 
  


Reply

Tags
authentication, proftpd, timeouts


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
Irregular connections / request for authentication on open Samba server with Windows7 kleptophobiac Linux - Server 1 09-22-2009 04:50 AM
Proftpd with Mysql authentication on ubuntu server freddo Linux - Server 3 01-11-2008 01:57 AM
TCP connections stall after a while on FC5 Pepijn Schmitz Linux - Networking 7 12-09-2006 03:51 PM
TCP Connections stall through debian router BigWillyStyle42 Linux - Networking 3 05-13-2005 05:38 AM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 09:51 AM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration