4c64c4cc0a
Merge branch 'main' into mwp
2026-02-10 20:25:27 -03:00
4a79a9cedc
fix benchmark buffer operations exceeding rate limit by reducing
...
iterations to stay under BufferManager cap
2026-02-10 20:16:40 -03:00
134ddde241
enable "test-connected-coverage" and "test-manager-src" in coverage
...
script
2026-02-10 20:16:24 -03:00
ae1061f4a5
reduce processSessions log spam and fix kcov bottleneck. raise TIMING
...
threshold from 1ms to 10ms, demote ADAPTIVE in_flight log to debug,
switch 3 tests from full init to initForTesting eliminating thread pool
overhead under kcov
2026-02-10 20:16:01 -03:00
ab150b3489
use core.log.err for oversized message security logs to avoid Zig
...
"logged errors" test failures
2026-02-10 20:15:23 -03:00
37a74e1ca9
fix: "test-connected-coverage" Noise handshake deadlock. spawn
...
background server update thread during connectToPeer when Noise is
enabled so the 3 message handshake can complete in single threaded tests
2026-02-10 20:15:01 -03:00
b7d013a272
clean up tests. remove placeholder assert-true tests, fix replay
...
protection and NAT test logic, fix MWP connection test peer ID
registration, use atomic port counter for test parallelism
2026-02-10 20:13:54 -03:00
a44af22739
improve docker healthchecks to verify port binding and iptables chains
...
not just process existence
2026-02-10 20:12:21 -03:00
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
4d56e11139
Merge pull request 'compiling on linux - bunch of fixes' ( #2 ) from compiling-on-linux into main
...
Reviewed-on: #2
Reviewed-by: mdt <mdt@anon.pff.sh >
2026-02-10 14:44:43 +00: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
777af83c7f
fix libc linking issue on Linux
2026-02-10 13:13:36 +01:00
3ef7e322fa
fix strange compiler error
2026-02-10 13:12:03 +01: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
16c17054e8
fix call to fallocate on linux
2026-02-09 15:04:47 +01: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