[Spice-devel] spice client using Certificate and ipv6 question

bigclouds bigclouds at 163.com
Tue Mar 25 18:05:23 PDT 2014


all the cases you mentioned  have been tested.
 
spice://[....%eth0]?tls-port=5901 , failed
g_proxy_resolver_lookup_async: assertion uri != NULL failed





在 2014-03-25 19:20:12,"David Jaša" <djasa at redhat.com> 写道:
>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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140326/00348744/attachment.html>


More information about the Spice-devel mailing list