5_2_3_3_onlive_protocol_validated
A submission of:
5_3_osbp_ready_for_design (workplace mission)
5_3_3_osbp_developers_ready (team mission)
Mission statement:
To validate the Onlive mesh network protocol as a technology that is viable, scalable and executable.
Summary of the protocol:
Overview:
The Onlive-mesh protocol is a decentralized, peer-to-peer communication protocol designed to create resilient, community-owned networks without reliance on centralized infrastructure such as servers, databases, or satellites. The protocol is focused on enabling robust local communications and supporting collaborative, privacy-preserving applications. It is particularly suited for urban environments where local, ad-hoc networking can provide significant benefits.
Core Components:
Peer Discovery and Network Formation:
- Automatic Peer Discovery: Nodes in the Onlive-mesh network automatically discover each other using a combination of broadcast/multicast techniques and service discovery protocols. This is facilitated over Wi-Fi, Bluetooth, or other local communication interfaces.
- Ad-Hoc Network Formation: Nodes self-organize into an ad-hoc mesh network, with each device capable of routing packets for its peers. This allows the network to grow dynamically and adapt to the presence or absence of nodes.
Routing:
- Dynamic Routing Protocol: Onlive-mesh implements a dynamic routing protocol similar to a simplified version of OLSR (Optimized Link State Routing) or BATMAN (Better Approach To Mobile Adhoc Networking), optimized for low-latency, low-power environments. Nodes periodically exchange topology information to update their routing tables, ensuring efficient packet delivery across the network.
- Multi-Hop Communication: The protocol supports multi-hop communication, allowing messages to traverse multiple nodes to reach their destination. This is crucial for extending the network’s range beyond the direct communication distance of individual devices.
Data transmission
- Connectionless Messaging: Onlive-mesh primarily uses connectionless messaging to reduce overhead and support high mobility environments. UDP-based transport is preferred for its low-latency characteristics, although TCP fallback mechanisms are available for reliability when needed.
- Efficient Data Encapsulation: Data packets are encapsulated with minimal overhead, focusing on efficiency and speed. The protocol uses lightweight encryption to ensure privacy and security, with each node handling encryption/decryption locally.
Network Resilience and Self-Healing:
- Fault Tolerance: The mesh network is resilient to node failures. When a node goes offline, neighboring nodes automatically reconfigure their routing tables to bypass the failed node, ensuring continuous network operation.
- Load Balancing: Traffic is distributed across multiple paths when available, balancing the load and preventing any single node from becoming a bottleneck. This is achieved through a combination of routing metrics that consider node capacity, link quality, and energy levels.
Privacy and Security:
- End-to-End Encryption: All communications within the Onlive-mesh network are encrypted end-to-end using modern cryptographic protocols (e.g., AES-256). Key management is decentralized, with keys exchanged securely during peer discovery.
- Anonymity Features: The protocol includes optional features for anonymizing traffic, making it difficult for third parties to trace communications back to individual nodes or users.
Application Layer Support:
- API for Developers: Onlive-mesh provides a simple API for developers to build applications on top of the mesh network. This includes functions for messaging, file sharing, and collaborative tools, all optimized for the decentralized nature of the network.
- Interoperability: The protocol is designed to be interoperable with existing internet-based services, allowing seamless transitions between mesh and traditional networks. For instance, nodes can act as gateways to the wider internet when necessary.
Use Cases:
- Disaster Recovery: Onlive-mesh can provide critical communication infrastructure in disaster zones where conventional networks are unavailable or unreliable.
- Community Networks: Ideal for creating local networks in urban environments, enabling secure and private communication within communities.
- Smart City Applications: Supports IoT devices and smart city initiatives by providing a decentralized network for data collection and control without relying on centralized data centers.
Scalability:
The protocol is designed to scale efficiently within local regions, with the ability to support hundreds of nodes in a dense urban area. The use of dynamic routing and peer discovery mechanisms ensures that the network can grow without significant performance degradation.
Integration with Existing Protocols:
Onlive-mesh can be integrated with existing routing suites like FRRouting (FRR) to manage more complex networking scenarios, such as interfacing with larger networks or the internet. FRR’s support for protocols like BGP, OSPF, and Babel can enhance the mesh network’s capabilities, especially in hybrid mesh/traditional network environments.
Challenges and Considerations:
- Power Management: As Onlive-mesh is often deployed on mobile devices, power efficiency is critical. The protocol includes mechanisms to minimize power consumption, but this remains a key challenge in sustaining long-term network operations.
- Interference Management: In densely populated areas, managing radio frequency interference is essential. The protocol includes features to detect and adapt to interference, though this requires careful planning and tuning in practice.
The Onlive-mesh protocol offers a powerful tool for creating decentralized, community-driven networks. It provides a robust, privacy-focused alternative to traditional, centralized communication networks, making it particularly valuable in environments where such networks are unreliable, unavailable, or undesirable. For network engineers, the protocol represents a new frontier in networking, combining the principles of ad-hoc mesh networks with modern security and privacy practices.