Bug 174241

Summary: Remote host breaks connection
Product: [Fedora] Fedora Reporter: Nickolay V. Shmyrev <nshmyrev>
Component: telnetAssignee: Harald Hoyer <harald>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-29 10:43:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
tcpdump of working patched version
none
Original broken tcpdump none

Description Nickolay V. Shmyrev 2005-11-26 11:13:18 UTC
Hi

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 217.21.95.36
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?

Comment 1 Nickolay V. Shmyrev 2005-11-26 11:13:18 UTC
Created attachment 121501 [details]
tcpdump of working patched version

Comment 2 Nickolay V. Shmyrev 2005-11-26 11:14:24 UTC
Created attachment 121502 [details]
Original broken tcpdump

Comment 3 Rahul Sundaram 2006-02-20 10:40:21 UTC

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

Comment 4 Harald Hoyer 2006-09-29 10:43:17 UTC
well, telnet wants to negotiate with the remote host, if LINEMODE can be used.
Seems like 217.21.95.36 does not like that negotiation. So the bug is on the
remote site. 

$ 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.
...