Server Remote Control: Making Remote Management Secure
Technical Reference
You can use the commands and methods listed here to test the validity of a
Server Remote Control unit’s security settings. The actual programs and
commands may vary depending on the operating system and application
programs you wish to use (the examples here are Linux-based), but the
methodology is similar across all platforms.
SSL and VNC
1. Download from a public site the source code for a VNC client and an SSL
tunneling program. We recommend, but do not require, TightVNC
(www.tightvnc.com) and STunnel (www.stunnel.org). You will also need
OpenSSL to do the actual encryption (www.openssl.org).
2. Examine the source code to these packages and compile them, if desired.
Once youíve done this, you can verify that STunnel, for example, can be used to
access an on-line bank and that it indeed implements the SSL standard.
3. With our product at IP address 10.0.0.1 (in these examples), perform this
command to connect without encryption:
vncviewer -bgr233 10.0.0.1
Note the “Welcome” window on initial connection shows that you are
connected with no encryption. You have verified that we implement the standard
VNC protocol and are compatible with this open-source VNC client.
4. Using STunnel, create an SSL tunnel between your machine and the test
machineís encrypted VNC socket. By default, VNC runs on port 5900 and our
SSL-wrapped version of VNC runs on port 15900 (all port numbers can be
changed or disabled in our product). Here is a configuration file to setup the
tunnel (for STtunnel 4.0 and later):
client = yes
socket = r:TCP_NODELAY=1
iciphers = DES-CBC3-SHA:
[vnc]
accept = localhost:5900
connect = 10.0.0.1:15900
For demonstration purposes this configuration file limits the encryption choices
to a single encryption type. SSL protocol supports many different combinations
of algorithms for encryption and message authentication.
5. Use the tunnel to connect to our product:
vncviewer -bgr233 localhost
8
Coppyright 2005 © StarTech.com. All Rights Reserved