Bug 198389 - Package ncpfs lacks IPv6 support
Package ncpfs lacks IPv6 support
Product: Fedora
Classification: Fedora
Component: ncpfs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Martin Stransky
David Lawrence
Depends On:
Blocks: IPv6Blocker
  Show dependency treegraph
Reported: 2006-07-11 06:23 EDT by Peter Vrabec
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-18 09:50:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter Vrabec 2006-07-11 06:23:42 EDT
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 05:30:12 EDT
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 08:01:24 EDT
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.