docs: README and changelog for 1.5.0

This commit is contained in:
DeFiDude committed 2026-11-14 00:02:10 -07:00
1 parent fa70313858
commit f31601fe71
4 files changed
+101 -114

No files matched your search

+30
View File
@@ -2,6 +2,36 @@
## Unreleased
## 1.5.0 - 2026-11-13
### Added
- **Network stamps**: announces, path requests, and link requests can carry Reticulum 1.6.0 stamps. Turn them on in the new `[stamps]` section (see `rnsd-rs --exampleconfig`). Stamps that arrive are checked, and required only with `enforce_stamps = yes`.
- **Link MTU discovery**: Links use the largest packets the path allows, so transfers on fast links finish sooner. It's on by default; set `link_mtu_discovery = no` to turn it off.
- **Resources as files**: an application can receive a Resource of any size straight to a file with `DestinationHandle::receive_resource_files` or `LinkSessionResourceOffer::accept_to_file`.
- **Filters**: the new `[filter]` section can drop destination types you don't use and packets that have travelled too many hops.
- **New tools**: `rngit-rs` hosts git repositories over Reticulum, `git-remote-rns` lets `git` clone, fetch, and push `rns://` repositories, `rngcs-rs` signs and checks commits, and `rnx-rs` runs commands on a remote node. `rngit-rs` stops a fork, mirror, or sync after 30 minutes or 1 GB by default.
- **rnodeconf-rs**: every `rnodeconf` option now works, including firmware install and update, device signing, EEPROM bootstrap, and the `-a` guided installer. Flashing uses the same external tools as Python's `rnodeconf`.
### Fixed and improved
- `rnsd-rs` auto-connects to discovered Backbone servers running Python Reticulum 1.5.7 or later, or rsReticulum 1.5.0 or later. Set `autoconnect_unverified_implementations = yes` to allow any.
- Every tool's `--version` names the Reticulum release it follows, for example `rnsd-rs 1.5.0 (Reticulum 1.6.0)`.
- `rnsd-rs` logs at Notice by default, which is quieter than before; set `loglevel = 4` for the old output.
- `rnstatus-rs`, `rnpath-rs`, `rnprobe-rs`, and `rnid-rs` match Python's tools in output, options, and exit codes, and `rnstatus-rs` can attach, detach, and reload interfaces on a running `rnsd-rs`.
- `rncp-rs -f` now takes the remote file before the destination hash, as Python's `rncp` does. Listeners accept files only from allowed identities unless `-n` is given, and files of any size work.
- In `rnsh-rs`, `-c` now names rnsh's own config directory, as in Python's `rnsh`; use `--rnsconfig` for the Reticulum one.
- An interface that fails to start now stops start-up, as in Python Reticulum. Embedders can keep going with `InitOptions::keep_starting_after_interface_failure`.
- RNodeMulti reads `interface_mode` from the device section and `flow_control` from each subinterface.
- AutoInterface, Backbone, and I2P interfaces, path expiry, and announce queues behave as in Python Reticulum 1.6.0.
- Key exchange rejects weak peer keys that would give an all-zero shared secret.
### Build and compatibility
- Bluetooth Peer uses new service identifiers, so it doesn't find peers on 1.4.0 or earlier until both update. Bluetooth RNodes aren't affected.
- Known destinations, ratchets, and cached announces are stored in the same SQLite files as Python Reticulum 1.6.0. Old files are imported on first start, so going back to an older release starts with no known destinations.
- Breaking API changes are listed in the [1.5 migration guide](api/migrations/1.5.md); use the `~1.5.0` line. The default `sqlite-store` feature builds a bundled SQLite, so builds need a C compiler.
## 1.4.0 - 2026-11-08
- RNode drivers confirm the settings the radio applies once it is on, on every transport, and stop with the rejected setting named (for example TX power below an amplifier's minimum) instead of transmitting at other settings or retrying forever.
+68 -110
View File
@@ -7,7 +7,7 @@
[![License: Reticulum License](https://img.shields.io/badge/license-Reticulum%20License-blue.svg)](LICENSE)
[![Rust 1.89+](https://img.shields.io/badge/rust-1.89%2B-orange.svg)](https://www.rust-lang.org)
[![Release baseline: Reticulum 1.4.2](https://img.shields.io/badge/release%20baseline-Reticulum%201.4.2-success.svg)](https://reticulum.network/)
[![Baseline: Reticulum 1.6.0](https://img.shields.io/badge/baseline-Reticulum%201.6.0-success.svg)](https://reticulum.network/)
[![Status](https://img.shields.io/badge/status-experimental-yellow.svg)](#compatibility-notes)
[Reticulum Manual](https://reticulum.network/manual/) |
@@ -23,11 +23,6 @@ rsReticulum is a Rust port of
[Reticulum](https://github.com/markqvist/Reticulum), the reference
implementation by Mark Qvist. It was written from the reference source, not from
a specification, and tracks the reference's wire behavior release by release.
The Python reference implementation remains the source of truth. See
[License](#license).
Commands are intentionally namespaced for Rust with `*-rs` command names, so
rsReticulum can live beside other Reticulum tools on `PATH` without worry.
## Contents
@@ -37,22 +32,21 @@ rsReticulum can live beside other Reticulum tools on `PATH` without worry.
- [Configuration](#configuration)
- [Interface Support](#interface-support)
- [Compatibility Notes](#compatibility-notes)
- [Contributing](#contributing)
- [License](#license)
## Build It
This guide describes the 1.4.0 release, [v1.4.0](https://github.com/ratspeak/rsReticulum/releases/tag/v1.4.0), the source line Ratspeak builds from. For the 1.3.0 tools, use [the v1.3.0 README](https://github.com/ratspeak/rsReticulum/blob/v1.3.0/README.md) and that build's `--help`.
This guide describes the 1.5.0 release, [v1.5.0](https://github.com/ratspeak/rsReticulum/releases/tag/v1.5.0), the source line Ratspeak builds from.
From a new working directory:
```bash
git clone https://github.com/ratspeak/rsReticulum.git
git -C rsReticulum checkout --detach 5b38cae702a5b3984adf12a435f6d3012fcf90e1
git -C rsReticulum checkout --detach v1.5.0
cd rsReticulum
```
Run the build commands below from that directory. The host crates require Rust 1.89 or newer.
Run the build commands below from that directory. The host crates require Rust 1.89 or newer. The default build compiles a bundled SQLite, so it also needs a C compiler; the build tools below provide one.
### macOS
@@ -113,7 +107,7 @@ macOS/Linux or `.\target\release\<tool>.exe` on Windows.
## Tool Usage
The `rns-tools` crate builds Rust-namespaced Reticulum utilities:
The `rns-tools` and `rns-git` crates build these tools:
| Binary | Purpose |
| --- | --- |
@@ -125,15 +119,23 @@ The `rns-tools` crate builds Rust-namespaced Reticulum utilities:
| rncp-rs | File transfer utility with send, listen, and authenticated fetch modes. |
| rnodeconf-rs | RNode inspection, settings, signing, EEPROM bootstrap, firmware install and update, and the guided installer. |
| rnsh-rs | Reticulum shell listener/client. |
| rnx-rs | Remote command execution listener and client. |
| rnir-rs | Distributed identity resolver. Like upstream's `rnir`, it starts Reticulum and exits. |
| rnpkg-rs | Meta package manager. Like upstream's `rnpkg`, it starts Reticulum and exits. |
| rngit-rs | Git repository node and its management commands, with forks, mirrors, releases, and NomadNet pages. |
| git-remote-rns | Git remote helper for `rns://<destination_hash>/<group>/<repo>` URLs. Python's `rngit` installs one with the same name, so keep only one on `PATH`. |
| rngcs-rs | Git commit signer and verifier for Reticulum identities, with the `ssh-keygen -Y` interface git uses for SSH signing. |
Common command forms (use each binary’s `--help` for the complete option list):
```text
rnsd-rs [-c CONFIG_DIR] [-v|-q]... [-i] [--service] [--exampleconfig] [--version]
rnstatus-rs [--all] [--sort rate|traffic|rx|tx|rxs|txs|announces|arx|atx|arxc|atxc|prx|ptx|prxc|ptxc|held|pvs|ivs|flt|txdrp|txdrb]
rnsd-rs [--config CONFIG_DIR] [-v|-q]... [-i] [--service] [--exampleconfig] [--version]
rnsd-rs [--config CONFIG_DIR] config ifac-units --interface NAME --source-units bytes|bits [--write]
rnstatus-rs [--all] [--sort rate|traffic|rx|tx|rxs|txs|announces|arx|atx|arxc|atxc|prx|ptx|prxc|ptxc|held|pvs|ivs|flt|txdrp|txdrb|txbuf]
[--reverse] [--announce-stats] [--link-stats] [--totals] [--json]
[-d|--discovered] [-D] [-m [-I SECONDS]] [FILTER]
[-R <transport_hash> -i <identity_file>]
rnstatus-rs --attach NAME | --detach NAME | --reload NAME
rnpath-rs [--table|--rates] [destination_hash] [--max HOPS]
rnpath-rs <destination_hash>
rnprobe-rs [-s SIZE] [-n COUNT] [-t TIMEOUT] [-w WAIT] [--json] <full_name> <destination_hash>
@@ -143,7 +145,7 @@ rnid-rs [-i IDENTITY|-g FILE|-m PUB|-M PRV] [-p|-P] [-x|-X] [-H ASPECT]
rncp-rs <file> <destination_hash>
rncp-rs -l [-b SECONDS] [-s DEST_DIR] [-a <allowed_hash>]...
rncp-rs -l -F [-j <jail_dir>] [-a <allowed_hash>|-n]...
rncp-rs -f <destination_hash> <remote_path> [-s DEST_DIR]
rncp-rs -f <remote_path> <destination_hash> [-s DEST_DIR]
rnodeconf-rs [-i] [--config] [--eeprom-backup|--eeprom-dump] [--version] [PORT]
rnodeconf-rs -T --freq HZ --bw HZ --txp DBM --sf SF --cr CR PORT
rnodeconf-rs -N PORT
@@ -151,69 +153,49 @@ rnodeconf-rs -a [PORT]
rnodeconf-rs -u [-U] [--fw-version V] [--fw-url URL] [--nocheck] PORT
rnsh-rs -l [-i FILE] [-s NAME] [-b PERIOD] [-a HASH]... [-n] [-A|-C] [-- CMD...]
rnsh-rs [-i FILE] [-s NAME] [-N] [-m] [-w SECONDS] <destination_hash> [-- CMD...]
rnx-rs -l [-i FILE] [-b] [-a <allowed_hash>]... [-n]
rnx-rs [-i FILE] [-N] [-d] [-m] [-w SECONDS] [-W SECONDS] <destination_hash> <command>
rnx-rs -x [-i FILE] <destination_hash>
rngit-rs [--config DIR] [--rnsconfig DIR] [-p] [-s]
rngit-rs create|fork|mirror|sync|release|perms|work [OPTIONS] ...
git clone rns://<destination_hash>/<group>/<repo>
```
Add the release `bin/` directory or `target/release` to `PATH` if
you want to call them without a path prefix.
Add `target/release`, or the `bin/` directory of a release archive, to `PATH`
to run the tools by name.
`rncp-rs` has a listener authorization limitation in 1.4.0 and 1.3.0: `-a <hash>` and `allowed_identities` are checked when a
peer identifies, but identification is not required before receiving a pushed
file. Do not rely on the allowlist to exclude unidentified senders.
### File transfer
Without `-n`, fetch requests require an identified peer on the allowlist.
`rncp-rs -F` enables fetch service and leaves push reception enabled. Use
`-j <jail>` to constrain fetched paths to a directory under trusted local
control; it is not an operating-system sandbox.
An `rncp-rs` listener accepts files only from identities given with `-a` or
listed in `allowed_identities`; `-n` accepts anyone. Add `-F` to also serve
fetches, and `-j <dir>` to keep them inside one directory.
`rnodeconf-rs` covers the upstream `rnodeconf` options: inspection, device
settings, signing and trust, EEPROM bootstrap and wipe, firmware download,
update, flashing and extraction, and the `-a` guided installer. Firmware comes
from the official RNode firmware releases unless `--fw-url` names another
source. Flashing runs the same external tools as upstream (`avrdude`,
`adafruit-nrfutil`, and the firmware's own `esptool.py` through `python3`);
upstream's bundled recovery esptool is not included, so `--extract` needs
`esptool.py` or `esptool` on `PATH`. On nRF52 boards the EEPROM bootstrap
writes more slowly than upstream and reads every byte back before locking.
### RNode setup
`rnid-rs` tracks the Reticulum 1.4.2 identity utility surface for normal
software identities: public/private import and export, destination hashing,
`.pub` public identity files, and signed `.rsg` signature files. The
hardware-backed `rnid-rs hw` path is a Rust extension behind the `hardware`
feature and should still be treated as experimental.
`rnodeconf-rs` installs and updates RNode firmware, changes device settings,
signs devices, and walks through a new device with `-a`. Flashing uses the same
tools as Python's `rnodeconf`: `avrdude`, `adafruit-nrfutil`, or the firmware's
own `esptool.py` through `python3`.
Common `rnid-rs` flows for a POSIX shell. Replace uppercase placeholders with your values. Private exports and imported private data grant control of the identity; keep them out of shared terminals, logs and shell history.
### Identities
`rnid-rs` creates, imports, and exports identities, and signs, verifies,
encrypts, and decrypts with them. Exported private keys grant control of an
identity, so keep them out of shared terminals, logs, and shell history.
Hardware-backed identities (`rnid-rs hw`, behind the `hardware` feature) are
experimental.
```bash
# Generate and inspect an identity.
mkdir -p ~/.rsReticulum/identities
rnid-rs -g ~/.rsReticulum/identities/mgmt
rnid-rs -i ~/.rsReticulum/identities/mgmt -p
rnid-rs -i ~/.rsReticulum/identities/mgmt -H lxmf.delivery
# Export text identity material. -x is public, -X is private.
rnid-rs -i ~/.rsReticulum/identities/mgmt -x -b
rnid-rs -i ~/.rsReticulum/identities/mgmt -X -B
# Write identity files. Without -X, -w writes a public .pub file.
rnid-rs -i ~/.rsReticulum/identities/mgmt -w mgmt.pub
rnid-rs -i ~/.rsReticulum/identities/mgmt -X -w mgmt.rid
rnid-rs -m "PUBLIC_IDENTITY_DATA" -w peer.pub
rnid-rs -M "PRIVATE_IDENTITY_DATA" -X -w restored_identity
# Sign and validate. New signatures are Reticulum 1.4.2-compatible .rsg envelopes.
rnid-rs -i ~/.rsReticulum/identities/mgmt -s message.txt
rnid-rs -V message.txt.rsg
rnid-rs -i "SIGNER_IDENTITY_HASH" -N -V message.txt.rsg
# Encrypt to a public identity, decrypt with the matching private identity.
rnid-rs -i mgmt.pub -e message.txt
rnid-rs -i ~/.rsReticulum/identities/mgmt -d message.txt.rfe
rnid-rs -g ~/.rsReticulum/identities/mgmt # generate
rnid-rs -i ~/.rsReticulum/identities/mgmt -p # show
rnid-rs -i ~/.rsReticulum/identities/mgmt -w mgmt.pub # write the public half
rnid-rs -i ~/.rsReticulum/identities/mgmt -s message.txt # sign: message.txt.rsg
rnid-rs -V message.txt.rsg # verify
rnid-rs -i mgmt.pub -e message.txt # encrypt: message.txt.rfe
rnid-rs -i ~/.rsReticulum/identities/mgmt -d message.txt.rfe # decrypt
```
Use `--raw -s <file>` only when a workflow intentionally needs the legacy raw
64-byte signature form. Normal `rnid-rs -s <file>` produces a `.rsg` file that
embeds the signer metadata needed for current and retained compatibility.
## Configuration
`rnsd-rs` reads Reticulum INI config from `<config-dir>/config`. If no config
@@ -237,7 +219,6 @@ Minimal TCP client example. Replace `reticulum.example.org` and the port with th
```ini
[reticulum]
share_instance = yes
instance_control_socket = yes
enable_transport = no
[interfaces]
@@ -249,7 +230,7 @@ enable_transport = no
target_port = 4242
```
Review an imported Python or older Rust config before starting it. Each interface needs a supported type and an explicit `enabled = yes` or `interface_enabled = yes`. For an explicit IFAC size, use `ifac_size_unit = bits` with `ifac_size`, or the separate `ifac_size_bytes` key. Unmarked values from 1 to 64 are rejected as ambiguous; larger valid values are interpreted as bits. See the [configuration migration](api/migrations/capacity-and-receipts.md#explicit-ifac-units). The published 1.3.0 tools use the older byte convention. Keep unsupported interfaces disabled.
Each interface needs a supported type and an explicit `enabled = yes` or `interface_enabled = yes`, and `ifac_size` is given in bits, as in Python Reticulum. Keep unsupported interfaces disabled.
The default shared-instance data/control ports are `37428`/`37429`. Ratspeak
uses app-private `37430`/`37431` ports. If you run two daemons at the same
@@ -267,6 +248,15 @@ identity. That key is an admin credential: a program that has it can read the
daemon's network state, drop its paths and block identities, so treat it like
a password and give it only to programs you trust.
Runtime state is kept under `<config-dir>/storage/`. Known destinations and
received ratchets are stored in `known_destinations.db` and cached announces in
`cache/announces.db`, SQLite files in the format Python Reticulum 1.6.0 uses.
A shared-instance client reads the owner's database and never
writes it. A database that cannot be opened is replaced by in-memory state for
that session, with one log line. These stores come from the default
`sqlite-store` feature of `rns-transport`; without it, this state lasts only
for the session.
## Interface Support
This stack is experimental. Include the source revision or binary version, platform, interface type and relevant logs when reporting a problem.
@@ -279,12 +269,13 @@ This stack is experimental. Include the source revision or binary version, platf
| Local shared instance | Config-backed TCP loopback or Unix socket depending on platform. |
| I2P | Config-backed SAM v3.1 path. |
| Pipe | Config-backed subprocess stdio pipe. |
| Backbone | Config-backed high-latency WAN-style tunnel. |
| Backbone | Config-backed `BackboneInterface` listener and `BackboneClientInterface`, HDLC over TCP. |
| Serial, KISS, RNode, RNode Multi, AX.25 KISS | Config-backed with the `serial` feature. |
| RNode over TCP | Config-backed `RNodeInterface` with a `tcp://` port, with the `serial` or `rnode-tcp` feature. |
| BLE RNode | Config-backed with the `ble` feature. |
| Bluetooth Peer | Runtime API used by Ratspeak. |
| Bluetooth Peer | Runtime API used by Ratspeak, with the `ble` feature. |
| Android USB-OTG | Runtime API for Android app embeddings. |
| Weave | Partial: interface driver implemented, not yet config-wired in the runtime. |
| Weave | Not supported yet. |
| Bluetooth Classic RFCOMM | Not implemented. |
## Established Link Routing
@@ -304,47 +295,14 @@ identity.
## Compatibility Notes
Most daemon and utility flows are implemented for the public `*-rs` tools:
`rnsd-rs`, `rnstatus-rs`, `rnpath-rs`, `rnid-rs`, `rnprobe-rs`, `rncp-rs`,
`rnsh-rs`, and `rnodeconf-rs`.
rsReticulum 1.5.0 follows Python Reticulum 1.6.0, and its tools name that
release in `--version`.
The release baseline for 1.3.0 and 1.4.0 is Python Reticulum 1.4.2. The complete byte-exact corpus,
utility vectors, source-truth oracles, and live Python interoperability matrix
are pinned to its exact source commit. Historical 1.3.8 audits and fixtures
retain their original provenance as backward-compatibility evidence. RNS 1.5.0
was not part of that complete release gate. The current source includes
selected later Python compatibility changes; those do not establish complete
parity with a later Python release.
Known gaps and intentional limits:
- `rnx`, `rnir`, `rnpkg`, `rngit`, and `git-remote-rns` are not implemented;
of the rngit tools only the `rngcs-rs` commit signer exists.
- `rnodeconf-rs` flashing, EEPROM bootstrap and the guided installer are
checked against upstream on an emulated RNode; real-board coverage depends
on hardware testing.
- `rnstatus-rs` covers the practical operator surface, but does not implement
every display/API behavior from upstream.
- `rnpath-rs` remote mode is read-only for table/rates, including destination
filters, apart from the remote blackhole-list query path. Remote mutations
and remote active path requests are full gaps.
- Interface discovery announces name this stack `rsRNS` and its version. Python
Reticulum 1.5.5 and later auto-connects only to Backbone interfaces
announced by Python Reticulum 1.5.2 or later, so a Python node auto-connects
to an `rsRNS` interface only with `autoconnect_unverified_implementations =
yes` in its `[reticulum]` section. `rnsd-rs` follows the same rule, and the
same option lets it auto-connect to any announced Backbone interface.
- `rncp-rs` implements the listener `-b` announce interval. `-P/--phy-rates`
is not supported.
- `rns-ratkey` hardware identity support is feature-gated and still has known
hardware-verification gaps before it should be described as release-ready.
## Contributing
If the issue or contribution belongs upstream as well, start there. Python LXMF
and Reticulum remain the reference implementations.
PRs are closed for now until I have time to catch up on everything. I'm tired.
Interface discovery announces this stack as `rsRNS`. `rnsd-rs` auto-connects to
discovered Backbone interfaces announced by Python Reticulum 1.5.7 or later and
by rsReticulum 1.5.0 or later; `autoconnect_unverified_implementations = yes`
in `[reticulum]` allows any. Python Reticulum auto-connects to an rsReticulum
interface only with that option set.
## License
+1 -2
View File
@@ -1,7 +1,6 @@
# Rust API
This guide describes the 1.5.0 API, published as v1.5.0. For the 1.4.0
tools and libraries, use the documentation at that tag. The [1.5 migration
This guide describes the 1.5.0 API, published as v1.5.0. The [1.5 migration
guide](migrations/1.5.md) covers source and configuration changes.
Application code should begin with `rns_runtime::prelude`. It collects the
+2 -2
View File
@@ -1,6 +1,6 @@
# Reticulum runtime examples
These examples use the 1.4 source API and `rns_runtime::prelude`. Run them from
These examples use `rns_runtime::prelude`. Run them from
the rsReticulum repository root after installing the [build prerequisites](../../../README.md#build-it).
They demonstrate application ownership; they are not ready-made services.
@@ -79,5 +79,5 @@ that key alone does not demonstrate key retirement or forward secrecy.
Python's `ExampleInterface.py` loads Python classes at runtime. Rust integrates
third-party interfaces at compile time through `rns_interface::InterfaceHandle`
and the interface factory. Custom drivers on the 1.4 line must also follow the
and the interface factory. Custom drivers must also follow the
[interface ownership and capacity contract](../../../api/migrations/capacity-and-receipts.md).