Red Hat Bugzilla – Bug 56148
ncftp fail to connect to IPv4 + IPv6 hosts from IPv4 hosts
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012
Description of problem:
ncftp can not connect to a host supporting both IPv4 and IPv6
if the connecting host only supports IPv4. ncftp then fails with:
Could not get a socket: Address family not supported by protocol.
Could not open host <hostname>: could not get a new stream socket.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Setup ftp host that supports both IPv4 and IPv6
2.Add both A and AAAA records in DNS for the ftp host.
3.Try to connect with ncftp
Actual Results: No connection created.
Expected Results: Norman ftp connected.
It is possible to use the ftp command supplied with RH 7.2, it does not
have this problem, but is not as nice as ncftp.
Fixed in 3.0.4-2
Bero, Can this be pushed out as an errata
I'm not personally sure if that's warranted.. there are only few ftp servers
with both addresses in
the same name.