[4685] in Kerberos
"ECHO" Problems with V5 telnetd under ultrix 4.3
daemon@ATHENA.MIT.EDU (Tad Hunt )
Sun Feb 26 05:56:18 1995
To: kerberos@MIT.EDU
Date: Sun, 26 Feb 1995 09:35:42 GMT
From: tad@csh.rit.edu (Tad Hunt )
Reply-To: tad@csh.rit.edu
Hello. I just built the kerberos V beta 4-3 distribution under
ultrix 4.3 running on a DecStation 5000. I just spent the last eight
hours trying to debug problems with telnetd not echoing characters back
to the client, and I'm no closer to finding a solution now than I was about
an hour after I started.
I wandered around on the web through all the kerberos stuff I could find
at "http://samosa.cam.ov.com/faq/krb.html", and at "http://www.cygnus.com",
and "http://www.contrib.andrew.cmu.edu/usr/db74/kerberos.html", but I
couldn't seem to find anything detailing installation problems.
After spending hours reading through the code, it appears that telnetd
decides to do echo, so tells the client that it will... The following
snippit of code from telnetd.c:telnet() is where this is apparently done.
Apparently, although it tells the client that it will do echoing, it lies;
It never does.
/*
* Finally, to clean things up, we turn on our echo. This
* will break stupid 4.2 telnets out of local terminal echo.
*/
if (my_state_is_wont(TELOPT_ECHO)) {
writenet("This is executed\r\n",18);
send_will(TELOPT_ECHO, 1);
}
If someone could point me to a documentation source that might help me out,
or has solved this problem and would be willing to spend a couple of minutes
explaining it to me, I would be very thankful!
Attached at the bottom here is the output from running telnetd with
the "-D report" option, if that might help...
Thanks...
Tad Hunt
-----------------------------------------------------------------------------
# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
td: send do AUTHENTICATION
td: ttloop
td: netflush 73 chars
td: ttloop read 27 chars
td: recv do SUPPRESS GO AHEAD
td: send will SUPPRESS GO AHEAD
td: recv will TERMINAL TYPE
td: send do TERMINAL TYPE
td: recv will NAWS
td: send do NAWS
td: recv will TSPEED
td: send do TSPEED
td: recv will LFLOW
td: send do LFLOW
td: recv will LINEMODE
td: send dont LINEMODE
td: recv do STATUS
td: send will STATUS
td: recv will OLD-ENVIRON
td: send do OLD-ENVIRON
td: recv wont AUTHENTICATION
td: send do XDISPLOC
td: send do NEW-ENVIRON
td: ttloop
td: netflush 527 chars
td: ttloop read 15 chars
td: netflush 26 chars
td: recv suboption NAWS 0 80 (80) 0 30 (30)
td: netflush 45 chars
td: recv wont XDISPLOC
td: recv wont NEW-ENVIRON
td: ttloop
td: netflush 81 chars
td: ttloop read 32 chars
td: netflush 26 chars
td: recv suboption TERMINAL-SPEED IS 9600,9600
td: netflush 48 chars
td: recv suboption OLD-ENVIRONIS
td: netflush 35 chars
td: recv suboption TERMINAL-TYPE IS "XTERM"
td: send do ECHO
td: ttloop
td: netflush 431 chars
td: ttloop read 3 chars
td: recv wont ECHO
td: send will ECHO
td: Entering processing loop
ULTRIX (mcp.csh.rit.edu) (ttyp1)
td: netread 3 chars
td: recv do ECHO
td: netflush 39 chars
login: td: netflush 7 chars
td: netread 1 chars
td: netflush 21 chars