Ovd

From Kb_JMY(晉明夷)

Jump to: navigation, search

Open Virtual Desktop


Contents

Important Features

  • the OVD can be accessed thru any java-supported web-browsers, e.g Firefox [verified by "Budi Vinola"]
ref: facebook/ulteo -> search "samsung galaxy tab 10.1" and/or "Budi Vinola"


Installation

Joseph Murdoch:In OVD 3.0 you do not need to give the sessionmanager URL, 
instead the IP address or the computer name where the session manager can be accessed.
for example: 192.168.1.1 or sm.ulteo.com
not: http://192.168.1.1/ovd/sessionmanager 
nor: http://sm.ulteo.com/ovd/sessionmanger

Just give the IP or Name
Good Luck
P.S: Further reading, Ulteo OVD 3.0 Documents -> Installation_ApS_Windows.pdf -> Page 4

How to install Ulteo over existing Ubuntu10.04 LTS Server?

  • Ref:
  1. Where can we download Ulteo installation file that can be installed on the top of Ubuntu 10.04 LTS server?
  2. ulteo.com -- Install Ulteo OVD on Ubuntu Lucid 10.04 LTS
  3. Two important directories:
http://archive.ulteo.com/ovd/3.0/offline/
http://archive.ulteo.com/ovd/3.0/ubuntu/
  • Assume the Ubuntu server is online
  • Edit the file /etc/apt/sources.list.d/ulteo-ovd.list and add this line:
deb http://archive.ulteo.com/ovd/3.0/ubuntu lucid main
  • follows Ref#2 to finish the installation of:
  1. session manager
  2. Application server and File server
  3. Web Client

How to access Ulteo?


  • Access:
  1. session manager by: http://sm.Mysite.com
  2. application server by: http://aps.Mysite.com
  3. web client by: http://web.Mysite.com


  • if no domain name but IP address, e.g. 66.147.244.209
  1. access the configuration file by: http://66.147.244.209
  2. admin page by: http://66.147.244.209/ovd/admin -- for managing servers, users,etc...
  3. user page by: http://66.147.244.209/ovd

MAC address white list

  • full question: Is it possible to set a MAC address white list so that only those remote devices in the list can access the Ulteo server?
  • Ref:
  1. cyberciti.biz -- Iptables MAC Address Filtering -- by Vivek Gite on December 27, 2005 · 27 comments
  2. wikipedia.org -- Mac_address
  3. facebook.com (Ulteo): Is it possible to set a MAC address white list so that only those remote devices in the list can access the Ulteo server?


  • Example#1: You can setup default policy to drop all packets and allow selected incoming packets from MAC based ip filtering. Set default INPUT to deny all
# Setting default filter policy
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -m mac –mac-source 00:0F:EA:91:04:08 -j ACCEPT
  • Example#2: Perl scripts to write an iptables from MySQL database.
-> I also made one for dhcpd so unknown mac’s logging on my wireless will be in a diffrent subnet.
#!/usr/bin/perl
use DBI;
$sql_user	= "dhcpd";
$sql_password	= "*******";
$sql_database	= "dhcpd";
$sql_hostname	= "localhost";
$sql_port	= "3306";
$dsn		= "DBI:mysql:database=$sql_database;host=$sql_hostname;port=$sql_port";
print "-----------------------------------------------\n";
print "      Building iptables config from mysql      \n";
print "-----------------------------------------------\n";
print "Getting information from  mysql database...";
$dbh = DBI->connect($dsn, $sql_user, $sql_password);
$getmac = $dbh->prepare("select mac from trusted order by ip");
$getip = $dbh->prepare("select ip from trusted order by ip");
$getmac->execute;
$getip->execute;
print "Done\n";
print "Creating temp file...";
#print `rm iptables.conf.temp`;
open (CONFIGFILE, '>>iptables.conf.temp');
print "Done\n";
print "Start writing configfile...\n-----------------------------------------------\n";
$count 		= 0;
while ( @getmac = $getmac->fetchrow_array, @getip = $getip->fetchrow_array ) {
    @mac[$count] = @getmac;
    @ip[$count] = @getip;
    $count++;
    }
$dbh->disconnect;
$count = 0;
foreach (@mac) {
	print CONFIGFILE "iptables -A INPUT -p tcp -s @ip[$count] -m mac --mac-source @mac[$count] -j ACCEPT " . 			 "";
	$count++;
	print "iptables -A INPUT -p tcp -s @ip[$count] -m mac --mac-source @mac[$count] -j ACCEPT" . "\n";
}
close (CONFIGFILE);
print "-----------------------------------------------\nDone.\n";
print `mv iptables.conf.temp iptables.conf`;
sleep(1);
#print `echo "do somthing here :)"`



Personal tools