Bug 832121
Summary: | Treat ::0 as a wildcard address | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | David Jaša <djasa> |
Component: | virt-viewer | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | cfergeau, dblechte, desktop-qa-list, dyasny, gkong, jwu, mjenner, mzhan, yupzhang, zpeng |
Target Milestone: | beta | Keywords: | ZStream |
Target Release: | 6.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | virt-viewer-0.5.2-12.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 09:33:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Jaša
2012-06-14 15:01:13 UTC
the graphics elements in steps to reproduce should look like this of course: <graphics type='spice'> <listen type='address' address='::0'/> </graphics> Hmm, we are already doing that: /* If the XML listen attribute shows a wildcard address, we need to * throw that away since you obviously can't 'connect(2)' to that * from a remote host. Instead we fallback to the hostname used in * the libvirt URI. This isn't perfect but it is better than nothing */ if (!ghost || (strcmp(ghost, "0.0.0.0") == 0 || strcmp(ghost, "::") == 0)) { DEBUG_LOG("Guest graphics listen '%s' is NULL or a wildcard, replacing with '%s'", ghost ? ghost : "", host); g_free(ghost); ghost = g_strdup(host); } But it seems like "::" is not the only string format a IPv6 wildcard can take. Basically any combination of exclusively ':' and 0' is a wildcard eg :: ::0 0:0:0:0:0:0:0:0 0::0 and so on This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. Verified pass on the following build: virt-viewer-0.5.2-13.el6.x86_64 Reproduce steps: 1. Have a host with ipv6 address 2. Have a running guest. 3. Edit the guest xml, make sure the graphic device is listening to ::, 0::, and so on. 4. Run remote-viewer spice(or vnc)://[ipv6 address]:port Actual: 1. Connect to guest successfully. So mark as this bug as VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0361.html |