Reticulum/docs/manual/whatis.html

252 lines
13 KiB
HTML
Raw Normal View History

2021-05-16 23:40:49 +02:00
<!DOCTYPE html>
2022-09-30 00:02:15 +02:00
<html lang="en">
2021-05-16 23:40:49 +02:00
<head>
<meta charset="utf-8" />
2022-09-30 00:02:15 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
2022-09-06 16:50:33 +02:00
<title>What is Reticulum? &#8212; Reticulum Network Stack 0.3.12 beta documentation</title>
2021-05-16 23:40:49 +02:00
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/classic.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
2022-09-30 00:02:15 +02:00
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
2021-05-16 23:40:49 +02:00
<script src="_static/doctools.js"></script>
2022-09-30 00:02:15 +02:00
<script src="_static/sphinx_highlight.js"></script>
2021-05-16 23:40:49 +02:00
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Getting Started Fast" href="gettingstartedfast.html" />
2021-05-17 17:04:01 +02:00
<link rel="prev" title="Reticulum Network Stack Manual" href="index.html" />
2021-05-16 23:40:49 +02:00
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="gettingstartedfast.html" title="Getting Started Fast"
accesskey="N">next</a> |</li>
<li class="right" >
2021-05-17 17:04:01 +02:00
<a href="index.html" title="Reticulum Network Stack Manual"
2021-05-16 23:40:49 +02:00
accesskey="P">previous</a> |</li>
2022-09-06 16:50:33 +02:00
<li class="nav-item nav-item-0"><a href="index.html">Reticulum Network Stack 0.3.12 beta documentation</a> &#187;</li>
2021-05-16 23:40:49 +02:00
<li class="nav-item nav-item-this"><a href="">What is Reticulum?</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
2022-09-30 00:02:15 +02:00
<section id="what-is-reticulum">
<h1>What is Reticulum?<a class="headerlink" href="#what-is-reticulum" title="Permalink to this heading"></a></h1>
2022-08-25 11:00:30 +02:00
<p>Reticulum is a cryptography-based networking stack for building wide-area
networks with readily available hardware, that can continue to operate even
with extremely low bandwidth and very high latency.</p>
<p>Reticulum allows you to build wide-area networks with off-the-shelf tools, and
offers end-to-end encryption, autoconfiguring cryptographically backed
multi-hop transport, efficient addressing, unforgeable packet acknowledgements
and more.</p>
<p>Reticulum is a complete networking stack, and does not need IP or higher
layers, although it is easy to utilise IP (with TCP or UDP) as the underlying
carrier for Reticulum. It is therefore trivial to tunnel Reticulum over the
Internet or private IP networks. Reticulum is built directly on cryptographic
principles, allowing resilience and stable functionality in open and trustless
networks.</p>
<p>No kernel modules or drivers are required. Reticulum runs completely in
userland, and can run on practically any system that runs Python 3. Reticulum
runs well even on small single-board computers like the Pi Zero.</p>
2022-09-30 00:02:15 +02:00
<section id="current-status">
<h2>Current Status<a class="headerlink" href="#current-status" title="Permalink to this heading"></a></h2>
2022-08-25 11:00:30 +02:00
<p>Reticulum should currently be considered beta software. All core protocol
features are implemented and functioning, but additions will probably occur as
real-world use is explored. There will be bugs. The API and wire-format can be
considered stable at the moment, but could change if absolutely warranted.</p>
2022-09-30 00:02:15 +02:00
</section>
<section id="what-does-reticulum-offer">
<h2>What does Reticulum Offer?<a class="headerlink" href="#what-does-reticulum-offer" title="Permalink to this heading"></a></h2>
2021-05-16 23:40:49 +02:00
<ul class="simple">
2022-08-25 11:00:30 +02:00
<li><p>Coordination-less globally unique addressing and identification</p></li>
2021-05-16 23:40:49 +02:00
<li><p>Fully self-configuring multi-hop routing</p></li>
2021-10-08 18:49:13 +02:00
<li><p>Complete initiator anonymity, communicate without revealing your identity</p></li>
2022-04-28 10:19:43 +02:00
<li><p>Asymmetric encryption based on X25519, and Ed25519 signatures as a basis for all communication</p></li>
2022-08-25 11:00:30 +02:00
<li><p>Forward Secrecy by using ephemeral Elliptic Curve Diffie-Hellman keys on Curve25519</p></li>
2021-09-18 18:10:58 +02:00
<li><p>Reticulum uses the <a class="reference external" href="https://github.com/fernet/spec/blob/master/Spec.md">Fernet</a> specification for on-the-wire / over-the-air encryption</p>
2021-05-16 23:40:49 +02:00
<ul>
2021-09-18 18:10:58 +02:00
<li><p>All keys are ephemeral and derived from an ECDH key exchange on Curve25519</p></li>
2021-05-16 23:40:49 +02:00
<li><p>AES-128 in CBC mode with PKCS7 padding</p></li>
<li><p>HMAC using SHA256 for authentication</p></li>
<li><p>IVs are generated through os.urandom()</p></li>
</ul>
</li>
<li><p>Unforgeable packet delivery confirmations</p></li>
<li><p>A variety of supported interface types</p></li>
2021-08-19 14:11:22 +02:00
<li><p>An intuitive and developer-friendly API</p></li>
2022-04-28 10:19:43 +02:00
<li><p>Efficient link establishment</p>
<ul>
2022-09-30 00:02:15 +02:00
<li><p>Total bandwidth cost of setting up a link is only 3 packets, totalling 297 bytes</p></li>
2022-07-02 18:41:57 +02:00
<li><p>Low cost of keeping links open at only 0.44 bits per second</p></li>
2022-04-28 10:19:43 +02:00
</ul>
</li>
<li><p>Reliable and efficient transfer of arbitrary amounts of data</p>
2021-05-16 23:40:49 +02:00
<ul>
<li><p>Reticulum can handle a few bytes of data or files of many gigabytes</p></li>
<li><p>Sequencing, transfer coordination and checksumming is automatic</p></li>
<li><p>The API is very easy to use, and provides transfer progress</p></li>
</ul>
</li>
2022-04-28 10:19:43 +02:00
<li><p>Authentication and virtual network segmentation on all supported interface types</p></li>
<li><p>Flexible scalability allowing extremely low-bandwidth networks to co-exist and interoperate with large, high-bandwidth networks</p></li>
2021-05-16 23:40:49 +02:00
</ul>
2022-09-30 00:02:15 +02:00
</section>
<section id="where-can-reticulum-be-used">
<h2>Where can Reticulum be Used?<a class="headerlink" href="#where-can-reticulum-be-used" title="Permalink to this heading"></a></h2>
2021-05-20 15:31:58 +02:00
<p>Over practically any medium that can support at least a half-duplex channel
2021-10-15 19:26:53 +02:00
with 500 bits per second throughput, and an MTU of 500 bytes. Data radios,
2021-05-16 23:40:49 +02:00
modems, LoRa radios, serial lines, AX.25 TNCs, amateur radio digital modes,
ad-hoc WiFi, free-space optical links and similar systems are all examples
of the types of interfaces Reticulum was designed for.</p>
2021-05-17 20:01:53 +02:00
<p>An open-source LoRa-based interface called <a class="reference external" href="https://unsigned.io/rnode">RNode</a>
2022-04-28 10:19:43 +02:00
has been designed as an example transceiver that is very suitable for
Reticulum. It is possible to build it yourself, to transform a common LoRa
development board into one, or it can be purchased as a complete transceiver.</p>
2021-05-16 23:40:49 +02:00
<p>Reticulum can also be encapsulated over existing IP networks, so theres
2022-08-25 11:00:30 +02:00
nothing stopping you from using it over wired Ethernet or your local WiFi
2021-05-16 23:40:49 +02:00
network, where itll work just as well. In fact, one of the strengths of
Reticulum is how easily it allows you to connect different mediums into a
self-configuring, resilient and encrypted mesh.</p>
<p>As an example, its possible to set up a Raspberry Pi connected to both a
LoRa radio, a packet radio TNC and a WiFi network. Once the interfaces are
2022-04-28 10:19:43 +02:00
added, Reticulum will take care of the rest, and any device on the WiFi
2021-05-16 23:40:49 +02:00
network can communicate with nodes on the LoRa and packet radio sides of the
network, and vice versa.</p>
2022-09-30 00:02:15 +02:00
</section>
<section id="interface-types-and-devices">
<h2>Interface Types and Devices<a class="headerlink" href="#interface-types-and-devices" title="Permalink to this heading"></a></h2>
2022-04-28 10:19:43 +02:00
<p>Reticulum implements a range of generalised interface types that covers the communications hardware that Reticulum can run over. If your hardware is not supported, its relatively simple to implement an interface class. Currently, Reticulum can use the following devices and communication mediums:</p>
2021-05-16 23:40:49 +02:00
<ul class="simple">
2022-08-25 11:00:30 +02:00
<li><p>Any Ethernet device</p>
2022-04-28 10:19:43 +02:00
<ul>
<li><p>WiFi devices</p></li>
2022-08-25 11:00:30 +02:00
<li><p>Wired Ethernet devices</p></li>
2022-04-28 10:19:43 +02:00
<li><p>Fibre-optic transceivers</p></li>
2022-08-25 11:00:30 +02:00
<li><p>Data radios with Ethernet ports</p></li>
2022-04-28 10:19:43 +02:00
</ul>
</li>
<li><p>LoRa using <a class="reference external" href="https://unsigned.io/rnode">RNode</a></p>
<ul>
<li><p>Can be installed on <a class="reference external" href="https://github.com/markqvist/rnodeconfigutil#supported-devices">many popular LoRa boards</a></p></li>
<li><p>Can be purchased as a <a class="reference external" href="https://unsigned.io/rnode">ready to use transceiver</a></p></li>
</ul>
</li>
<li><p>Packet Radio TNCs, such as <a class="reference external" href="https://unsigned.io/openmodem">OpenModem</a></p>
<ul>
<li><p>Any packet radio TNC in KISS mode</p></li>
<li><p>Ideal for VHF and UHF radio</p></li>
</ul>
</li>
2021-05-16 23:40:49 +02:00
<li><p>Any device with a serial port</p></li>
2022-04-28 10:19:43 +02:00
<li><p>The I2P network</p></li>
2021-05-16 23:40:49 +02:00
<li><p>TCP over IP networks</p></li>
<li><p>UDP over IP networks</p></li>
2022-05-14 20:19:15 +02:00
<li><p>Anything you can connect via stdio</p>
<ul>
<li><p>Reticulum can use external programs and pipes as interfaces</p></li>
<li><p>This can be used to easily hack in virtual interfaces</p></li>
<li><p>Or to quickly create interfaces with custom hardware</p></li>
</ul>
</li>
2021-05-16 23:40:49 +02:00
</ul>
2021-09-25 23:22:33 +02:00
<p>For a full list and more details, see the <a class="reference internal" href="interfaces.html#interfaces-main"><span class="std std-ref">Supported Interfaces</span></a> chapter.</p>
2022-09-30 00:02:15 +02:00
</section>
<section id="caveat-emptor">
<h2>Caveat Emptor<a class="headerlink" href="#caveat-emptor" title="Permalink to this heading"></a></h2>
2022-08-25 11:00:30 +02:00
<p>Reticulum is an experimental networking stack, and should be considered as
such. While it has been built with cryptography best-practices very foremost in
mind, it has not been externally security audited, and there could very well be
privacy-breaking bugs. To be considered secure, Reticulum needs a thorough
security review by independent cryptographers and security researchers. If you
want to help out, or help sponsor an audit, please do get in touch.</p>
2022-09-30 00:02:15 +02:00
</section>
</section>
2021-05-16 23:40:49 +02:00
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
2022-09-30 00:02:15 +02:00
<div>
<h3><a href="index.html">Table of Contents</a></h3>
<ul>
2021-05-16 23:40:49 +02:00
<li><a class="reference internal" href="#">What is Reticulum?</a><ul>
2021-05-17 17:04:01 +02:00
<li><a class="reference internal" href="#current-status">Current Status</a></li>
2021-05-16 23:40:49 +02:00
<li><a class="reference internal" href="#what-does-reticulum-offer">What does Reticulum Offer?</a></li>
<li><a class="reference internal" href="#where-can-reticulum-be-used">Where can Reticulum be Used?</a></li>
2021-09-25 23:22:33 +02:00
<li><a class="reference internal" href="#interface-types-and-devices">Interface Types and Devices</a></li>
2021-12-05 23:24:30 +01:00
<li><a class="reference internal" href="#caveat-emptor">Caveat Emptor</a></li>
2021-05-16 23:40:49 +02:00
</ul>
</li>
</ul>
2022-09-30 00:02:15 +02:00
</div>
<div>
<h4>Previous topic</h4>
<p class="topless"><a href="index.html"
title="previous chapter">Reticulum Network Stack Manual</a></p>
</div>
<div>
<h4>Next topic</h4>
<p class="topless"><a href="gettingstartedfast.html"
title="next chapter">Getting Started Fast</a></p>
</div>
2021-05-16 23:40:49 +02:00
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/whatis.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
2022-09-30 00:02:15 +02:00
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
2021-05-16 23:40:49 +02:00
<input type="submit" value="Go" />
</form>
</div>
</div>
2022-09-30 00:02:15 +02:00
<script>document.getElementById('searchbox').style.display = "block"</script>
2021-05-16 23:40:49 +02:00
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="gettingstartedfast.html" title="Getting Started Fast"
>next</a> |</li>
<li class="right" >
2021-05-17 17:04:01 +02:00
<a href="index.html" title="Reticulum Network Stack Manual"
2021-05-16 23:40:49 +02:00
>previous</a> |</li>
2022-09-06 16:50:33 +02:00
<li class="nav-item nav-item-0"><a href="index.html">Reticulum Network Stack 0.3.12 beta documentation</a> &#187;</li>
2021-05-16 23:40:49 +02:00
<li class="nav-item nav-item-this"><a href="">What is Reticulum?</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
2022-05-13 20:19:54 +02:00
&#169; Copyright 2022, Mark Qvist.
2022-09-30 00:02:15 +02:00
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.2.2.
2021-05-16 23:40:49 +02:00
</div>
</body>
</html>