Mobile Remote LAN Designing a Modular Service Platform
Total Page:16
File Type:pdf, Size:1020Kb
Mobile Remote LAN Designing a modular service platform Lars Are Aschim Lars Martinsen Master of Science in Communication Technology Submission date: June 2009 Supervisor: Van Thanh Do, ITEM Co-supervisor: Simone Lupetti, Telenor R&I Norwegian University of Science and Technology Department of Telematics Problem Description It is not uncommon for today’s users to have access to more than one device, including PC’s, PDA’s and mobile phones. If the user wants to access services in his home network from a remote location, he has to manually customize a connection to each of these services. The purpose of this thesis is to make these kinds of services available without complex configuration. This Master Thesis aims at providing a solution for accessing generic services on a user’s home network from a remote device such as a PC, a PDA, or a mobile phone. The home network in this context can be any place where the system requests access to a service, such as in a user’s home, office, car, cabin, etc. The system must allow access and use services from a wide range of devices and platforms. Such a solution should work as a service platform allowing the user to easily customize a set of services. The goal is to offer a solution to select, deploy and use generic home services from a remote device, such as PC’s, PDA’s or mobile phones. As an example of a service we will focus on remote network search, i.e. the possibility of a remote user to search and retrieve information from his devices attached to the service platform while at a remote location. This example service is important because it deals with problems related to topology, expandability, and usability. In addition, it is also complex enough to highlight unforeseen issues with the service platform. The final goal is to build a working service platform, offering remote network search based on a modular platform as an example service. Solutions to non trivial challenges such as NAT and firewall traversal, bandwidth restrictions, modular system architecture, and usability are performed throughout the report to achieve the goal. Assignment given: 15. January 2009 Supervisor: Van Thanh Do, ITEM Acknowledgements June 9, 2009 Acknowledgements The project proposal was given by Simone Lupetti and Telenor R&I, and the problem definition was defined in co‐operation with Simone Lupetti. The work has been executed at NTNU in Trondheim, but there have been regular meetings between the authors of this thesis and Simone Lupetti, both on phone and at Telenor at Fornebu. The duration of this specialization project was from 15.01.2009 to 11.06.2009. This report is the product of almost five months of reading and researching. The report is written for Simone Lupetti and Telenor, but should also give an insight to problems and solutions to these kinds of systems to anyone interested. A thank to our supervisor Simone Lupetti, who has guided us with useful comments and support regarding technical aspects and guidance. He has also given feedback throughout the whole process that has improved this Master Thesis. A special thank also goes to our girlfriends for the understanding and patience at times when working long nights and early mornings, and for proofreading this report. ____________ _____________ Lars Martinsen Lars Are Aschim Lars Are Aschim and Lars Martinsen i NTNU ‐ NORWEGIAN UNIVERSITY OF SCIENCE AND TECHNOLOGY Abstract June 9, 2009 Abstract It is not uncommon for today’s users to have access to more than one device, including PC’s, PDA’s and mobile phones. If the user wants to access services from a remote location, he has to manually customize a connection to each of these services. This thesis aims to make these kinds of services available without complex configuration, using a modular framework. As an example, new hardware or software might be needed in order to integrate home services and mobile devices. These circumstances make it hard for a regular user to deploy new services at home. At the same time people become more and more mobile, and users are moving from being passive consumers to interactive participants of the Internet. The general idea of ubiquitous communication between hosts in the Internet is brought down to a practical level by creating a use case where a user would like to search and retrieve files present in his home network while at a remote location. Solutions to non trivial challenges such as NAT and firewall implications, bandwidth restrictions, modular system architecture, and usability are examined to make a modular service platform meeting the demands of more interactive and mobile environments. The XMPP protocol, mostly known as an instant messaging and presence protocol, is utilized to create a web of trust between services and users. To achieve the goal of making a modular service platform, providing connectivity that allows services and users to be mobile, a working prototype has been made. The prototype consists of a modular service platform, enabling services to be added as plug‐ins. The service platform is divided in two parts; one part enabling connectivity using a third party solution, and one part enabling a modular framework to add services as plug‐ins. The functionality was tested with a network search as an example service, developed as a plug‐in using the modular service platform. ii Lars Are Aschim and Lars Martinsen NTNU ‐ NORWEGIAN UNIVERSITY OF SCIENCE AND TECHNOLOGY Table of Contents June 9, 2009 Table of Contents Acknowledgements .................................................................................................................................. i Abstract .................................................................................................................................................... ii Table of Contents .................................................................................................................................... iii Figures ..................................................................................................................................................... vi Tables ...................................................................................................................................................... ix Abbreviations ........................................................................................................................................... x 1 Part I ................................................................................................................................................ 2 1.1 Introduction ............................................................................................................................. 2 1.1.1 Creating a framework for ubiquitous communication .................................................... 4 1.1.2 Modularity ....................................................................................................................... 5 1.1.3 Use cases ......................................................................................................................... 7 1.2 Motivation ............................................................................................................................. 10 1.3 Problem description .............................................................................................................. 11 1.4 Outline ................................................................................................................................... 12 1.4.1 Part I ‐ Introduction ....................................................................................................... 12 1.4.2 Part II – Theory .............................................................................................................. 12 1.4.3 Part III – System description .......................................................................................... 12 1.4.4 Part IV – Evaluation ....................................................................................................... 12 1.4.5 Appendix and references .............................................................................................. 12 1.5 Related works ........................................................................................................................ 13 1.5.1 Cloud computing ........................................................................................................... 13 1.5.2 Portable devices as data carriers ................................................................................... 14 1.5.3 Managed solutions ........................................................................................................ 14 1.5.4 Virtual Private Network (VPN) ....................................................................................... 15 1.5.5 Commercial products .................................................................................................... 16 1.5.6 Research projects .......................................................................................................... 17 2 Part II – Theory .............................................................................................................................. 20 2.1 Firewalls ................................................................................................................................. 20 2.1.1 Packet filter firewalls ..................................................................................................... 20 2.1.2 Application‐proxy