Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 1995 01:36:06 +0200 (MET DST)
From:      jan@todonix.ping.de (Jan Wedekind)
To:        bugs@freebsd.org
Subject:   telnet / rlogin hangs ?!
Message-ID:  <m0sis0F-0006yYC@todonix.ping.de>

index | next in thread | raw e-mail

Hi,

we just updated to 2.1.0-SNAP, running in the following new
problems;

after about 10 up to 20 hours of run-time the kernel or net software
partly refuses logins.
Everything else works fine: SMTP, NNTP etc.

from a linux system i get:

jan@todonix <520>telnet leary
Trying 193.100.14.4...
Connected to leary.ping.de.
Escape character is '^]'.

   FreeBSD (leary) (ttyp0)


and no login prompt! But after typing return one time everything
is fine!

>From another FreeBSD (1.1.5) system i got:

jan@lilly <512>telnet leary
Trying 193.100.14.4...
Connected to leary.ping.de.
Escape character is '^]'.

   FreeBSD (leary) (ttyp1)

Connection closed by foreign host.

jan@lilly <513>telnet leary
Trying 193.100.14.4...
Connected to leary.ping.de.
Escape character is '^]'.

   FreeBSD (leary) (ttyp1)

Password:Connection closed by foreign host.

shortly after this the problems we got a login: prompt on FreeBSD, 
but with rlogin we had to wait for about 2 minutes!

we took the telnet session and ktrace'd the mentioned rlogind process:

bash# kdump
 17895 rlogind  RET   select 0
 17895 rlogind  CALL  close(0x4)
 17895 rlogind  RET   close 0
 17895 rlogind  CALL  socket(0x2,0x2,0)
 17895 rlogind  RET   socket 4
 17895 rlogind  CALL  connect(0x4,0x8088010,0x10)
 17895 rlogind  RET   connect 0
 17895 rlogind  CALL  sendto(0x4,0xefbfc58c,0x1c,0,0,0)
 17895 rlogind  GIO   fd 4 wrote 28 bytes
       "\0\^D\^A\0\0\^A\0\0\0\0\0\0
        #localhost\0\0\^A\0\^A"
 17895 rlogind  RET   sendto 28/0x1c
 17895 rlogind  CALL  select(0x5,0xefbfc344,0,0,0xefbfc33c)

repeatet several times, finally (1-3 min.) finishing in :

 17895 rlogind  CALL  socket(0x2,0x2,0)
 17895 rlogind  RET   socket 4
 17895 rlogind  CALL  connect(0x4,0x8088010,0x10)
 17895 rlogind  RET   connect 0
 17895 rlogind  CALL  sendto(0x4,0xefbfc58c,0x35,0,0,0)
 17895 rlogind  GIO   fd 4 wrote 53 bytes
       "\0\^F\^A\0\0\^A\0\0\0\0\0\0\^T#my_very_good_friend\^Fdomain\^Dping\^Bd\
        e\0\0\^A\0\^A"
 17895 rlogind  RET   sendto 53/0x35
 17895 rlogind  CALL  select(0x5,0xefbfc344,0,0,0xefbfc33c)
 17895 rlogind  RET   select 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hier we got the connection!

 17895 rlogind  CALL  recvfrom(0x4,0xefbfcc24,0x400,0,0xefbfc364,0xefbfc338)
 17895 rlogind  GIO   fd 4 read 53 bytes
       "\0\^F\M^E\M^@\0\^A\0\0\0\0\0\0\^T#my_very_good_friend\^Fdomain\^Dping\
        \^Bde\0\0\^A\0\^A"
 17895 rlogind  RET   recvfrom 53/0x35
 17895 rlogind  CALL  close(0x4)
 17895 rlogind  RET   close 0
 17895 rlogind  CALL  open(0x803b9b2,0,0x1b6)
 17895 rlogind  NAMI  "/etc/hosts"
 17895 rlogind  RET   open 4
 17895 rlogind  CALL  fstat(0x4,0xefbfcf2c)
 17895 rlogind  RET   fstat 0
 17895 rlogind  CALL  read(0x4,0x11000,0x2000)
 17895 rlogind  GIO   fd 4 read 514 bytes
       "# $Id: hosts,v 1.4 1994/06/24 23:50:16 wollman Exp $

Of course you may've the whole ktrace.out - file; about
 186 kB long.

many thanks for going on solving these problems,

Jan
-- 
PING e.V.		Jan Wedekind (Kassenwart)	jan@ping.de
Emil-Figge-Str. 85	Lindemannstr. 12		kasse@ping.de
44227 Dortmund		44137 Dortmund			vorstand@ping.de
Tel.: 0231 / 97 91 - 0	Tel.: +49 (231) 13 44 04	info@ping.de


home | help

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