Bug 198389 - Package ncpfs lacks IPv6 support
Summary: Package ncpfs lacks IPv6 support
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: ncpfs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: IPv6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-07-11 10:23 UTC by Peter Vrabec
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-01-18 14:50:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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