Commit Graph
1900 Commits
Author SHA1 Message Date
evgeny 5d0f5c8b47 Keep thumbnail path bounds and check UUID status in stress test 2026-10-22 10:21:41 +02:00
evgeny d5dc4baa85 Propagate RNG errors and preserve 64-bit media sizes through callers 2026-10-22 10:20:02 +02:00
evgeny 31b8c1ef3b Preserve files on copy errors and check media primitive failures 2026-10-22 10:18:23 +02:00
evgeny 8b3c8a0641 Specify media worker ownership errors and primitive contracts 2026-10-22 10:16:57 +02:00
evgeny 8bf60a7c11 Use shared file publication in video processing 2026-10-22 10:15:39 +02:00
evgeny 8f8777c6d9 Log exact video failure phases and check buffered file seeks 2026-10-22 00:11:02 +02:00
evgeny dd7e3d1b85 Normalize unspecified PCM channel layouts before AAC setup 2026-10-22 00:03:12 +02:00
evgeny af7b182509 Match FFmpeg AVIO and codec capability APIs across supported versions 2026-10-22 00:02:29 +02:00
evgeny d7a3c8aeed Prepare video through checked temporary output and complete codec drains 2026-10-22 00:01:47 +02:00
evgeny 94f0969daa Specify video publication, remux and completion contracts 2026-10-21 23:58:55 +02:00
evgeny 4adfb867c4 Reject signed NAT forward IDs hidden by leading whitespace 2026-10-21 23:11:32 +02:00
evgeny 6f76997065 Describe NAT transport backpressure, ownership and mapping holds 2026-10-21 23:08:31 +02:00
evgeny 885b61f553 Document NAT hash, expiry, mapping holds and bounded transport ownership 2026-10-21 22:58:28 +02:00
evgeny b4360f716d Hold outgoing NAT mappings through asynchronous TUN delivery 2026-10-21 22:52:19 +02:00
evgeny cce5211572 Protect NAT mappings referenced by pending TUN transmissions 2026-10-21 22:51:25 +02:00
evgeny 97b55f8bc1 Close NAT channels after cancelling producers and quiet transient TUN backpressure 2026-10-21 22:43:54 +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 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 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 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 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 53add352d2 Align firewall examples with symmetric destination filtering 2026-10-21 19:53:50 +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