From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 05:02:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0575637B401 for ; Wed, 16 Apr 2003 05:02:51 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-122.pit.adelphia.net [24.53.161.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 348F943F3F for ; Wed, 16 Apr 2003 05:02:50 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h3GC2mJP018022; Wed, 16 Apr 2003 08:02:49 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3E9D4668.2030403@potentialtech.com> Date: Wed, 16 Apr 2003 08:02:48 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gavin Kenny References: <20030416092639.51257.qmail@web20703.mail.yahoo.com> In-Reply-To: <20030416092639.51257.qmail@web20703.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: FTP gone Slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 12:02:51 -0000 Gavin Kenny wrote: > Hi Guys, > > I have been running FBSD4.4 quite happily for a while > now and I have recently got this problem. > > When I FTP into my box it connects fine but then takes > ages before I get a login prompt. > > It never used to do this, the login prompt used to be > instantaneous. > > Any ideas what I have done to mess this up? Have you done any diagnostic testing at all? I know you didn't do any searching, as this is discussed on this list alone about every two weeks and you would have found it if you'd searched google. My first guess would be that your reverse DNS broke at some point. Generally what happens, is that the FTP daemon is waiting for an RDNS request to return so it has a hostname to put in the logs. If the RDNS is broken, it waits until timeout (30 sec is the norm I believe) before logging you in. Easy way to find out if this is the problem is the host command. host 55.55.55.55 (substitute your IP address for 55.55.55.55) If you don't get a hostname, this is likely to be the problem. -- Bill Moran Potential Technologies http://www.potentialtech.com