Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 56148

Summary: ncftp fail to connect to IPv4 + IPv6 hosts from IPv4 hosts
Product: [Retired] Red Hat Linux Reporter: Per Steinar Iversen <persteinar.iversen>
Component: ncftpAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-13 12:56:39 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 Per Steinar Iversen 2001-11-13 12:56:34 UTC
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):


How reproducible:
Always

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.

Additional info:

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.

Comment 1 Bernhard Rosenkraenzer 2001-11-20 17:23:15 UTC
Fixed in 3.0.4-2


Comment 2 Yusuf Goolamabbas 2002-01-28 13:59:46 UTC
Bero, Can this be pushed out as an errata

Comment 3 Pekka Savola 2002-03-13 12:50:20 UTC
I'm not personally sure if that's warranted.. there are only few ftp servers
with both addresses in
the same name.