Red Hat Bugzilla – Bug 129059
Telnet seg faults when trying to connect to a host that has only an AAAA record
Last modified: 2007-11-30 17:10:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5)
Description of problem:
Telnet seg faults when trying to connect to a hostname that has only
an AAAA record, and not a A or CNAME. However, connecting to a
hostname that has both A and AAAA records works normally.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. 'telnet' to everest.ipv6.sosdg.org or negation.ipv6.unixnetwork.net
(use port 22 or 25)
Actual Results: [root@everest ~]# telnet everest.ipv6.sosdg.org 25
Expected Results: Should have opened a connection and displayed the
SMTP banner, or whatever the host on the other end was programmed to
send on connect.
glibc-2.3.3-39, kernel 2.6.7
Example hostnames to use:
AAAA only records: everest.ipv6.sosdg.org, negation.ipv6.unixnetwork.net
A/AAAA records: mail.sosdg.org
please provide the output of:
$ which telnet
[root@everest ~]# which telnet
Part of the krb5-workstation-1.3.4-2 package. Definately not the
telnet I thought I was using (aka /usr/bin/telnet).
Oops, hit send too fast.
meant to add that /usr/bin/telnet works ok as expected.
[root@everest ~]# /usr/bin/telnet everest.ipv6.sosdg.org 22
Connected to everest.ipv6.sosdg.org.
Escape character is '^]'.
This bug probably needs to be assigned to both the krb5 and regular
[root@everest ~]# /usr/bin/telnet negation.ipv6.unixnetwork.net 22
It does not do it when you telnet to everest.ipv6.sosdg.org, just when
you do negation.ipv6.unixnetwork.net. Both records in the nameserver
are done in the same way (I did them at the same time).
Package version is:
Let me know if any Fedora/RH developers need access to one of the dev
boxes for debugging, and I will let you know how to gain access.
Bundled apps seem to be checking for errors from gethostbyname_r incorrectly.
Fixing in 1.3.5-1.