From owner-freebsd-questions Thu Jan 25 13:31:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (user-24-214-56-129.knology.net [24.214.56.129]) by hub.freebsd.org (Postfix) with ESMTP id 358B637B6A1 for ; Thu, 25 Jan 2001 13:31:10 -0800 (PST) Received: (from dkelly@localhost) by grumpy.dyndns.org (8.11.1/8.11.1) id f0PLUxL13085; Thu, 25 Jan 2001 15:30:59 -0600 (CST) (envelope-from dkelly) Date: Thu, 25 Jan 2001 15:30:59 -0600 From: David Kelly To: Steve Price Cc: questions@FreeBSD.ORG Subject: Re: ftp slow to connect Message-ID: <20010125153059.A13062@grumpy.dyndns.org> References: <20010124221518.A49024@citusc17.usc.edu>; <20010125001928.E95605@bonsai.knology.net> <3A700C3D.29502.4A3ECA@localhost> <20010125122239.N18587@bonsai.knology.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010125122239.N18587@bonsai.knology.net>; from sprice@hiwaay.net on Thu, Jan 25, 2001 at 12:22:39PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jan 25, 2001 at 12:22:39PM -0600, Steve Price wrote: > On Thu, Jan 25, 2001 at 11:21:33AM -0600, jpaetzel@hutchtel.net wrote: > > > > If I take ftpd out of my inetd.conf and run /usr/libexec/ftpd -D then I > > am able to run ftpd as a background daemon and get normal > > connection behavior. (ie no lag to authenticate) Trying to start ftpd > > without the -D flag gives the error: getpeerbyname (./ftpd): Socket > > operation on non-socket. > > > > This leads me to believe that the "problem" is in inetd, not in ftpd. > > Still no dice here. I did figure out that in order to run ftpd as > a standalone processs I had to use 'ftpd -D4', but even then I still > see the 30+ second delay after typing in the password. :/ /etc/defaults/rc.conf shows inetd_flags="-wW", tcpwrapping is enabled, and this is where the reverse lookup could be happening? To match entries in /etc/{hosts.allow,hosts.deny}. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message