[Spice-devel] spice client using Certificate and ipv6 question
David Jaša
djasa at redhat.com
Tue Mar 25 04:20:12 PDT 2014
Hi,
On Út, 2014-03-25 at 09:50 +0100, Christophe Fergeau wrote:
> On Tue, Mar 25, 2014 at 09:45:54AM +0800, bigclouds wrote:
> > centos6.3
> > spice-gtk-0.20-11.el6.x86_64
> > spice-server-0.12.2-1.el6.x86_64
> > spice-glib-0.20-11.el6.x86_64
> > virt-viewer-0.5.6-8.el6.x86_64
> >
> >
> > i think the problem is related to spice-glib, g_network_address_new. maybe glib has some problems.
> > it is ok if it is ::1(local lo ipv6), outside ipv6 and local ipv6 failed. it is weird.
> >
> > thanks
> >
> > (remote-viewer:12972): GSpice-DEBUG: spice-session.c:1813 open host fe80::20c:29ff:fe0a:2351:5901
>
> remote-viewer seems to think 5901 (port name I guess) is part of the
> IP/host. Have you tried spice://[fe80::20c:29ff:fe0a:2351]:5901 or
> spice://fe80::20c:29ff:fe0a:2351?port=5901 ?
Note that:
* link-local addresses (fe80::something) need interface designation (scope), e.g. fe80::aabb:ccff:fedd:eeff%eth0
* remote-viewer sticks to uri scheme so ipv6 address needs to be enclosed in brackets (there was a bug clarifying it)
so the correct url for the example above should be:
spice://[fe80:20c:29ff:fe0a:2351%eth0]:5901/
There used to be another bug about scope being stripped from the uris in glib, I'm not sure about its status in .el6 though.
David
>
> Christophe
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list