{"id":33,"date":"2012-10-09T08:05:08","date_gmt":"2012-10-09T08:05:08","guid":{"rendered":"http:\/\/concentus.co.nz\/?p=33"},"modified":"2012-11-26T08:55:15","modified_gmt":"2012-11-26T08:55:15","slug":"an-introduction-to-mesh-networks","status":"publish","type":"post","link":"https:\/\/concentus.co.nz\/?p=33","title":{"rendered":"An Introduction to Mesh Networks"},"content":{"rendered":"<p>What&#8217;s wrong with the Internet?\u00a0 Nothing really, if you are prepared to put up with its inherent unreliability and intrinsic vulnerabilities.<\/p>\n<p>The Internet cannot be relied on if you need continuous secure communication between two end-points at a distance.\u00a0 The greater the distance, the greater the vulnerability and unreliability.\u00a0 The more important the communication line, the more important it is to protect it from attack.<\/p>\n<p>The conventional Internet, designed originally by DARPA to survive even a nuclear assault is strangely susceptible to deceptively simple attacks.\u00a0 Routers can go down, name servers can be commandeered and corrupted, intervening high-level pipes can be tapped and data duplicated and stolen, addresses can be DOS&#8217;ed.<\/p>\n<p>The source of the Internet&#8217;s vulnerability is its reliance on <em>centralisation<\/em> and <em>authority<\/em>.\u00a0 &#8220;Centralisation&#8221; refers to the manner in which communication channels are centrally allocated, controlled, and aggregated upward, along major channels, and through routers.\u00a0 &#8220;Authority&#8221; refers to the notion that the network users must trust that the network is kept secure and integral by the power of authorities which manage and maintain it.\u00a0 These vulnerabilities turn out to be severe, and relatively easily exploited.\u00a0 The key to addressing these vulnerabilities lies in bypassing them and engineering them out of the system.\u00a0 This is done by introducing principled de-centralisation\u00a0 and redundancy.<\/p>\n<p>One way to do this is through &#8220;Mesh Networking&#8221;. \u00a0 &#8220;Mesh Networking&#8221; is a type of <a title=\"network topology\" href=\"http:\/\/en.wikipedia.org\/wiki\/Network_topology\">network topology<\/a> that enables highly reliable, highly secure communications outside of the normal Internet architecture.\u00a0 It is completely de-centralised, and does not rely on any governing authority.<\/p>\n<p>Mesh networking works by creating a large set of highly redundant pathways in a &#8220;mesh&#8221;.\u00a0 Whereas in the Internet network, each device must connect with a delegated superior device, in a mesh network each device on the network can communicate with any other immediately accessible device.\u00a0 With only a few exceptions, an Internet device generally has only one path to its destination.\u00a0 A Mesh device however has multiple ways of connecting with other devices near to it.\u00a0 Because all devices in the mesh have multiple paths, with each additional device, the number of possible paths increases exponentially.\u00a0 In a rich, defuse network, it is nearly impossible to interpose a blockage or remove a critical link.\u00a0 The endpoints themselves must be completely surrounded and blocked, something that is ordinarily impossible.<\/p>\n<p>Mesh devices are usually located in relatively close physical proximity.\u00a0 Communication may be by fixed line, but more often they are connected by radio communications protocols, such as WiFi.\u00a0 In a conventional setting, a single mesh device, such as a laptop, would sense what mesh-enabled devices were nearby, and open channels to all of them.\u00a0 When it wanted to communicate to a particular device, it would broadcast a message to all devices, asking if they knew where this device was.\u00a0 The broadcast request is then propogated throughout the entire mesh, like the vibrations on a spider&#8217;s web, till the target endpoint eventually received the communication packet.\u00a0 The path that packet took, from source to destination then becomes a potential path.\u00a0 All potential paths then find their way to the endpoints, which select the shortest operational path, and use that.\u00a0 Secure communication between endpoints would then be negotiated using a form of encrypted communications over TCP (without IP, the Internet Protocol).\u00a0 If at any time the path becomes blocked, the process is repeated, and a new path is found.\u00a0 Network flooding by broadcast messages is limited by relatively sophisticated algorithms which prevent echoing and reechoing of requests to infinity.\u00a0 Devices can cache paths or path segments used repeatedly. Objects which cannot be found within a certain number of &#8220;hops&#8221; are deemed to be unreachable.\u00a0 In a mobile context, additional complexities exist as devices move between radio towers, but these are solvable.<\/p>\n<p>It will be readily apparent that such a network is highly secure.\u00a0 Because it does not use fixed, predictable paths, the most common types of surveillance, involving a &#8220;man in the middle&#8221; approach becomes extremely difficult and uncertain.\u00a0 For instance, the Great Firewall of China, relying on spying on ISP&#8217;s could not work, as quite simply, there would be no ISP&#8217;s or other central authorities.\u00a0 No communications takes place except between devices on the path as determined in real-time each time a new path is needed between two endpoints.\u00a0 With web-type traffic, every request to a new domain would require a new path.<\/p>\n<p>Novel as they may seem, Mesh Networks have been studied with increasing interest for nearly a decade.\u00a0 When I first contemplated the problem of Internet Network centrality in 2004, my first-cut solution was a Line-of-sight Infrared Laser Mesh Network, which I abandoned because it seemed impractical.\u00a0 Soon after this however, WiFi networks became cheap enough and powerful enough to make them practical in meshes.\u00a0 However, it soon became obvious that WiFi would have to become vastly cheaper than it was even five years ago if Mesh Networks were to be useable.\u00a0 Given the fascinating problems involved, papers began to appear, discussing many aspects of mesh topology and network behavior.[1]<\/p>\n<p>In the eight years since I first became interested in them, a lot of progress has been made. A major Open Source project, indeed, an entire community has sprung up around the\u00a0 notion of Mesh Networks.\u00a0 Perhaps the most well-known is <a title=\"Project Meshnet\" href=\"https:\/\/projectmeshnet.org\/\" target=\"_blank\">&#8220;Project MeshNet&#8221;<\/a>.<\/p>\n<p>Project Meshnet provides a portal to a number of projects related to the provisioning of mesh networks. Besides a slick animation, the project has a number of deliverables in varying stages of completion, including;<\/p>\n<ul>\n<li>a Mesh-in-a-Box solution, based on Linux called BYZANTIUM<\/li>\n<li>a Routing Engine (analogous to DNS) called CJDNS<\/li>\n<li>a Non-Profit organisation called the &#8220;Free Network Foundation&#8221; to support the effort<\/li>\n<li>and numerous other tools and sub-projects.<\/li>\n<\/ul>\n<p>Considering that this is being done mostly by volunteers in their spare time, this is a remarkable achievement.<\/p>\n<p>For all the evident progress, many problems remain.\u00a0 One of the primary considerations in mesh networks is performance.\u00a0 The introduction of multiple radio systems have been proposed to alleviate this, but performance is a function of power, and as such, performance problems will dog mesh networks for a long while to come.[2]\u00a0 As we all know, performance is everything on the Internet.\u00a0 Meshnet performance issues are a deal breaker for ordinary netizens used to &#8220;Google speed&#8221; queries and terabytes of content no more than a click away.\u00a0 The Internet may be flawed, but it&#8217;s flaws are insignificant to most users.\u00a0 Our disenchantment with the Internet will only really come when we experience the first cataclysmic failure of our global communications infrastructure.<\/p>\n<p>MeshNets may never be used for casual web surfing, but they are perfect for small information packet transfer, such as messaging systems.\u00a0 The primary utility of the MeshNet is as an unkillable failover system, perfect for the Post-Apocalyptic Road Warrior who has everything.<\/p>\n<p>Linda Wright<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Resources<\/strong><\/p>\n<p><a title=\"Wireless Mesh Networks Wiki Article\" href=\"http:\/\/en.wikipedia.org\/wiki\/Wireless_mesh_network\" target=\"_blank\">Wireless Mesh Networks Wiki Article<\/a><\/p>\n<p><a title=\"FNWF\" href=\"http:\/\/thefnf.org\/\" target=\"_blank\">The Free Network Foundation<\/a><\/p>\n<p>[1] J. Jun, M.L. Sichitiu, <a href=\"http:\/\/networking.ncsu.edu\/capacityWCM.pdf\" rel=\"nofollow\">&#8220;The nominal capacity of wireless mesh networks&#8221;<\/a>, in IEEE Wireless Communications, vol 10, 5 pp 8-14. October 2003<\/p>\n<p>[2] <a title=\"Mesh Performance\" href=\"http:\/\/www.muniwireless.com\/2004\/12\/08\/performance-analysis-of-mesh-architectures\/\" target=\"_blank\">Performance Analysis of Mesh Architectures<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s wrong with the Internet?\u00a0 Nothing really, if you are prepared to put up with its inherent unreliability and intrinsic vulnerabilities. The Internet cannot be relied on if you need continuous secure communication between two end-points at a distance.\u00a0 The greater the distance, the greater the vulnerability and unreliability.\u00a0 The more important the communication line, <a href=\"https:\/\/concentus.co.nz\/?p=33\" rel=\"nofollow\"><span class=\"sr-only\">Read more about An Introduction to Mesh Networks<\/span>[&hellip;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":40,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6,7,4],"tags":[25,26],"class_list":["post-33","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking","category-security","category-visual","tag-networking","tag-security"],"jetpack_featured_media_url":"https:\/\/concentus.co.nz\/wp-content\/uploads\/2012\/10\/girl_using_laptop_450115_13777582.jpg","jetpack_shortlink":"https:\/\/wp.me\/p26f8H-x","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/concentus.co.nz\/index.php?rest_route=\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/concentus.co.nz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/concentus.co.nz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/concentus.co.nz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/concentus.co.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":17,"href":"https:\/\/concentus.co.nz\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/concentus.co.nz\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions\/45"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/concentus.co.nz\/index.php?rest_route=\/wp\/v2\/media\/40"}],"wp:attachment":[{"href":"https:\/\/concentus.co.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/concentus.co.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/concentus.co.nz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}