Change search
ReferencesLink to record
Permanent link

Direct link
NAT traversal techniques for MediaSense open source platform
Mid Sweden University, Faculty of Science, Technology and Media, Department of Information Technology and Media.
2013 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

This thesis project concerns NAT traversal techniques and their application to P2P networking with regard to MediaSense platform. Since MediaSense open source platform, developed by Mid Sweden University, utilizes the benefits of P2P networking, it also suffers from the drawbacks provided by NAT. The issue of NAT traversal is not trivial due to the fact that the behavior of NAT devices is not standardized and vendors are free to provide their own implementations. The common knowledge is, that at least four main types of NATs exist, differing in the filtering and mapping algorithms employed. NAT traversal techniques vary accordingly. No single technique can handle all the cases. Most of the techniques can handle up to three main types of NAT. The last type is usually used in large corporate networks and is called the Symmetric NAT. The most viable, and basically the only available technique for its traversal, is data relaying. This thesis builds a NAT traversal module for the MediaSense platform. The main purpose of this module is to provide seamless NAT traversal capabilities to the platform. The module does this in several steps: UPnP enabled device discovery, NAT type determination and data relaying via the proxy. Firstly the module attempts to discover the presence of a UPnP enabled Internet Gateway Device on the network. If such a device is present on the network, a port mapping can be created, making the node located behind NAT accessible from the public Internet. If a UPnP enabled device was not found, the module will try to determine the type of NAT used. Based on the type of NAT used, the module can transit to either the proxy mode or request assistance of the STUN server to keep the created mapping alive. The resulting chapters provide the reader with the output produced by each step, conclusions the author has made while working on this project and some general ideas on future work within the subject.

Place, publisher, year, edition, pages
Keyword [en]
MediaSense, Java, NAT, traversal, STUN, UPnP
National Category
Computer Systems
URN: urn:nbn:se:miun:diva-19627OAI: diva2:637502
Educational program
International Bachelor's Programme in Computer Engineering TDKAG 180 higher education credits
Available from: 2013-08-21 Created: 2013-07-18 Last updated: 2013-08-21Bibliographically approved

Open Access in DiVA

fulltext(1759 kB)232 downloads
File information
File name FULLTEXT01.pdfFile size 1759 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology and Media
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 232 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 218 hits
ReferencesLink to record
Permanent link

Direct link