Bug 198418

Summary: Package vino lacks IPv6 support
Product: [Fedora] Fedora Reporter: Peter Vrabec <pvrabec>
Component: vinoAssignee: David Zeuthen <davidz>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: markmc, mbacovsk, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vino-2.18.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-26 10:29:18 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:31:15 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: 

/vino-2.13.5/server/libvncserver/sockets.c:548:    addr.sin_family = AF_INET;
/vino-2.13.5/server/libvncserver/sockets.c:553:    if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
/vino-2.13.5/server/libvncserver/sockets.c:583:    addr.sin_family = AF_INET;
/vino-2.13.5/server/libvncserver/sockets.c:595:    if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
/vino-2.13.5/server/vino-http.c:611:  if ((sock = socket (AF_INET, SOCK_STREAM, 0)) < 0)
/vino-2.13.5/server/vino-http.c:640:      saddr.sin_family = AF_INET;

Comment 1 Behdad Esfahbod 2006-07-16 16:12:08 UTC
Can you please also suggest what a fix should look like?

Comment 2 Mark McLoughlin 2006-07-20 13:36:03 UTC
This patch might be a starting point:

  http://bugzilla.gnome.org/show_bug.cgi?id=310965

Comment 4 Peter Vrabec 2006-07-21 10:55:00 UTC
http://people.redhat.com/drepper/userapi-ipv6.html may help too

Comment 5 Mark McLoughlin 2006-10-20 10:26:37 UTC
See upstream bug report for the IPv6 patches which were just committed.

Comment 7 Mark McLoughlin 2007-03-26 10:29:18 UTC
vino-2.18.0 in rawhide/F7 has IPv6 - i.e. it should accept connections from IPv6
clients.