evgeny
8e640bd870
Exercise NAT backpressure, mapping reuse, copy ownership and shutdown
2026-10-21 22:44:46 +02:00
evgeny
97b55f8bc1
Close NAT channels after cancelling producers and quiet transient TUN backpressure
2026-10-21 22:43:54 +02:00
evgeny
f047f8e151
Test NAT boundary validation, hash collisions, expiry and allocation failures
2026-10-21 22:34:06 +02:00
evgeny
a1f3a51149
Validate provider replies before client TUN delivery
2026-10-21 22:32:29 +02:00
evgeny
87097bf08f
Preserve NAT index invariants across transport and reuse tests
2026-10-21 22:31:55 +02:00
evgeny
c2e9c37502
Add bounded NAT backpressure and forward TUN packets without copying
2026-10-21 22:30:01 +02:00
evgeny
4d68c747e4
Reject malformed NAT configuration and use mapping lifecycle APIs in tests
2026-10-21 22:27:16 +02:00
evgeny
529e8010b7
Index NAT mappings by hash and maintain free ports in constant time
2026-10-21 22:24:17 +02:00
evgeny
a0d2aa635e
Validate NAT packet boundaries and distinguish skipped packets
2026-10-21 22:21:37 +02:00
evgeny
004c2da33a
Align NAT documentation with node ownership and router framing
2026-10-21 22:01:08 +02:00
evgeny
26c4cdaa31
Document NAT ownership, packet formats and API contracts
2026-10-21 22:00:06 +02:00
evgeny
808ef55bc1
Restrict NAT delivery to its group and configured provider
2026-10-21 21:58:10 +02:00
evgeny
70864072cc
Complete standalone NAT forward configuration fixture
2026-10-21 21:57:23 +02:00
evgeny
d2fed9eef9
Cover NAT forward owners, full port range and invalid rules
2026-10-21 21:56:20 +02:00
evgeny
af0baad38d
Route static NAT forwards to explicit owners on all ports
2026-10-21 21:55:13 +02:00
evgeny
2d24bea53f
Require a target node for NAT port forward configuration
2026-10-21 21:54:41 +02:00
evgeny
f6e874903b
Isolate NAT mappings by source node identity
2026-10-21 21:53:17 +02:00
evgeny
24af6d6239
Preserve IPv4 UDP checksum encoding through NAT
2026-10-21 21:51:49 +02:00
evgeny
883a5c762a
Correct incremental NAT checksum arithmetic
2026-10-21 21:50:59 +02:00
evgeny
44af81a40b
Fix NAT flow lookup at the maximum port boundary
2026-10-21 21:48:28 +02:00
evgeny
b878a87944
Fix NAT packet ownership after router send failures
2026-10-21 21:43:00 +02:00
evgeny
f17c8bd9b6
Merge branch 'master' of http://git.syqiq.tech/jeka/utun2
2026-10-21 21:22:49 +02:00
evgeny
09a919a606
Fix TUN packet ownership, lifecycle and backend consistency
...
Unify TUN initialization and raw-IP writes, preserve socketpair directions, and bound reader delivery with queue backpressure. Make deferred packet ownership safe across close and uasync teardown, and apply per-interface MTU limits to lwIP MSS.
Validation: full check.sh passed 172 tests, 9 proxy integration checks, burst and load. TUN ASAN/UBSAN regressions passed 30 cases; TCP exchange passed with asymmetric and minimum MTUs. Sanitized NAT integration exposed an existing unaligned uint16_t read in eim_nat.c; that separate defect remains unchanged. Native Windows and FreeBSD validation remains outstanding.
2026-10-21 21:19:42 +02:00
evgeny
4d24f77d64
Merge branch 'master' of http://git.syqiq.tech/jeka/utun2
2026-10-21 20:26:26 +02:00
evgeny
4bb6fe5c23
Fix queue extraction in NTP regression cleanup
2026-10-21 20:18:49 +02:00
evgeny
6bc980fa15
Improve NTP failure diagnostics and source transition coverage
2026-10-21 20:18:17 +02:00
evgeny
de86ce96c0
Document NTP contracts and verify corrected wall time
2026-10-21 20:16:38 +02:00
evgeny
39d03a2ffb
Cover NTP correction, retries, faults and peer lifecycle
2026-10-21 20:15:17 +02:00
evgeny
0dd6506d35
Fix peer time cache ownership and callback teardown
2026-10-21 20:12:04 +02:00
evgeny
f8eea78db5
Fix NTP offset and bound asynchronous polling cycles
2026-10-21 20:11:04 +02:00
evgeny
792c8830c0
Record recurring attachment test timeout during control validation
2026-10-21 20:06:51 +02:00
evgeny
476bc9d126
Finalize control server regression fixture cleanup
2026-10-21 20:04:30 +02:00
evgeny
45f0d68a85
Cover control server regressions and correct API documentation
2026-10-21 20:04:30 +02:00
evgeny
7c6c5d0578
Fix control server buffer bounds and client resource ownership
2026-10-21 20:04:19 +02:00
evgeny
a163d73f69
Keep firewall reload regression on the selective path
2026-10-21 20:00:28 +02:00
evgeny
cccb2a71a6
Set router packet length in firewall integration fixture
2026-10-21 19:59:34 +02:00
evgeny
53add352d2
Align firewall examples with symmetric destination filtering
2026-10-21 19:53:50 +02:00
evgeny
5fe6545acb
Cover firewall parsing, bidirectional TUN filtering and reload failures
2026-10-21 19:52:51 +02:00
evgeny
000305e467
Filter both directions of the main TUN and remove obsolete firewall guide
2026-10-21 19:49:32 +02:00
evgeny
3d23c8c54e
Reject invalid firewall configuration and preserve policy on reload failure
2026-10-21 19:48:54 +02:00
evgeny
0f2d3f81cd
Make firewall rule replacement atomic and validate IPv4 packets
2026-10-21 19:48:19 +02:00
evgeny
87a778200f
Report precise INI read failures and identity repair reasons
2026-10-21 19:09:03 +02:00
evgeny
ef7a02f303
Bound edited INI growth and cover effective duplicate values
2026-10-21 19:06:59 +02:00
evgeny
98187c5dc8
Describe shared INI parsing and distribute its internal header
2026-10-21 19:04:54 +02:00
evgeny
7c18764381
Document config identity and publication guarantees
2026-10-21 19:04:53 +02:00
evgeny
f6ab0f5551
Verify config updates preserve files and allocations under OOM
2026-10-21 19:03:39 +02:00
evgeny
6e246cf393
Bound INI buffers to allocator limits and log allocation errors
2026-10-21 19:03:38 +02:00
evgeny
7c4444b74d
Test identity preservation and failed config publication
2026-10-21 19:02:20 +02:00
evgeny
6409d89899
Preserve config identity and publish verified updates safely
2026-10-21 19:00:06 +02:00
evgeny
0b1ebb141b
Share INI parsing and validate complete configuration values
2026-10-21 18:54:43 +02:00