[Spice-devel] Spice required ports

Amador Pahim amador at pahim.org
Thu Dec 1 10:34:45 PST 2011

TCP Channel =! TCP Socket
All channels are in the same port or, optionaly, some (or all) channels can
be used in a SSL port.
You will run spice with one or two ports, considering "no ssl" and "ssl"

"qemu ... -spice port=5930,sport=5931,secure-channels=main+inputs..."

On Thu, Dec 1, 2011 at 2:01 PM, Richard Mann <iramstead.inc at gmail.com>wrote:

> Just joined.  Not sure where to ask this question.  It relates to security
> and opening ports on a firewall through which the Spice clients and server
> would communicate.  I would like to know how many ports will need to be
> opened on a firewall to support the 6 communications channels between the
> Spice clients and server.
> Excerpt from Spice for Newbies PDF.
> --------------------------------------------------------
> Channels
> The client and server communicate via channels. Each channel type is
> dedicated to a specific type
> of data. Each channel uses a dedicated TCP socket......
> The available channels are:
> o Main - implemented by RedClient (see above).
> o DisplayChannel - handles graphic commands, images and video streams.
> o InputsChannel - keyboard and mouse inputs.
> o CursorChannel - pointer device position, visibility and cursor shape.
> o PlaybackChannel - audio received from the server to be played by the
> client .
> o RecordChannel - audio captured on the client side.
> --------------------------------------------------------
> After looking at the Spice PDFs it appears to me that 6 ports would need
> to be opened although the default Spice server port appears to be 5930
> (just one port and not six).
> I would like to know how many ports are required (listening) on the Spice
> server to handle all 6 channels (TCP sockets)?  I am assuming each channel
> (TCP socket) requires its own port on the Spice server.
> Thanks,
> Rich
> _______________________________________________
> 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/20111201/3825b7c0/attachment.htm>

More information about the Spice-devel mailing list