Skip to main content

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 typeDefault inbound cost (*_cost)Default outbound target (*_value)Purpose
Destination announces23.525.0Bounds mass destination announce generation
Path requests (PR)15.815.8Raises 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, default 12): Recipients advertise their desired cost in lxmf.delivery announces.
  • 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 for propagation_stamp_throttle minutes (minimum 5).
  • 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_time seconds (7200 s = 2 hours) after an interface comes up, tighter burst triggers apply (ic_burst_freq_new = 3.0/s for announces, ic_pr_burst_freq_new = 3.0/s for 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 (15 s) + ic_burst_penalty (15 s) in a bounded queue (ic_max_held_announces = 64), then released gradually every ic_held_release_interval (5 s). Already-known active destinations take priority over floods of brand-new unknown hashes.
  • Per-destination rate limiting: announce_rate_target (e.g. 3600 s for hourly), announce_rate_grace, and announce_rate_penalty throttle 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_limiter drops packets arriving at or above a hop ceiling ([filter] hop_limiter globally, or per-interface hop_limiter in rsReticulum 1.5.1+), while ignored_types / required_only + allowed_types filter 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 = yes under [reticulum]), and peer hubs can explicitly subscribe to trusted operators (blackhole_sources = <hash1>, <hash2>, refreshed every blackhole_update_interval minutes, default 60, minimum 2).
  • 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​