Bug 198389

Summary: Package ncpfs lacks IPv6 support
Product: [Fedora] Fedora Reporter: Peter Vrabec <pvrabec>
Component: ncpfsAssignee: Martin Stransky <stransky>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mbacovsk
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-18 14:50:13 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:
Bug Depends On:    
Bug Blocks: 195271    

Description Peter Vrabec 2006-07-11 10:23:42 UTC
This bug was reported automaticaly in connection with IPv6 project.
Our aim is to support IPv6 in all Fedora Core packages so FC6 and RHEL5 will be ready for IPv6.
			
This package seems to lack IPv6 support as is illustrated in attached log.
	
Here follows part of scanning log (grep -r F_INET *)/up to 30 lines: 

/ncpfs-2.2.6/util/nwuserlist.c:337:				case AF_INET:	{
/ncpfs-2.2.6/ipx-1.0/ipx_cmd.c:182:					if (hent->h_addrtype != AF_INET) {
/ncpfs-2.2.6/ipx-1.0/ipx_cmd.c:216:	if (hent->h_addrtype != AF_INET) {
/ncpfs-2.2.6/ipx-1.0/ipx_cmd.c:230:	fd_ip = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
/ncpfs-2.2.6/ipx-1.0/ipx_cmd.c:252:		if (curr->ifr_addr.sa_family == AF_INET) {
/ncpfs-2.2.6/ipx-1.0/ipx_cmd.c:272:	localIP.sin_family = AF_INET;
/ncpfs-2.2.6/ipx-1.0/ipx_cmd.c:406:								remoteIP.sin_family = AF_INET;
/ncpfs-2.2.6/po/cat-id-tbl.c:202:  {"Get host address `%s': Not AF_INET\n", 175},
/ncpfs-2.2.6/lib/ncplib.c:1385:	if ((ncp_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {
/ncpfs-2.2.6/lib/ncplib.c:1388:	addr.sin_family = AF_INET;
/ncpfs-2.2.6/lib/ncplib.c:1444:	if ((ncp_sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) {
/ncpfs-2.2.6/lib/ncplib.c:1447:	addr.sin_family = AF_INET;
/ncpfs-2.2.6/lib/ncplib.c:1621:		case AF_INET:
/ncpfs-2.2.6/lib/ncplib.c:2927:		t2->inet.sin_family = AF_INET;
/ncpfs-2.2.6/lib/ncplib.c:3974:		case AF_INET:
/ncpfs-2.2.6/lib/nwcalls.c:1199:					case AF_INET:
/ncpfs-2.2.6/lib/nwcalls.c:1373:		server.inet.sin_family = AF_INET;
/ncpfs-2.2.6/lib/resolve.c:322:	if (he->h_addrtype != AF_INET || he->h_length != 4) {
/ncpfs-2.2.6/lib/resolve.c:359:	addr->inet.sin_family = AF_INET;
/ncpfs-2.2.6/lib/resolve.c:896:					in->sin_family = AF_INET;

Comment 1 Martin Stransky 2006-08-30 09:30:12 UTC
Not sure if we can fix it, the code is full of ipv4 code, ipv4 adresses are
stored in 32bit integers and so on...

Comment 2 Martin Stransky 2006-09-05 12:01:24 UTC
This package isn't included in RHEL-5.