Subject: Re: ftpd never dies (again)
To: Eric Delcamp <>
From: Jukka Marin <>
List: tech-userlevel
Date: 03/28/1999 11:20:31
On Sat, Mar 27, 1999 at 09:22:59PM -0500, Allen Briggs wrote:
> > Hmm.  But if keepalive was working, shouldn't it kill the connection
> > sooner or later (and make ftpd die as well)?
> I just took a look at the code.  There is no keepalive explicitly set
> by ftpd, so if the server is waiting for data, it will never time out.
> The only timeouts appear to be on the initial connect and when waiting
> for a command.
> Setting keepalive on the socket would be the easiest fix for this.

Like I said, I am using tcpwrappers (well, it's built-in now) and have
specified the "keepalive" option for ftpd.  It _still_ doesn't work.

> Anyone object to the following patch?

Not me... ;)  I'll try it out and see if it helps in my case..