Hi,

I was going to submit a request to RealVNC for an official allocation for a
new security type, but I wanted to run past you guys first for some
feedback.  Basically it's an extension that allows a server side daemon to
act as a manager that just redirects clients to the port where user's
session is running (possibly spawning a new server as part of the process).
 This makes administration easier by removing the need to keep files (ie:
/etc/sysconfig/vncservers, /etc/xinetd.d/Xvnc) synchronized between hosts.
 In my case the daemon is written in perl and also allows users to change
preferences like geometry and depth in a ~/.vncrc file that the daemon
parses before spawning a new Xvnc session.  Please let me know if you have
any suggestions.

Thanks,
-brian

--- rfbproto.rst 2011-05-05 07:11:30.550460536 -0400
+++ rfbproto.managed.rst 2011-05-25 16:13:41.104307847 -0400
@@ -603,6 +603,35 @@
 Note that the `ServerInit`_ message is extended when the Tight security
 type has been activated.

+Managed Security Type
+---------------------
+
+The Managed security type is designed to allow a server-side daemon to
+respond to incoming requests and redirect those clients to another RFB
+port on a per-user basis.  The protocol is simple, after the server
+and client agree upon this security type, the client informs the
+server of the length of the username string, followed by the string
+itself.
+
+=================== =================== ===================================
+No. of bytes        Type                Description
+=================== =================== ===================================
+1                   ``U8``              *length of username*
+*username-length*   ``U8`` array        *username-string*
+=================== =================== ===================================
+
+The server responds by sending the port number that the
+client should attempt to reconnect on.
+
+=================== =================== ===================================
+No. of bytes        Type                Description
+=================== =================== ===================================
+2                   ``U16``             *port-number*
+=================== =================== ===================================
+
+The connection is then closed and the client initializes a connection on
+the new port.
+
 Initialisation Messages
 +++++++++++++++++++++++
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto

Reply via email to