Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 13:15:07 -0500
From:      Kutulu <kutulu@kutulu.org>
To:        Todd Reed <ex279@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Slow to open Telnet Connection
Message-ID:  <20011130131507.A37502@pr0n.kutulu.org>
In-Reply-To: <F192PPf3L9BGTuAyHsj0000f433@hotmail.com>; from ex279@hotmail.com on Fri, Nov 30, 2001 at 11:52:01AM -0600
References:  <F192PPf3L9BGTuAyHsj0000f433@hotmail.com>

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




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