Subject: misc/336: telnet/rsh connections closing on startup
To: None <gnats-admin>
From: None <danielce@ee.mu.oz.au>
List: netbsd-bugs
Date: 07/10/1994 05:05:05
>Number:         336
>Category:       misc
>Synopsis:       telnet/rsh connections closing on startup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 10 05:05:03 1994
>Originator:     Daniel Carosone <danielce@ee.mu.oz.au>
>Organization:
"rarely ever"
>Release:        sources supped today
>Environment:
	
System: NetBSD oink.home 0.9C NetBSD 0.9C (_oink3_) #0: Sun Jul 10 16:10:43 EST 1994 dan@oink.home:/oink/src/sys/arch/sparc/compile/_oink3_ sparc


>Description:

I have a small network at home between the following machines:

 . sun ss1+ netbsd/sparc (oink)
 . i486 pc linux 1.0.9 (anarres)
 . i386 pc Windows4Workgroups 3.11, MS TCPIP-32 Vxd stack beta 3,
   WinQVT/Net telnet client
 . dos portable, NCSA telnet

I am having problems making telnet or rsh connections to the netbsd
machine. Example follows:

dan@anarres [21:13][75]~> rsh oink
rlogin: connection closed.
dan@anarres [21:13][76]~> rsh oink
rlogin: connection closed.
dan@anarres [21:13][77]~> telnet oink
Trying 192.231.135.252...
Connected to oink.
Escape character is '^]'.

NetBSD/sparc (oink.home) (ttyp4)

Connection closed by foreign host.
dan@anarres [21:13][78]~> telnet oink
Trying 192.231.135.252...
Connected to oink.
Escape character is '^]'.

NetBSD/sparc (oink.home) (ttyp4)

Connection closed by foreign host.
dan@anarres [21:13][79]~> telnet oink
Trying 192.231.135.252...
Connected to oink.
Escape character is '^]'.
Connection closed by foreign host.
dan@anarres [21:13][80]~> telnet oink
Trying 192.231.135.252...
Connected to oink.
Escape character is '^]'.

NetBSD/sparc (oink.home) (ttyp4)

login: dan
Password:
Last login: Sun Jul 10 20:39:12 from anarres
Copyright (c) 1980,1983,1986,1988,1990,1991 The Regents of the University
of California.  All rights reserved.

NetBSD 0.9C (_oink3_) #0: Sun Jul 10 16:10:43 EST 1994

dan has logged on ttyp1 from anarres.
dan has logged on ttyp2 from anarres.
mrg has logged on ttyp3 from anarres.
dan has logged on ttyp4 from anarres.
dan@oink [21:10][31]~>

(from here-on it is stable if I get this far)

I can telnet/rsh from oink->oink with no trouble, and from
(ncsa,wfwg,oink)->anarres no problem.

I get problems from all three of the others to netbsd. It's been doing
this since the machine arrived here about 3 weeks ago, it was current
minus 1 week then.

Linux shows as above, from NCSA it either works or *stops* where the
login: would go. Sometimes NCSA on closing will hang a successful
session instead of closing it. NCSA's console has lines and lines of
SEND: IAC SUSP after this.

I was going nuts looking for some sort of pattern, since sometimes it
would seem to be working happily (I rarely if ever use the dos+windows
machines). I discovered that from one pty on linux, the problem showed
as above, from another there was no problem at all over many tries. My
guess is something to do with tty modes and telnet options passing,
but I'm basically stumped.

>How-To-Repeat:

see above, I guess.. I can let people log in to the machines if helpful.

>Fix:
	

>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------