From owner-freebsd-questions Wed Jan 24 22:26:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from greg.ad9.com (greg.ad9.com [64.161.198.140]) by hub.freebsd.org (Postfix) with ESMTP id 9C44C37B401; Wed, 24 Jan 2001 22:25:59 -0800 (PST) Received: from greg.ad9.com (nepolon@greg.ad9.com [64.161.198.140]) by greg.ad9.com (8.9.1a/8.9.1) with ESMTP id WAA23456; Wed, 24 Jan 2001 22:39:54 -0800 (PST) Date: Wed, 24 Jan 2001 22:39:54 -0800 (PST) From: Steve Lewis X-Sender: nepolon@greg.ad9.com To: Steve Price Cc: Kris Kennaway , questions@FreeBSD.ORG Subject: Re: ftp slow to connect In-Reply-To: <20010125001928.E95605@bonsai.knology.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 25 Jan 2001, Steve Price wrote: > > > > P.S. You're not running out of inetd, are you? > > > > > > Yes I am. I can't seem to get ftpd to start as a daemon for > > > some dang reason. :/ > > > > Then I bet it's inetd hanging, not ftpd. > > Okay, but it seems inetd has already handed of the request to > ftpd since I get the password prompt and then it hangs. Unless > I inetd is handling the authentication for ftpd then the problem > is most likely with ftpd and not the other way around. But heh, > I'll be glad to get this resolved so I'll investigate it further > and see what turns up. :) I thought of this too, but came to the same conclusion. The hang he is seeing is seemingly after inetd spawns the ftpd. I will bet that inetd is responsible for any rev-DNS that is occuring however, not the ftpd code itself. Another solution occurs to me: grab a more "robust" ftpd such as wu- where you can EXPLICITLY turn off rev-DNS lookups and where it can run outside of inetd... or you could also replace inetd with something more robust ( the DJB tcpserver tools for instance, see: http://cr.yp.to/ucspi-tcp.html ) and responsive. If you are already digging around in the ftpd source you might as well... --Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message