RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 813865 - support raw ipv6 addresses in URIs
Summary: support raw ipv6 addresses in URIs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-gtk
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 813375
Blocks: 840699
TreeView+ depends on / blocked
 
Reported: 2012-04-18 15:46 UTC by Daniel Berrangé
Modified: 2013-02-21 08:47 UTC (History)
14 users (show)

Fixed In Version: spice-gtk-0.14-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: Bugs in remote-viewer URI parsing when the URI contains an IPv6 address Consequence: remote-viewer cannot be started from the command line with an IPv6 URI Fix: Fix parsing of URIs containing IPv6 addresses Result: It's possible to connect to IPv6 addresses when starting remote-viewer from the command line.
Clone Of: 813375
: 873263 (view as bug list)
Environment:
Last Closed: 2013-02-21 08:47:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0343 0 normal SHIPPED_LIVE spice-gtk bug fix and enhancement update 2013-02-20 20:53:54 UTC

Description Daniel Berrangé 2012-04-18 15:46:07 UTC
+++ This bug was initially created as a clone of Bug #813375 +++

Description of problem:
support ipv6 addresses on CLI. IPv6 passed via controller works.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-4

How reproducible:
always

Steps to Reproduce:
try to connect to qemu over ipv6:
1. remote-viewer spice://ipv6_addr/?port=PORT
2. remote-viewer spice://[ipv6_addr]/?port=PORT
3.
  
Actual results:
none of above works

Expected results:
some of above works

Additional info:
when address is passed via controller, remote-viewer works

--- Additional comment from berrange on 2012-04-18 16:45:35 BST ---

The RFC compliant syntax would be the second example you give

>  remote-viewer spice://[ipv6_addr]/?port=PORT

I have confirmed that this is indeed broken for both SPICE and VNC. The VNC support can be fixed in virt-viewer itself. The SPICE fix needs to be done in SPICE-GTK

Comment 1 Daniel Berrangé 2012-04-18 15:46:40 UTC
Proof of concept upstream patch:

http://lists.freedesktop.org/archives/spice-devel/2012-April/008769.html

Comment 4 Daniel Berrangé 2012-04-19 14:58:17 UTC
Alternative patch now posted

http://lists.freedesktop.org/archives/spice-devel/2012-April/008808.html

Comment 5 Andrew Cathrow 2012-04-23 14:25:13 UTC
What's the driver for this being a blocker for 6.3?

Comment 6 Daniel Berrangé 2012-04-23 14:29:10 UTC
AFAIK, IPv6 support was a requirement of any RHEL6 application, in this case we need spice-gtk to support it for virt-viewer, so that it can connect to an IPv6 enabled KVM host

Comment 7 Daniel Berrangé 2012-04-23 16:54:29 UTC
New (hopefully final) version of upstream patch

http://lists.freedesktop.org/archives/spice-devel/2012-April/008833.html

Comment 8 Daniel Berrangé 2012-04-24 09:54:01 UTC
Committed upstream in

commit 50add15ef69cde34346e11b5c91e1257cecb2696
Author: Daniel P. Berrange <berrange>
Date:   Thu Apr 19 11:12:09 2012 +0100

    Fix multiple problems with URI parsing

Comment 11 David Blechter 2012-05-22 15:15:42 UTC
moving to 6.4. Deadline is less than 24 hours from now. The patches were not approved upstream.

Comment 12 David Jaša 2012-05-31 16:28:33 UTC
please take bug #827115 into account when looking at the patches.

Comment 19 errata-xmlrpc 2013-02-21 08:47:21 UTC
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-0343.html


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