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 06-12-2003, 04:16 PM   #1
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
proftpd slow with xinetd, but fast with standalone?


Hi,

I am running proftpd for quite some time now, and I am pretty happy with it.
However, I always had problems with slow logins...
This was due to reverse DNS lookup, and Identlookup, according to the different sites i found... So, i disabled these options. Didn't change a bit.

So, I was still looking for an answer, and by accident I discovered, that when I run proftp in standalone mode, instead of xinetd, it works without any logindelays...

So, I assume xinetd is the cause of the delay, but I didn't find anything about this on the net....

So I put my hope on you (again...)

I have a file called proftpd in the /etc/xinetd.d with this settings in it:


service ftp
{
disable = no
flags= REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/proftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}


Eventually there is a login coming up, but it takes a long time.
Anyone has ideas why xinetd takes so long to start the proftpd?

Strange thing however is, that when I open an ftp session I almost directly see the proftp-banner, but then it takes about 10 to 20 seconds before a login-prompt is shown. Also in the log-file, I see that the first message that proftpd started, shows up at the same time that a login-prompt is shown...

Last thing to mention: This only happens when I logon from outside my lan. But why does it respond and give a login immediately when in standalone mode (also from outside my lan?)

I am running on RH 7.3, behind a firewall, that is configured correctly ( I can use FTP from outside the lan, but login is slow)

I am really confused here, so anyone with suggestions is welcome!! (Very welcome!!!)
 
Old 07-09-2003, 05:18 PM   #2
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Original Poster
Rep: Reputation: 30
Since I still didn't find the answer, I just reply to get it back on top.. Anyone please ??
 
Old 07-09-2003, 09:51 PM   #3
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
not really sure if this will fix it - add your clients to the /etc/hosts file of your ftp server or implement a local DNS.

i believe xinetd is the one causing the delay. do you have any other xinetd controlled services expriencing the login delay?

or, why not just stick with the standalone setup?

r u satriani the guitar hero?
 
Old 07-11-2003, 06:07 AM   #4
guc
Member
 
Registered: Jul 2003
Posts: 34

Rep: Reputation: 15
satriani

for as much as i can remeber xinetd slows the whole thing down and it restricts you running certain functions of proftp wich can only be ran from standalone.

If the standalone works fine for you why even this post ? just use the standalone and all your worries are over



anyhow i'm quite new to linux myself and the only reason i installed it is to run a descent ftpserver to access my files from anywhere but i don't seem to find any good guide wich helps me step by step to get it running i've really looked all over the web, could you help me out ? i saw you are from the netherlands i'm from belgium myself could you mail me ? oink@mail.be i wanted to mail you but you have your adress hidden


thx in advance


guc
 
Old 07-11-2003, 03:39 PM   #5
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Original Poster
Rep: Reputation: 30
Born4Linux: I (seem to) run several xinetd services. I did not notice any delays on it, but I could be wrong.
i run a local DNS server, so that doesn't seem to be the prob either.
I run it in standalone mode now, however, i wanted to know why it ran so slow with xinetd....

guc: for a good ftp server, I would gladly help you. However, to do this by email, i don't believe it's fair to the users of this forum, who might want to do the same. Still, if you want to, i can help you with it. Lets just do it in this forum. If however, you don't feel comfortable sending configuration on this forum, Im happy to drop you an email. Just let me know. There are several servers for this, but as you might have understood already: i prefer proftpd....

I already helped some people with setting up an FTP server with proFTPd on this forum,, take a look at this thread

and this one

Sorry, forgot one link: there is a complete proftpd howto on this forum:
Just click here
Let me (us on the LQ-forum) know...

Last edited by Satriani; 07-11-2003 at 03:42 PM.
 
Old 07-13-2003, 07:00 PM   #6
guc
Member
 
Registered: Jul 2003
Posts: 34

Rep: Reputation: 15
Thumbs up

thx

the last link is the one i've been looking for all over the net

some descent explanation how to set up the conf
 
  


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
proFTPd using XINETD HELP!! sc_3007 Linux - Networking 2 08-03-2006 03:55 PM
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account dalesan Linux - Networking 3 10-14-2005 06:41 PM
proftpd and xinetd pfunk Linux - Networking 1 12-08-2004 01:59 AM
using vsftpd through xinetd or as standalone daemon (performance) markus1982 Linux - Software 0 02-11-2003 12:35 PM
Should I run samba server from xinetd or standalone? system Linux - Networking 0 12-19-2001 07:54 AM

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

All times are GMT -5. The time now is 02:07 PM.

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