A tracker for Mimir messenger.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Revertron 40f2048a17
Upgrade ygg_stream dependency to v0.2.8 (#1)
* Updated ygg_stream to v0.2.8 (Yggdrasil-ng v0.3.2).
2026-11-02 18:56:55 +01:00
src Updated to a new ygg_stream protocol. 2026-03-28 02:50:03 +01:00
Cargo.lock Upgrade ygg_stream dependency to v0.2.8 (#1) 2026-11-02 18:56:55 +01:00
Cargo.toml Upgrade ygg_stream dependency to v0.2.8 (#1) 2026-11-02 18:56:55 +01:00
LICENSE Initial commit. 2026-03-07 20:45:26 +01:00
README.md Updated dependencies. 2026-03-16 21:42:18 +01:00

mimir-tracker

A lightweight tracker for Yggdrasil overlay network nodes. It allows clients to announce their network addresses and discover peers using Ed25519-signed records over Yggdrasil datagrams and streams.

Features

  • Announce & Discover — clients register their addresses via datagrams and look up peers by public key
  • Tracker-to-tracker sync — multiple tracker instances replicate records over persistent streams with hop-limited forwarding
  • Signed records — all announcements are Ed25519-signed to prevent spoofing
  • Automatic persistence — records are periodically saved to disk and restored on restart
  • Adaptive TTL — announcement TTL doubles on each re-announce (2 → 4 → … → 16 min), reducing traffic for stable nodes

Usage

mimir-tracker -p <peer-uri> [-p <peer-uri> ...] [-s <tracker-pubkey> ...] [-k <hex-key>]

Options

Flag Description
-p, --peer Yggdrasil peer URI (required, repeatable)
-s, --server Public key (hex) of another tracker to sync with (repeatable)
-k, --key Hex-encoded 32-byte private key seed (optional; auto-generated if omitted)
-h, --help Print help

Example

mimir-tracker \
  -p tcp://1.2.3.4:5678 \
  -s a1b2c3d4e5f6...

Building

cargo build --release

License

MPL-2.0