For faster navigation, this Iframe is preloading the Wikiwand page for 独立计算环境简单协议.

独立计算环境简单协议

SPICE
原作者Qumranet英语Qumranet
開發者Red Hat
编程语言CC++
操作系统LinuxWindowsAndroid(客户端)
类型服务端、客户端
许可协议GPLLGPLBSD
网站spice-space.org

计算机科学中独立计算环境简单协议Simple Protocol for Independent Computing Environments,简称SPICE)是一款为虚拟环境英语virtual environment打造的远程显示系统,支持诸多机器架构,旨在让用户查看计算虚拟环境的“桌面”环境——除了服务器实体机上查看外,还允许用户从互联网的每个角落进行连接。

Qumranet英语Qumranet起初于2007年使用闭源代码库开发。在2008年紅帽公司收购Qumranet之后,红帽公司在2009年12月以開源授權公布了SPICE的源代码,使得此协议成为一项开放标准。[4][5]

安全性

[编辑]

SPICE客户端与远程桌面服务器的连接含有多个数据通道,每个均运行在不同的TCP/UNIX套接字连接上。协议的数据通道既可以是明文,也可以是TLS模式,因此管理员可以在安全性与性能之间做出其自己的判断。TLS模式对所有在信道上传递的流量进行了强度较高的加密。

除了加密之外,SPICE协议还支持多种认证方案。原先的SPICE提供了基于凭证的共享密钥认证方案。在此过程中,服务器将生成RSA公钥/密钥对并发送其公钥至客户端。客户端将使用公钥加密凭证(即密码)并发送结果回服务器以待解密与验证凭证。现在的SPICE协议还支持使用SASL认证协议,支持多个可配置的认证方案,特别是Kerberos

实现

[编辑]

虽然SPICE的服务端仅有一种实现,但开发者在SPICE开源之初即研发了多种全新的客户端实现方式。

spice-protocol
spice-protocol模块[6]定义了SPICE的线路协议英语Wire protocol格式。此模块以BSD协议开源,可移植到Linux与Windows平台。
spice
spice模块[7]提供了SPICE协议服务器端的参考实现。服务器端呈现为可链接至任意应用程序的动态链接库形式向客户端提供连接。截至2013年 (2013-Missing required parameter 1=month!)QEMU使用此模块来提供虚拟机的SPICE接口。spice代码库以LGPL第二版及更高版本协议开源。
客户端侧的spice代码库(即spicec)于2014年12月移除。
spice-gtk
spice-gtk模块[8]使用GObject类型系统及GTK部件工具箱实现了SPICE客户端。其包含低级函数库、实现客户端协议代码的spice-client-glib和使用GTK以提供图形客户端能力的高级别挂件。此模块以GNU宽通用公共许可证第二版及更高版本协议开源,且可移植至Linux、MacOS和Windows平台。
spice-html5
spice-html5模块[9]使用JavaScript实现了SPICE客户端,运行于HTML5的网页浏览器中。虽然此模块实现了SPICE协议,但其却无法与普通的SPICE服务器直接沟通。其必须先通过WebSocket代理间接连接至服务器。[10]此软件的部分以GNU通用公共许可协议第三版及更高版本与GNU宽通用公共许可证第三版及更高版本协议开源。

应用

[编辑]

SPICE起初以KVM代码库的派生(Fork)为用户提供更加完善的远程桌面能力。

QEMU/KVM
QEMU维护者于2010年3月为所有QEMU虚拟机加入了SPICE远程桌面的代码。QEMU二进制文件链接到spice-server库来架设远程桌面并实现QXL超虚拟化帧缓冲器设备使客户机操作系统利用SPICE协议的性能优势。客户机操作系统也可使用VGA显卡,但相对QXL而言会造成性能降低。
Xspice
QXL帧缓冲器的X.Org Server驱动程序内置了可启动Xorg server的包装器脚本[11]并通过SPICE协议导出。这可在无需QEMU/KVM虚拟化的情况下在远程桌面环境中使用SPICE协议。
virt-viewer
virt-viewer程序使用spice-gtk客户端函数库基于SPICE协议连接至虚拟机,成为VNC的备选之一。
oVirt
SPICE已整合进oVirt英语oVirt私人雲端管理软件,用户可使用SPICE协议连接至虚拟机。

另请参阅

[编辑]

参考文献

[编辑]
  1. ^ Lureau, Marc-André. ANNOUNCE spice-protocol 0.14.3 release. spice-devel (邮件列表). 2020-10-01 [2021-04-15]. (原始内容存档于2021-04-17). 
  2. ^ Fergeau, Christophe. Announcing spice 0.14.1. spice-devel (邮件列表). 22 August 2018 [2019-02-15]. (原始内容存档于2019-07-17). 
  3. ^ Lureau, Marc-André. ANNOUNCE: spice-gtk v0.34 released. spice-devel (邮件列表). 31 July 2017 [2019-02-15]. (原始内容存档于2017-08-02). 
  4. ^ Red Hat open-sources SPICE. Redhat.com. [2013-10-25]. (原始内容存档于2014-07-15). 
  5. ^ Project website. Spice-space.org. [2013-10-25]. (原始内容存档于2021-02-25). 
  6. ^ spice-protocol GIT repository. Cgit.freedesktop.org. [2013-10-25]. (原始内容存档于2013-10-29). 
  7. ^ http://cgit.freedesktop.org/spice/spice/页面存档备份,存于互联网档案馆) spice GIT repository
  8. ^ spice-gtk GIT repository. Cgit.freedesktop.org. 2013-10-10 [2013-10-25]. (原始内容存档于2019-10-31). 
  9. ^ spice-html5 GIT repository. Cgit.freedesktop.org. [2013-10-25]. (原始内容存档于2015-08-05). 
  10. ^ https://github.com/kanaka/websockify页面存档备份,存于互联网档案馆) WebSockify proxy server
  11. ^ XSpice README. Cgit.freedesktop.org. [2013-10-25]. (原始内容存档于2019-09-28). 

外部链接

[编辑]
{{bottomLinkPreText}} {{bottomLinkText}}
独立计算环境简单协议
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?