Bug 165559 - telnet <host> command fail if client hostname is > 35 chars
Summary: telnet <host> command fail if client hostname is > 35 chars
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: telnet
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-10 14:13 UTC by Jens R. Victorin
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: telnet-0.17-35.2.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-10 15:04:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.