Stamps, ingress control, and blackholes
Open Reticulum meshes have no central account authority or global gatekeeper. Instead, Reticulum (1.6.x / rsReticulum 1.5.x) and LXMF (1.3.x / rsLXMF 1.5.x) layer independent, local defenses so every operator can resist traffic floods and spam without sacrificing decentralization.
Defense-in-depth pipeline
1. Proof-of-work stamps (Network & LXMF)
A stamp is a lightweight Hashcash-style proof-of-work value attached to an announce, path request, link request, or LXMF message. Generating a stamp requires bounded CPU time on the sender; verifying it is a single cheap hash check on every router or recipient.
Reticulum 1.6.x network stamps ([stamps])
Network stamps protect transport routers against mass announce floods, path-request storms, and link-request floods. Both costs and values use fractional floating-point numbers (f64 in rsReticulum 1.5.x):
| Stamp type | Default inbound cost (*_cost) | Default outbound target (*_value) | Purpose |
|---|---|---|---|
| Destination announces | 23.5 | 25.0 | Bounds mass destination announce generation |
| Path requests (PR) | 15.8 | 15.8 | Raises cost of path-request amplification storms |
| Link requests (LR) | 12.5 | (per destination) | Protects link responders from handshake floods (lr_cost, max 40) |
Reticulum rolls network stamps out in phases: 1.6.0 (rsReticulum 1.5.0) validates stamps and stamps link requests when a destination advertises a cost; 1.6.1 (rsReticulum 1.5.1) turns on stamp_destinations = yes and stamp_prs = yes by default; enforce_stamps remains opt-in until 1.6.2 so operators can avoid dropping pre-1.6 peers prematurely.
LXMF 1.3.x message & propagation stamps + tickets
- Direct message stamps (
[lxmf] stamp_cost, default12): Recipients advertise their desired cost inlxmf.deliveryannounces. - Propagation stamps (
propagation_stamp_cost_target = 16.0,flexibility = 3.0,peering_cost = 18.0): Propagation nodes reject under-stamped deposits and throttle misbehaving sync peers forpropagation_stamp_throttleminutes (minimum5). - Tickets (fast path for known correspondents): Once two people correspond, a recipient can issue a time-bounded ticket that lets the peer bypass LXMF proof-of-work on future messages. Tickets keep first contact expensive for spammers while everyday chats remain instant and battery-friendly (tickets expire and never bypass a local block).
2. Ingress control (ingress_control) & rate limits
Ingress control is enabled by default (ingress_control = yes) on every Reticulum interface to absorb sudden announce or path-request bursts — whether from a reconnecting subnet, a misconfigured device, or a deliberate flood:
- New vs. established windows: During the first
ic_new_timeseconds (7200s = 2 hours) after an interface comes up, tighter burst triggers apply (ic_burst_freq_new = 3.0/sfor announces,ic_pr_burst_freq_new = 3.0/sfor path requests). After that warmup window, established limits apply (ic_burst_freq = 10.0/s,ic_pr_burst_freq = 8.0/s). - Bounded holding queue: When incoming traffic exceeds the burst rate, excess announces are held for
ic_burst_hold(15s) +ic_burst_penalty(15s) in a bounded queue (ic_max_held_announces = 64), then released gradually everyic_held_release_interval(5s). Already-known active destinations take priority over floods of brand-new unknown hashes. - Per-destination rate limiting:
announce_rate_target(e.g.3600s for hourly),announce_rate_grace, andannounce_rate_penaltythrottle individual noisy destinations without penalizing quiet neighbors sharing the same link. (Ratspeak 1.1.x defaults auto-announce to 1 hour specifically so healthy clients stay under public hubs' hourly targets.) - Packet filters (
[filter]):hop_limiterdrops packets arriving at or above a hop ceiling ([filter] hop_limiterglobally, or per-interfacehop_limiterinrsReticulum 1.5.1+), whileignored_types/required_only+allowed_typesfilter unwanted destination aspects before they consume routing table space.
3. Blackhole management
When specific cryptographic identities abuse your node, operators can blackhole their 32-character identity hash locally (rnpath-rs -B <identity_hash> --duration <hours> --reason "..." and remove with rnpath-rs -U <hash>):
- Local enforcement: Your node immediately drops announces and routed traffic from that identity.
- Opt-in shared lists: A transport operator can publish their blocklist (
publish_blackhole = yesunder[reticulum]), and peer hubs can explicitly subscribe to trusted operators (blackhole_sources = <hash1>, <hash2>, refreshed everyblackhole_update_intervalminutes, default60, minimum2). - No global kill switch: Subscription is strictly local and opt-in — no single operator can unilaterally ban an identity across the Reticulum network.
Next steps
- Apply these defenses step-by-step on a live server in Hardening, Firewalls, and Anti-flood.
- Inspect every daemon key in
rnsd-rsconfig andlxmd-rsconfig.