Commit Graph

12 Commits

Author SHA1 Message Date
49ef3f6640 harden MWP error handling. return errors from signing instead of
unreachable, fix memory leak on deserialization failure, validate peer
publication timestamps against max skew
2026-02-10 20:11:30 -03:00
bc4c49f724 network reliability and security hardening. auto-cleanup expired backoff
entries, atomic file writes for key pinning, forward secrecy via
rekeying, peer eviction when at max connections, NAT-PMP source address
verification, UPnP response timeout
2026-02-10 20:10:50 -03:00
b744ba5c09 add DHT security mode and event queue overflow policy. bidirectional
node-to-peer ID mapping with Sybil/impersonation checks, configurable
event queue overflow strategy (drop_oldest/drop_newest/fail)
2026-02-10 20:09:31 -03:00
600fdd4245 harden core layer. panic on refcount underflow instead of silent error,
replace socket magic numbers with posix constants, fix race where socket
state was set after closing FD
2026-02-10 20:08:11 -03:00
2fe03cb855 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
2026-02-10 11:26:57 -03:00
33730fed8a add UPnP IGD for automatic port mapping and external address discovery 2026-02-09 17:49:44 -03:00
cf5eb0d5fd add NAT-PMP for automatic port mapping and external address discovery 2026-02-09 17:05:24 -03:00
7b47ef155c bidirectional ip reflection for listener address discovery 2026-02-09 16:02:23 -03:00
59e9e420be update mwp docs 2026-02-08 13:16:50 -03:00
f86119f571 add IP Reflection to DHT for zero-infrastructure NAT traversal
bundled STUN. every DHT response now includes observed_addr field so
nodes discover their public IP without external STUN servers
2026-02-07 21:09:59 -03:00
abb398d363 create Mutual Witness Protocol specs and implementation. mwp aims to be
a zero-infrastructure NAT traversal
2026-02-07 18:01:12 -03:00
2b7ab5f570 ab ovo 2026-02-06 21:03:59 -03:00