fix MWP hole punch for production use. bind to 0.0.0.0 instead of

published IP, resend packets every 500ms instead of single-shot, fix
Docker iptables-legacy chains so miniupnpd port mapping fully works
without warnings
This commit is contained in:
2026-02-10 11:26:57 -03:00
parent 33730fed8a
commit 2fe03cb855
12 changed files with 356 additions and 56 deletions

View File

@@ -1,4 +1,8 @@
//! Mutual Witness Protocol - Main Module
//! Mutual Witness Protocol — Standalone Core
//!
//! This is the testable standalone implementation of MWP, using a `DHTInterface`
//! abstraction so it can run with `MockDHT` in unit tests. For the production
//! API wired to `*P2P`, see `src/mwp_integration.zig`.
//!
//! A novel NAT traversal and peer discovery protocol that requires
//! zero external infrastructure beyond a DHT.