A Rapidly Deployable Cellphone Network

Total Page:16

File Type:pdf, Size:1020Kb

A Rapidly Deployable Cellphone Network Beacon - A Rapidly Deployable Cellphone Network Paul Crane a thesis submitted for the degree of Master of Science at the University of Otago, Dunedin, New Zealand. May 14, 2012 Abstract In this thesis we examine the use of rapidly deployable cellphone net- works for disaster relief efforts. Disasters are require a coordinated response from many different groups and clear communication to civilians affected by the disaster. This needs a good communication system that does not rely on existing infrastructure that is set up in a small amount of time. Our proposed system is targeted towards use by civilians without a connection to existing telecommunications systems. We have developed a method that allows users of the sys- tem to claim telephone numbers along with an automated reputation based moderation system. We undertook experiments and recorded results in the form of logs from consoles and files. These experiments show that the proposed system can be used to provide a decentralised telephony service. Proposed future work includes research into how best to provide information to civilians affected by disasters. ii Acknowledgements I would like to thank my supervisor, Dr. Mariusz Nowostawski, for his guidance and support throughout the duration of this thesis. Many thanks go to my family, friends, and fellow students who have provided support and encouragement. Especially those who helped with the proof-reading, Alan, Heidi, Lisa, Matt, Rosi, Sally, and Tony. iii Contents 1 Introduction 1 1.1 Problem Overview . .1 1.2 Dimension of Interest . .2 1.3 Thesis Outline . .2 2 Disaster Response and Recovery 4 2.1 Introduction . .4 2.2 Response to Disasters . .5 2.2.1 Case Studies . .7 2.2.2 Summary . 10 2.3 Information Sharing . 10 2.4 Conclusion . 14 3 Rapidly Deployable Networks 15 3.1 Introduction . 15 3.2 Review of the State of the Art . 16 3.2.1 Existing Solutions . 16 3.2.2 Wireless Mesh Networks . 20 3.2.3 Number Discovery . 25 3.3 Research Question . 26 4 Beacon Infrastructure 27 4.1 Components . 29 4.1.1 Hardware . 29 4.1.2 Software . 31 4.1.3 OpenBSC . 34 4.2 Experimental Setup . 35 4.2.1 GSM . 35 4.2.2 Telephony and Routing . 37 4.3 Call Routing . 39 4.4 Evaluation . 41 4.4.1 GSM Network connectivity . 41 4.4.2 Number Lookups . 46 4.5 Conclusion . 49 4.5.1 Unique Contribution . 49 4.5.2 Discussion . 49 iv 4.5.3 Future Work . 49 5 User Management 51 5.1 Overview . 51 5.2 User Verification in Literature . 51 5.3 Research Question . 53 6 Beacon User Management 55 6.1 Overview . 56 6.2 Distributed Databases . 57 6.3 Web-based Interface . 59 6.4 Phone Numbers . 60 6.4.1 Database Schema and Programmer Interface . 60 6.4.2 Call Flow for Setup . 62 6.4.3 Setup Evaluation . 62 6.4.4 Number Discovery Call Flow . 64 6.4.5 Number Discovery Evaluation . 65 6.5 User Verification . 67 6.5.1 Database Schema and Programmer Interface . 68 6.5.2 Evaluation . 69 6.6 Discussion . 72 6.6.1 Abuse . 72 6.6.2 Unique Contribution . 73 6.6.3 Future Work . 73 7 Conclusions and Future Work 76 7.1 Conclusion . 76 7.2 Unique Contribution . 78 7.3 Future Work . 79 7.3.1 Overview . 79 7.3.2 Rapidly Deployable Network . 79 7.3.3 User Management . 81 References 83 A Setup 91 A.1 MySQL . 91 A.1.1 Installation . 91 A.1.2 Configuration . 91 A.2 Asterisk . 92 A.2.1 Installation . 92 A.2.2 Configuration . 93 A.3 Boost . 93 A.4 GNU Radio . 93 A.5 OpenBTS . 94 A.5.1 libosip ............................... 94 v A.5.2 Installation . 94 A.6 Configuration . 95 A.7 Provisioning . 95 B Configuration 97 B.1 Asterisk . 97 B.1.1 extensions.conf . 97 B.1.2 sip.conf . 100 B.1.3 dundi.conf . 100 B.1.4 res mysql.conf . 101 B.1.5 extconfig.conf . 101 B.2 OpenBTS . 102 B.3 Django . 105 B.3.1 API | api/handlers.py . 105 B.3.2 Cassandra Interface | api/score.py . 107 B.3.3 Models | asterisk/models.py . 111 B.4 AGI Scripts . 114 B.4.1 JSON Parser | parse json.py . 114 B.4.2 Rating | rate.py . 115 B.5 MySQL . 116 vi List of Tables 2.1 The different agencies involved in disaster operations in Otago . .6 3.1 Acronyms used in GSM network diagrams (Mehrotra, 1997) . 18 4.1 Features not supported in the public version of OpenBTS . 33 4.2 A brief example of the data stored in the database . 37 5.1 Three ways to prove someone is who they claim to be . 51 6.1 The relationship between Column Names, and Values in Cassandra. 58 6.2 The relationship between Row Keys, Column Names, and Values in Cassandra. 58 7.1 Key differences between our work and the Serval Project . 78 7.2 Enhancements of our work over the Serval Project . 79 7.3 Proposed additional features. 80 vii List of Figures 2.1 Ushahidi Disaster Information System . 12 3.1 GSM Architecture Design . 17 3.2 A COLT . 19 3.3 Different mesh network architectures . 21 3.4 The Mesh Potato . 23 4.1 Network Architecture Design . 27 4.2 The network topology in Kretschmer, Hasse, Niephaus, Horstmann, and Jonas (2011), the Global Standard for Mobile Communications, or Groupe Sp´ecialMobile (GSM) access node with remote telephony service. 28 4.3 Beacon Logical Diagram . 29 4.4 USRP . 30 4.5 The difference between the OpenBTS and OpenBSC projects. 34 4.6 Experimental Architecture Design . 35 4.7 Uplink . 36 4.8 Screen capture showing the OpenBTS network . 37 4.9 The mesh network architecture . 40 4.10 Mobile originated call flow diagram . ..
Recommended publications
  • Getting Started with Openbts BUILD OPEN SOURCE MOBILE NETWORKS
    Compliments of Getting Michael Iedema Started with Foreword by Harvind Samra OpenBTS BUILD OPEN SOURCE MOBILE NETWORKS Getting Started with OpenBTS Michael Iedema Getting Started with OpenBTS by Michael Iedema Copyright © 2015 Range Networks. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/ institutional sales department: 800-998-9938 or [email protected]. Editor: Brian MacDonald Indexer: WordCo Indexing Services Production Editor: Melanie Yarbrough Cover Designer: Karen Montgomery Copyeditor: Lindsy Gamble Interior Designer: David Futato Proofreader: Charles Roumeliotis Illustrator: Rebecca Demarest January 2015: First Edition Revision History for the First Edition: 2015-01-12: First release See http://oreilly.com/catalog/errata.csp?isbn=9781491910658 for release details. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Getting Started with OpenBTS, the cover image of a Sun Conure, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While the publisher and the author have used good faith efforts to ensure that the information and instruc‐ tions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work.
    [Show full text]
  • Modeling the Use of an Airborne Platform for Cellular Communications Following Disruptions
    Dissertations and Theses 9-2017 Modeling the Use of an Airborne Platform for Cellular Communications Following Disruptions Stephen John Curran Follow this and additional works at: https://commons.erau.edu/edt Part of the Aviation Commons, and the Communication Commons Scholarly Commons Citation Curran, Stephen John, "Modeling the Use of an Airborne Platform for Cellular Communications Following Disruptions" (2017). Dissertations and Theses. 353. https://commons.erau.edu/edt/353 This Dissertation - Open Access is brought to you for free and open access by Scholarly Commons. It has been accepted for inclusion in Dissertations and Theses by an authorized administrator of Scholarly Commons. For more information, please contact [email protected]. MODELING THE USE OF AN AIRBORNE PLATFORM FOR CELLULAR COMMUNICATIONS FOLLOWING DISRUPTIONS By Stephen John Curran A Dissertation Submitted to the College of Aviation in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy in Aviation Embry-Riddle Aeronautical University Daytona Beach, Florida September 2017 © 2017 Stephen John Curran All Rights Reserved. ii ABSTRACT Researcher: Stephen John Curran Title: MODELING THE USE OF AN AIRBORNE PLATFORM FOR CELLULAR COMMUNICATIONS FOLLOWING DISRUPTIONS Institution: Embry-Riddle Aeronautical University Degree: Doctor of Philosophy in Aviation Year: 2017 In the wake of a disaster, infrastructure can be severely damaged, hampering telecommunications. An Airborne Communications Network (ACN) allows for rapid and accurate information exchange that is essential for the disaster response period. Access to information for survivors is the start of returning to self-sufficiency, regaining dignity, and maintaining hope. Real-world testing has proven that such a system can be built, leading to possible future expansion of features and functionality of an emergency communications system.
    [Show full text]
  • Openbts Application Suite User Manual
    OpenBTS Application Suite Release 4.0 User Manual Revision date: April 15, 2014 Copyright 2011-2014 Range Networks, Inc. This document is distributed and licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Contents 1 General Information 7 1.1 Scope and Audience.........................................8 1.2 License and Copyright........................................8 1.3 Disclaimers..............................................8 1.4 Source Code Availability....................................... 10 1.5 Abbreviations............................................ 11 1.6 References.............................................. 12 1.7 Contact Information & Support................................... 13 2 Introduction to OpenBTS Application Suite 14 2.1 Key Programs............................................ 15 2.2 Network Organization........................................ 16 3 Getting to Know Your OpenBTS System 19 3.1 Accessing the System........................................ 19 3.2 Starting and Stopping Applications................................. 20 3.3 OpenBTS Command Line Interface (CLI)............................. 20 3.4 Using the OpenRANUI....................................... 24 3.5 Databases.............................................. 25 3.6 Folder Structure........................................... 25 3.7 Logging............................................... 26 4 OpenBTS Data Tables and Structures 27 4.1 Manipulating OpenBTS Databases................................. 27 4.2 The Configuration Table.....................................
    [Show full text]
  • Cost Effective Cellular Connectivity in Rural Areas
    VillageCell: Cost Effective Cellular Connectivity in Rural Areas Abhinav Anand, Veljko Pejovic, David L. Johnson, Elizabeth M. Belding University of California, Santa Barbara [email protected], {veljko, davidj, ebelding}@cs.ucsb.edu ABSTRACT need for real-time voice communication. In addition, even Mobile telephony brings clear economic and social benefits more than in the developed world, voice communication in to its users. As handsets have become more affordable, own- the developing world is a strong enabler of political free- ership has reached staggering numbers, even in the most re- dom [18], economic growth [3] and efficient health care [24]. mote areas of the world. However, network coverage is often The unique disposition of African villages, characterized lacking in low population densities and low income rural ar- by low population density and low-income communities, along eas of the developing world, where big telecoms often defer with the specific cultural context represented by a mix of from deploying expensive infrastructure. To solve this cov- languages and ethnicities, and the chiefdom-based political erage gap, we propose VillageCell, a low-cost alternative to structure, impact both the need for, and the adoption of high-end cell phone networks. VillageCell relies on software voice communication. To better understand the way ru- defined radios and open-source solutions to provide free local ral Africans indigenize voice communication tools, we con- and cheap long-distance communication for remote regions. ducted a survey of two villages in South Africa and Zambia. Our architecture is simple and easy to deploy, yet robust The specific villages were chosen because they are connected and requires no modification to GSM handsets.
    [Show full text]
  • The Openbts Project
    The OpenBTS Project David A. Burgess, Harvind S. Samra Kestrel Signal Processing, Inc. Fairfield, California October 31, 2008 2 Chapter 1 About The Project 1.1 What is the OpenBTS Project? The OpenBTS Project is an effort to construct an open-source Unix application that uses the Universal Software Radio Peripheral (USRP) to present a GSM air interface (“Um”) to standard GSM handset and uses the Asterisk VoIP PBX to connect calls. This is in fact very different from a conventional GSM BTS, which is a dumb device that is managed externally by a basestation controller (BSC) and connects calls in a remote mobile switching center (MSC). Because of this important architectural difference, the end product of this project is better referred to as an access point, even though the project is called “OpenBTS”. 1.2 Why Build an Open Source GSM Stack? The combination of the ubiquitous GSM air interface with VoIP backhaul could form the basis of a new type of cellular network that could be deployed and operated at substantially lower cost than existing technologies. Since these new hybrid networks are not readily compatible with legacy networks, and since radical two-tier pricing would be disruptive for existing carriers, we are not likely to see this kind of innovation from the conventional telecom community. This is the primary motivation for starting this project: a vision of truly universal telephone service. The inspiration for this project came from a simultaneous recognition of these elements from prior experience1 with GSM, software radios, VoIP and sustainable power systems: • The USRP can be readily adapted as a GSM transceiver and the hardware can be reworked to give a carrier-grade radio for use in a software BTS.
    [Show full text]
  • Openbts for Dummies
    OpenBTS for dummies Axelle Apvrille, Fortinet [email protected] August 31, 2011 Abstract This document is to be seen as a guideline or a collection of notes for newbies to OpenBTS who struggle to get it working, or are lost in the wiki pages and wonder where to start. Mostly, I detail here how I got it to work on my side, from step to step, with answers I found to a few issues I faced or my understanding of the problem. Please feel free to send in corrections as I am not an OpenBTS expert. I would certainly recommend reading [Ale09, oped, opec], documents that I found very useful. The OpenBTS mailing-list [opee] is an alternative if you encounter a particular problem. Contents 1 What is OpenBTS? (brief) 2 2 Hardware Requirements 3 3 From the USRP kit to the USRP - newbies only 4 4 Clocks 5 4.1 Do I really need another clock? . .5 4.2 52Mhz clocks . .5 4.3 Installing the clock . .6 4.4 Software patches . .7 5 Software Requirements 8 5.1 Compiling GnuRadio . .8 5.2 Compiling OpenBTS . 10 5.3 Compiling smqueue . 11 6 Testing GnuRadio 11 6.1 USRP Benchmark . 11 6.2 USRP FFT . 11 6.3 Calibrate the clock . 13 1 1 WHAT IS OPENBTS? (BRIEF) 7 Configuration 13 7.1 OpenBTS configuration . 13 7.2 Get / set your IMSI . 15 7.3 Asterisk configuration . 15 7.4 smqueue . 16 8 Using OpenBTS 16 8.1 Registering phones to the OpenBTS network . 16 8.2 Sending SMS .
    [Show full text]
  • Security Analysis of Femtocell-Enabled Cellular Network Architecture
    Technische Universitat¨ Berlin Fakultat¨ fur¨ Elektrotechnik und Informatik Lehrstuhl fur¨ Security in Telecommunications Security Analysis of Femtocell-Enabled Cellular Network Architecture vorgelegt von Ravishankar Bhaskarrao Borgaonkar (M.Sc. BE) von der Fakult¨atIV { Elektrotechnik und Informatik der Technischen Universit¨atBerlin zur Erlangung des akademischen Grades Doktor der Ingenieurwissenschaften (Dr.-Ing.) genehmigte Dissertation Promotionsausschuss: Vorsitzende: Prof. Anja Feldmann, Ph.D., Technische Universit¨atBerlin Gutachter: Prof. Dr. Jean-Pierre Seifert, Technische Universit¨atBerlin Gutachter: Prof. Valtteri Niemi, Ph.D., University of Turku Tag der wissenschaftlichen Aussprache: 05. February 2013 Berlin 2013 D83 i/vii Abstract Consumption of mobile data traffic has been growing exponentially due to the pop- ularity of smartphones and tablets. As a result, mobile network operators have been facing challenges to provide needed capacity expansion in their congested network. Therefore to reduce the load on the network, mobile network operators are adapting and deploying key data offloading technologies such as femtocells not only to boost their network capacity but also to increase indoor cellular coverage. These low cost devices interconnect a new femtocell network architecture to evolving telecommu- nication core network via standardized interface protocols. However, consequences of such integration of two architectures over the Internet together with an array of security threats that originating through a rogue femtocell
    [Show full text]
  • Hacking Cellular Networks Security Research with Open Source Cellular Network Projects
    Hacking Cellular Networks Security Research with Open Source Cellular Network Projects HUANG Lin ZOU Xiaodong Qihoo 360 Hiteam Agenda • Who we are & why we are giving this talk • Security testing of LTE – Specification vulnerabilities – Implementation flaws: network & terminals – Testing setup Who we are • Huang Lin – Wireless security researcher from Qihoo 360 – Worded in Orange from 2005~2014 – SDR expert, use OAI since 2011 • Zou Xiaodong (aka Seeker) – Founder & CEO, HiTeam Group, a higher education + IT company – 30+ year coding & hacking – Angel investor & entrepreneurship mentor Hackers – A Big Group of SDR Users Using wideband SDR tools to analyze many kinds of wireless systems Short distance: Bluetooth, RFID, NFC Wifi, Zigbee, 315/433MHz AD936x Cellular: 2G/3G/4G 60MHz ~ 6GHz Satellite system: GPS, GlobalStar, DVB-S Private protocol: private network, links of drones Industry control system LMS600x/700x 100KHz ~ 3.8GHz $4000 $750 $300 ¥100 4 Video Demo: GPS Spoofing Fake GSM Base Station in China • Resulting in a wide range of hazards – Send spam SMS – Phishing fraud When Bike-sharing Meets Fake BS • For IoT devices – Lose network connection – Data link hijack Most Fake BS Based on OpenBTS • OpenBTS Project – Developed since 2009 – First software based cellular base station – Had some real deployments St. Pierre and Miquelon is a self- governing territorial overseas collective of France (COM) situated near Newfoundland, Canada. An entrepreneur,GlobalTel, applied for wireless spectrum and deployed seven base stations, now actively serving a population of 6,000. GSM Terminal Side: OsmocomBB • OsmocomBB – GSM sniffer: OsmocomBB + C118 – GSM man-in-the-middle attack: OsmocomBB + C118 + OpenBSC Multiple C118s listening the GSM channels simultaneously.
    [Show full text]
  • Openbts for Dummies
    OpenBTS for dummies Axelle Apvrille, Fortinet January 15, 2013 Abstract This document is to be seen as a guideline or a collection of notes for newbies to OpenBTS who struggle to get it working, or are lost in the wiki pages and wonder where to start. Mostly, I detail here how I got it to work on my side, from step to step, with answers I found to a few issues I faced or my understanding of the problem. I am very (very) far from being an OpenBTS expert. So, please feel free to send in corrections, and also understand that I am probably unable to help you on your specific OpenBTS issues :( If you need some more help, your best choice is certainly to read (and read again) the OpenBTS wiki [Ran], the user manual [Netc] and to subscribe to the mailing-list [ML]. Contents 1 What is OpenBTS? (brief) 3 2 Want to skip to configuration of OpenBTS? Get a Development Kit 3 3 Hardware 3 3.1 Requirements . .3 3.2 My personal configuration . .4 3.3 From the USRP kit to the USRP - newbies only . .4 3.4 Clocks . .5 3.5 Do I really need another clock? . .5 3.6 52Mhz clocks . .6 3.7 Installing the clock . .7 3.8 Software patches . .9 4 Software 9 4.1 OpenBTS P2.8 . .9 4.2 OpenBTS 2.6 . 10 5 Configuration 15 5.1 Basic steps . 15 5.2 Configuring 2.8 . 15 5.3 Configuring 2.6 . 18 1 CONTENTS CONTENTS 6 Testing GnuRadio 21 6.1 USRP Benchmark .
    [Show full text]
  • Mobility Testbed Development (Openbts Testbed) and Its Integration with Voiit, Webrtc & NG-911 Testbeds 90/100
    Mobility Testbed Development (OpenBTS Testbed) and its Integration with VoIIT, WebRTC & NG-911 Testbeds 90/100 Sushma Sitaram A20137272 May 09, 2014 1 Table of Contents 1 Abstract ....................................................................................................................... 2 2 Introduction ................................................................................................................. 3 3 Goals Of The Project .................................................................................................. 3 4 Milestones Of The Project .......................................................................................... 4 5 Infrastructure Needed.................................................................................................. 4 6 GSM Architecture ....................................................................................................... 5 7 Openbts Application Suite .......................................................................................... 6 8 Logical Diagram ......................................................................................................... 7 9 Physical Diagram ........................................................................................................ 8 10 Execution Of The Project............................................................................................ 9 10.1 Testbed Setup ...................................................................................................... 9 10.2 Initial Testing
    [Show full text]
  • Skycomm Mobile Access for Aviation Industry
    © Copyright Hussein Ahmed Fouad Hussein Mohamed Hussein Kareem Emad Azmy Mohamed Ahmed Kamel Nourhan Gamal Mohamed Omar Mohamed Badran SkyComm Mobile access for aviation industry By Hussein Ahmed Fouad Hussein Mohamed Hussein Kareem Emad Azmy Mohamed Ahmed Kamel Nourhan Gamal Mohamed Omar Mohamed Badran Under supervision of Dr. Hassan Mustafa Hassan Dr. Tawfik Ismail Tawfik A Graduation Project Report Submitted to the Faculty of Engineering at Cairo University in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Electronics and Communications Engineering Faculty of Engineering, Cairo University Giza, Egypt July 2016 Table of Contents TABLE OF CONTENTS ............................................................................................................................ II LIST OF TABLES ...................................................................................................................................... VI LIST OF FIGURES ...................................................................................................................................VII LIST OF SYMBOLS AND ABBREVIATIONS ...................................................................................... IX ACKNOWLEDGMENTS .........................................................................................................................XII ABSTRACT ............................................................................................................................................. XIII CHAPTER 1: INTRODUCTION
    [Show full text]
  • Communication System Design of Remote Areas Using Openbts
    (IJACSA) International Journal of Advanced Computer Science and Applications, Vol. 9, No. 9, 2018 Communication System Design of Remote Areas using Openbts Winarno Sugeng Theta Dinnarwaty Putri Departement of Informatics Engineering Departement of Informatics Engineering Institut Teknologi Nasional (Itenas) Institut Teknologi Nasional (Itenas) Bandung – INDONESIA Bandung – INDONESIA Abstract—OpenBTS is a software-based GSM BTS, which To enable remote communication, in this case, allows GSM cell phone users to make phone calls or send SMS communication in areas using a mobile phone, this condition (short messages), without using a commercial service provider includes communication at the same time. OpenBTS which is a network. OpenBTS is known as the first open source GSM-paketbased software which is open source and allows implementation of the GSM industry standard protocol. The communication free of cost from commercial cellular OpenBTS network is a network that is easy to implement and operators. Communication using OpenBTS can be built also inexpensive in maintenance and installation. Communication independently. using a cell phone is not only needed in urban areas but remote areas currently require. But the problem is that not all remote II. SYSTEM ARCHITECTURE areas get services from commercial cellular operators. By implementing mobile phone communication using OpenBTS, A. OpenBTS Architecture remote communication is very likely to be implemented. In this Basically, VoIP-based communication utilizing the internet research communication design was delivered using GSM mobile network [7] is sufficient, but in the field, the communication phones using OpenBTS with telephone and SMS services. infrastructure that used to exist is GSM-based, the communication device that is widely used is GSM-based.
    [Show full text]