A phone keeping its mesh online was paying for two data-path probe exchanges per WG or AWG link, repeated control snapshots, and a full Android status and DNS rebuild every two seconds while the activity was closed. Let a timely, authenticated reply of the requested size on the physical carrier satisfy its native delivery check. Keep the full-sized probe, RTT window, loss thresholds, roaming, and independent silence detection. Resume native probes when shared confirmations go stale and answer both probe formats throughout the lifetime of the pair. Index the latest signed objects once per network. Each reliable session sends a full snapshot on connect and advances its cursor only when a frame enters its send queue. Reopen the affected stream if a replica cannot persist a received update. Send canonical peer hints in bounded batches, publish changed edges immediately, and refresh reachability ahead of its 90-second expiry. The scheduling revisions live in memory and peers use the existing wire formats and database schema. Drive Android DNS and selected-exit notifications from coalesced roster changes. The visible activity requests fresh counters, reusing the current DNS zones. Set the workspace, Android, and Nix package versions to 1.0.4. Formatting and strict workspace Clippy passed on macOS arm64. The locked workspace suite passed 594 tests with four opt-in checks ignored. Both Android instrumentation tests passed on an API 37 arm64 emulator. Tested mixed 1.0.3/1.0.4 pairs on WG and AWG. In a 30-second idle WG comparison, one endpoint's combined UDP bytes fell from 220950 to 138596 and its control messages from 24 to 2. Physical phone discharge and native Linux and Windows runs remain unverified.
32 lines
974 B
TOML
32 lines
974 B
TOML
[package]
|
|
name = "tsunagi-wireguard"
|
|
version = "1.0.4"
|
|
description = "Independent authenticated WireGuard and Amnezia UDP carriers for tsunagi."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license = "WTFPL AND Apache-2.0"
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
tsunagi-core = { path = "../tsunagi-core", version = "1.0.4" }
|
|
iroh.workspace = true
|
|
tokio = { workspace = true, features = ["net", "io-util", "time", "sync", "macros"] }
|
|
serde.workspace = true
|
|
postcard.workspace = true
|
|
bytes.workspace = true
|
|
tracing.workspace = true
|
|
zeroize = { version = "1.9", features = ["derive"] }
|
|
rand = "0.10"
|
|
chacha20 = "0.9"
|
|
boringtun = { version = "0.7.1", default-features = false }
|
|
netdev = "0.46"
|
|
|
|
[dev-dependencies]
|
|
tsunagi-core = { path = "../tsunagi-core", features = ["testing"] }
|
|
tokio = { version = "1.53", features = ["rt", "rt-multi-thread", "sync", "time", "macros"] }
|
|
tempfile.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|