Bug 165559

Summary: telnet <host> command fail if client hostname is > 35 chars
Product: [Fedora] Fedora Reporter: Jens R. Victorin <jens>
Component: telnetAssignee: Harald Hoyer <harald>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: telnet-0.17-35.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-10 15:04:49 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:

Description Jens R. Victorin 2005-08-10 14:13:34 UTC
Description of problem:
It is not possible to connect to a telnetserver on a host (Solaris 6 in my case)
if the name of the client returned by "hostname" is > 35 chars in length

Version-Release number of selected component (if applicable):
telnet-0.17-28.FC2.1

How reproducible:
Always


Steps to Reproduce:
1.set hostname to a string >35 chars in length ( e.g
1234567890123456789012.12.12.12345678.12)
2.try to connect using "telnet <host>"

  
Actual results:
A locked up terminal showing

Trying <ip>...
Connected to <server>
Escape character is '^]'.



Expected results:
A working session
(i.e 
SunOS 5.6

login:)


Additional info:
Putty works...

Comment 1 Jens R. Victorin 2005-08-10 14:21:24 UTC
Well! Obviously I did not count the dots in the name. The limit seems to be 39
chars. 

Comment 2 Karsten Hopp 2006-05-10 15:04:49 UTC
this works for me in FC-5, I've set up a system with hostname
'thisisaverylonghostnamelongerthanfortycharacters' and telnet connected just fine