Red Hat Bugzilla – Bug 174241
Remote host breaks connection
Last modified: 2007-11-30 17:11:17 EST
Sorry, probably it's not a telnet bug, but let me ask since it seems redhat
distributes it's own version of telnet. I can't login to the host 18.104.22.168
with telnet. Remote host breaks connection a second after "Login:" prompt appears.
To solve this problem, I've managed to comment line 2170 in telnet.c like that:
// send_will(TELOPT_LINEMODE, 1);
Is it a bug in remote implementation or other issue of telnet protocol?
Created attachment 121501 [details]
tcpdump of working patched version
Created attachment 121502 [details]
Original broken tcpdump
These bugs are being closed since a large number of updates have been released
after the FC5 test1 and test2 releases. Kindly update your system by running yum
update as root user or try out the third and final test version of FC5 being
released in a short while and verify if the bugs are still present on the system
.Reopen or file new bug reports as appropriate after confirming the presence of
this issue. Thanks
well, telnet wants to negotiate with the remote host, if LINEMODE can be used.
Seems like 22.214.171.124 does not like that negotiation. So the bug is on the
$ man telnet
Once a connection has been opened, telnet will attempt to enable the
TELNET LINEMODE option. If this fails, then telnet will revert to one
of two input modes: either ‘‘character at a time’’ or ‘‘old line by
line,’’ depending on what the remote system supports.