Re: spice client using Certificate and ipv6 question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]