From owner-freebsd-questions Fri Nov 30 10:14:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pr0n.kutulu.org (pr0n.kutulu.org [151.196.107.157]) by hub.freebsd.org (Postfix) with ESMTP id 0A07C37B416 for ; Fri, 30 Nov 2001 10:14:16 -0800 (PST) Received: by pr0n.kutulu.org (Postfix, from userid 1000) id 890784C6; Fri, 30 Nov 2001 13:15:07 -0500 (EST) Date: Fri, 30 Nov 2001 13:15:07 -0500 From: Kutulu To: Todd Reed Cc: freebsd-questions@freebsd.org Subject: Re: Slow to open Telnet Connection Message-ID: <20011130131507.A37502@pr0n.kutulu.org> Mail-Followup-To: Todd Reed , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ex279@hotmail.com on Fri, Nov 30, 2001 at 11:52:01AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 30, 2001 at 11:52:01AM -0600, Todd Reed wrote: > When I try to telnet into my BSD box from a PC with a hub between the two, > why is it taking anywhere from 30seconds to 1 minute for the login screen to > appear? Once it appears and I log in, it's fast like it should be, but it > just takes forever to connect? This is a new box with FreeBSD 4.3, Apache, > > I can telnet into the other ports (110, 80, etc) really fast, but just a > regular telnet session is where is slows down. Aside from the fact that you shouldn't be using telnet (that's why god invented ssh!).. the most likely suspect is that you're PC isn't running an ident daemon. The telnet daemon is probably tcp wrapped, and thus doing both hostname and ident lookups in order to check the tcp wrapper's access files. You may also want to provide an IP -> hostname entry for your PC in the BSD machine's /etc/hosts file, as the reverse lookup could be causing a similar problem. You should be able to run telnetd in a debug mode and what what's going on behind the scene, to give you a better idea of what's going on. run telnetd from a command line with the -D report option, and it should display information to your client connection to report on it's status. This may help you track down any obscure problems. --K To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message