Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 15:30:59 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        Steve Price <sprice@hiwaay.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ftp slow to connect
Message-ID:  <20010125153059.A13062@grumpy.dyndns.org>
In-Reply-To: <20010125122239.N18587@bonsai.knology.net>; from sprice@hiwaay.net on Thu, Jan 25, 2001 at 12:22:39PM -0600
References:  <20010124221518.A49024@citusc17.usc.edu>; <20010125001928.E95605@bonsai.knology.net> <3A700C3D.29502.4A3ECA@localhost> <20010125122239.N18587@bonsai.knology.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010125153059.A13062>