LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-06-2015, 06:18 AM   #1
geekslinux
Member
 
Registered: Jun 2013
Posts: 63

Rep: Reputation: Disabled
vsftpd takes long time to authenticate


I have vsftpd(2.2.2-13) configured in RHEL 6.5 for local user with the below configurations. Now while loging into ftp from linux servers it authenticates quickly, but when loging in from
windows command prompt wiht ftp it takes 30-40 seconds to login. But when I try to login usign filezilla after accepting password after 30 seconds it says the error
"Connection timed out Error: Could not connect to server" after 20 seconds. Can anyone suggest where I went wrong.



anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/ftpusers
ls_recurse_enable=YES
listen=YES
local_root=/home/mail/
use_localtime=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
 
Old 07-06-2015, 08:27 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
My approach would be:
  • check the vsftpd logs
  • check if the Linux box can resolve the hostname of the Windows box
  • increase Filezilla's timeout if that's possible
  • try with another client, e.g. browser using ftp:// URL or a cygwin ftp client
  • run tcpdump or wireshark on the Linux server, wireshark on the Windows server to trace the packets on the connection. This looks like overkill but is actually not that hard to do and won't result in a huge amount of data if you limit the trace to packets between the two systems

My guess is that it has to do with authentication and delays related to get some information from the network. Filezilla is just a little bit more impatient than the command line client and therefore gives up.
 
  


Reply



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
java takes very long time abd_bela Programming 4 01-09-2012 07:34 AM
gdm takes a long time nkd Fedora 6 10-17-2008 02:38 PM
GDM takes a *long* time to start first time grumpybuffalo Linux From Scratch 2 09-09-2007 12:17 PM
Login takes a very long time Jensens Linux - Networking 2 03-23-2006 03:24 AM
login takes long time doorman007 Linux - Software 2 04-25-2005 12:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:21 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
Open Source Consulting | Domain Registration