The Digital Rag
Real World Information in a Virtual World
Sign Up!
Login
Welcome to The Digital Rag
Friday, September 03 2010 @ 04:42 PM PDT

Proftpd timeout problem - solved

System Administration Tidbits

Over the past few months I've been moving many of the Linux systems I look after over to CentOS 5.2 - the latest free version of Red Hat's system.

One of the ongoing problems has been intermittant timeouts by some of the users of ftp. All of them use Proftpd.

After doing some tcpdump analysis, one customer and I noted that no matter what the settings in the proftpd.conf file, the system was doing a IDENT callout which was taking up to 30 seconds to time out.


I even tried installing an older version of Proftpd on one of this customers virtual machines; to no avail.

Now it turns out that, through some more digging by my customer (I hate it when they find stuff I didn't fined - but it doesn't happen often - thanks Denis) the problem is solved!

Xinetd - the replacement for inetd, the task spawner for incoming stream services that is one option for starting FTP sessions (the other is running a daemon all the time) has some options that cause IT (Xinetd) to do the callout to IDENT on the user's system.

If you take a look at the xproftpd or proftpd configuration file in /etc/xinetd.d you'll find a couple of lines for logging:

       log_on_success          += DURATION USERID
       log_on_failure             += USERID

If you comment these lines out, the problem goes away
 

From the xintetd.conf man page (man xinetd.conf):

                        USERID      logs the user id of the remote user  using
                                    the   RFC  1413  identification  protocol.
                                    This option is available only  for  multi-
                                    threaded stream services.

 

What's New

Stories

No new stories

Comments last 2 days

No new comments

Trackbacks last 2 days

No new trackbacks

Older Stories

Friday 02-Jul


Thursday 10-Jun


Tuesday 08-Jun


Friday 04-Jun


Tuesday 01-Jun


Sunday 30-May


Saturday 29-May


Friday 21-May

Ad

Poll

How do you like to find out news about the internet and computers?

  •  Newspaper
  •  Radio
  •  TV
  •  Web Search
  •  Favourite Web Site(s)
  •  Pod Cast
  •  Video Online
  •  Email List(s)
  •  RSS - Syndication
  •  Word of mouth
This poll has 0 more questions.
Results
Other polls | 4 votes | 0 comments

Upcoming Events

Stream 2010
Thu Sep 30, 2010
Streaming Media West 2010
Tue Nov 02, 2010

Event List