Skip to main content

CLI tools reference

Standalone Rust command-line tools ship in rsReticulum (rns-tools and rns-git) and rsLXMF (lxmf-tools). They are drop-in Rust implementations of the Reticulum and LXMF utilities and default to ~/.rsReticulum and ~/.rsLXMF (pass --config <dir> to point at ~/.reticulum or another profile).

Binary inventory​

BinaryPackagePurpose
rnsd-rsrns-toolsHeadless Reticulum transport daemon and shared instance.
rnstatus-rsrns-toolsInspect local or remote interfaces, traffic, announces, filters, queues, blocked IPs, and discovered nodes.
rnpath-rsrns-toolsQuery, drop, and analyze paths; view announce rates; manage local and remote blackholes.
rnprobe-rsrns-toolsSend proof probes to verify live reachability and round-trip latency.
rnid-rsrns-toolsCreate/inspect identities, compute destination hashes, encrypt/decrypt, sign/verify, and import/export keys.
rnodeconf-rsrns-toolsFlash, provision, inspect, and update RNode radio firmware (--autoinstall, --info, --update).
rncp-rsrns-toolsSend and receive files directly over Reticulum links.
rnsh-rsrns-toolsInteractive remote shell over Reticulum.
rnx-rsrns-toolsExecute single commands or pseudo-shells on remote Reticulum hosts.
rnir-rsrns-toolsReticulum interface/network inspection helper.
rnpkg-rsrns-toolsReticulum package distribution helper.
rngit-rsrns-gitServe and manage Git repositories over Reticulum; see Git over Reticulum.
git-remote-rnsrns-gitGit remote helper enabling git clone rns://... and git push.
rngcs-rsrns-gitReticulum Git code-hosting/gateway server.
lxmd-rslxmf-toolsHeadless LXMF delivery daemon, Offline Inbox (propagation node), and remote propagation admin CLI.

Flag differences to watch​

Some short flags differ slightly across tools (matching upstream Reticulum conventions):

Taskrnstatus-rsrnpath-rsrnprobe-rs
Local timeout-w / --timeout-w / --timeout-t / --timeout
Remote query timeout-w / --timeout-W / --remote-timeout—
Remote transport hash-R <hash>-R <hash>—
Admin identity path-i <path>-i <path>—
JSON output--json--json—

rnsd-rs — Transport daemon​

# Start daemon with default config (~/.rsReticulum/config)
rnsd-rs

# Start with an explicit config directory and verbose logging
rnsd-rs --config /etc/rnsd -v

# Print a clean example configuration
rnsd-rs --exampleconfig

# Convert legacy rsReticulum 1.3 byte ifac_size values to bits (1.5+)
rnsd-rs --config ~/.rsReticulum config ifac-units --interface "Private TCP" --source-units bytes --write

rnstatus-rs — Interface & flood diagnostics​

# Basic interface summary
rnstatus-rs

# Live refresh every 1 second
rnstatus-rs -m -I 1

# Full flood/abuse diagnostics (announces, path requests, filters, blocked IPs, queues)
rnstatus-rs -A -P -F -b -q

# Show only interfaces experiencing an active burst
rnstatus-rs -B -A -P

# Sort by incoming announces or TX drops, machine-readable JSON
rnstatus-rs -A --sort arx --reverse
rnstatus-rs --json

# List discovered public Backbone/radio interfaces (add -D for full config snippets)
rnstatus-rs --discovered
rnstatus-rs -D

# Query a remote transport node
rnstatus-rs -R <transport_id_hash> -i ~/.rsReticulum/admin_id -A -b

# Hot-manage interfaces (requires enable_interface_management = yes)
rnstatus-rs --reload "Public Backbone"

rnpath-rs — Routing table & blackholes​

# Show full path table (add -a for active only, -V for via hashes, -E for expiry)
rnpath-rs -t
rnpath-rs -t -a -V -E

# Request or inspect path to a specific destination hash
rnpath-rs <32_char_dest_hash>

# Inspect announce rates and analyze table health
rnpath-rs --rates
rnpath-rs --analyze

# Drop a single stale path, all paths via a relay, or all queued announces
rnpath-rs -d <dest_hash>
rnpath-rs -x <via_transport_hash>
rnpath-rs -D

# Blackhole management (local or remote with -R / -i)
rnpath-rs -b # list blackholes
rnpath-rs -B <identity_hash> --duration 168 --reason "announce flood" # add blackhole
rnpath-rs -U <identity_hash> # remove blackhole
rnpath-rs -p <remote_transport_hash> # view remote published list

rnprobe-rs — Reachability & latency probe​

# Send 5 probes to a destination (for example an rnprobe responder or transport probe)
rnprobe-rs -n 5 <full_aspect_name> <destination_hash>

# Custom timeout (seconds) and payload size (bytes)
rnprobe-rs -n 3 -t 15 -s 32 rnstransport.probe <transport_hash>

rnid-rs — Identities, hashes & crypto​

# Generate a new identity file
rnid-rs -g ~/.rsReticulum/admin_id

# Print the identity hash and compute a destination hash for an aspect
rnid-rs -i ~/.rsReticulum/admin_id -p
rnid-rs -i ~/.rsReticulum/admin_id -H lxmf.delivery

# Sign and verify a file
rnid-rs -i ~/.rsReticulum/admin_id -s report.txt
rnid-rs -i <signer_hash_or_file> -V report.txt.rsg -r report.txt

rnodeconf-rs — RNode provisioning​

# Interactive auto-install (downloads & flashes supported RNode firmware)
rnodeconf-rs --autoinstall

# Inspect an attached RNode
rnodeconf-rs /dev/ttyACM0 --info

# Update firmware on an existing RNode
rnodeconf-rs /dev/ttyACM0 --update

rncp-rs, rnsh-rs & rnx-rs — File transfer & remote administration​

# File transfer: listen on receiver, push from sender
rncp-rs --listen -a <allowed_identity_hash>
rncp-rs backup.tar.zst <receiver_dest_hash>

# Remote command execution: listen on server, run command from admin host
rnx-rs --listen -a <allowed_identity_hash>
rnx-rs <server_dest_hash> "uptime"

# Interactive remote shell over Reticulum
rnsh-rs --listen -a <allowed_identity_hash>
rnsh-rs <server_dest_hash>
Protect admin identities

Never run rnx-rs --listen, rnsh-rs --listen, or rncp-rs --listen with open/unrestricted access on public networks. Always restrict with -a <allowed_identity_hash> (or a dedicated allowed-identities file) and protect the admin private key with 0600 permissions.

lxmd-rs — LXMF daemon & Offline Inbox​

# Start propagation/delivery daemon (after rnsd-rs is up if sharing an instance)
lxmd-rs --config ~/.rsLXMF

# Local status and connected propagation peers
lxmd-rs --status
lxmd-rs --peers

# Trigger a manual sync with a peer or break peering
lxmd-rs --sync <peer_pn_hash>
lxmd-rs --break <peer_pn_hash>

# Query or administer a remote propagation node (requires control_allowed on server)
lxmd-rs --remote <remote_pn_hash> --identity ~/.rsReticulum/admin_id --status
lxmd-rs --remote <remote_pn_hash> --identity ~/.rsReticulum/admin_id --peers

# Send a quick LXMF message (useful for operator health-check alerts)
lxmd-rs --send <recipient_lxmf_hash> "Host Alert: Disk usage > 90%"

# Send from a UTF-8 file with explicit direct delivery
lxmd-rs --send <recipient_lxmf_hash> --send-file /tmp/alert.txt --send-method direct
Shared-instance RPC permissions

When CLI tools talk to a local rnsd-rs shared instance, they derive the RPC key from storage/transport_identity inside the rnsd-rs config directory. Run CLI tools as the same user (or a dedicated group with read access to that key) and keep storage/transport_identity mode 0600.