Skip to content

fix(wg): a safety peer's remote re-establishes its WireGuard session on its own - #155

Closed
iliabaranov wants to merge 6 commits into
mainfrom
fix/wg-handshake-direct-leg
Closed

iliabaranov wants to merge 6 commits into
mainfrom
fix/wg-handshake-direct-leg

fix(wg): default-init peer diagnostics; ordered handshake-candidate w…

f0da736
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Sep 19, 2026 in 25m 21s

Code review found 2 important issues

Resolved 1 earlier finding in this review; 0 still open. Found 4 candidates, confirmed 2. See review comments for details.

Details

Severity Count
🔴 Important 2
🟡 Nit 0
🟣 Pre-existing 0
Severity File:Line Issue
🔴 Important components/microlink/src/ml_wg_mgr.c:0 A safety peer landing in a reused peer-table slot can have its new unlimited-retry handshake connect suppressed for up t
🔴 Important components/microlink/src/microlink.c:880 An HTTP client polling /peers during a concurrent peer remove/re-add can make microlink_get_peer_info() index dev->peers