Red Hat Bugzilla – Bug 198408
Package rhythmbox lacks IPv6 support
Last modified: 2008-07-03 03:00:36 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:
/rhythmbox-0.9.5/daapsharing/rb-daap-src.c:668: src->sock_fd = socket (AF_INET, SOCK_STREAM, 0);
/rhythmbox-0.9.5/daapsharing/rb-daap-src.c:676: server.sin_family = AF_INET;
Created attachment 132584 [details]
Replace IPv4-only code with AF-agnostic approach
The patch changes IPv4-only routines by getaddrinfo.
The patch adds support for IPv6 addresses in URI as recommended by RFC 2732.
Why was there strrchr (hostport, ':'); in _split_uri -- what would have
happened if there was a colon in the path part? Anyway, changed to strchr.
Changed the type of argument port in _split_uri to gchar ** -- we work with
The patch was not tested beyond compile.
The DAAP source only works on local networks, and advertised through mDNS, so I
don't think it makes sense to have IPv6 support there.
Also, those aren't full URIs, but just host/port combinations stored internally
(ie. a DAAP source on the local network could be daap://192.168.2.2:8097)
Filed upstream at:
Hmh, why the fact that it works only on local networks and be advertised through
mDNS would block DAAP to work with IPv6?