From owner-freebsd-stable Fri Jun 30 19:54:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from deborah.paradise.net.nz (deborah.paradise.net.nz [203.96.152.32]) by hub.freebsd.org (Postfix) with ESMTP id 57F5837BC9E for ; Fri, 30 Jun 2000 19:54:02 -0700 (PDT) (envelope-from marki@paradise.net.nz) Received: from paradise.net.nz (203-79-95-49.apx0.paradise.net.nz [203.79.95.49]) by deborah.paradise.net.nz (8.10.1/8.10.1) with ESMTP id e612rti19437 for ; Sat, 1 Jul 2000 14:53:55 +1200 (NZST) Message-ID: <395D5D39.6EA1B8FE@paradise.net.nz> Date: Sat, 01 Jul 2000 14:53:45 +1200 From: Mark Ibell X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: [Fwd: telnet/tcp problems in 4.0-RELEASE] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It does appear to be a dns problem after all. After renaming resolv.conf to resolv.conf.bak the problem is cured, although only hosts in the hosts file can be looked up. The strange thing is that both the 'nslookup' & 'host' commands both appeared to retrieve the correct information from the dns server (for both forward and reverse lookups) on our network. The dns server could be a tad broken at it is running RedHat Linux. Another strange thing I discovered was that 'telnet localhost' caused nameserver queries, even though host.conf has the default 'hosts' then 'bind' order. This 'telnet localhost' took 75 seconds to even connect, all this when 'nslookup localhost' & 'nslookup 127.0.0.1' work fine. Oh well, ... Mark Ibell wrote: > > Hi, > > We have a FreeBSD 4.0-RELEASE (GENERIC kernel) box at work that has > exhibitted some strange telnetd behaviour. For example, when you try to > telnet in you get a login prompt straight away but after entering a > password have to wait for exactly 150 seconds (2m30s) until the shell > prompt is reached. > > Even more curiously, once logged in if you try to telnet (or ftp for > that matter) out, a 75 second delay is experienced. This has happened a > couple of times now and a reboot fixes the problem. DNS has been checked > carefully (nslookup queries work fine), so I'm pretty sure it's not > that. > > I've seen a couple of vague references to this problem but nothing quite > so clearly defined. There is no problem on boot, so I can only guess the > system gets itself into a state over time. > > Guess I'd better upgrade to 4.0-STABLE... > > Cheers, > Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message