Commit Graph
255 Commits
Author SHA1 Message Date
evgeny 24ca135c62 Assert media QUERY results and preserve transport ownership in tests 2026-10-22 18:31:12 +02:00
evgeny 23e7a5f8ca Test reentrant media events and cleanup after hash failure 2026-10-22 14:58:15 +02:00
evgeny 686c174574 Exercise media index failure recovery and pending channel deletion 2026-10-22 14:52:27 +02:00
evgeny d5c8044d85 Inject fortified fread failures in sanitizer regressions 2026-10-22 13:34:54 +02:00
evgeny c03dfba277 Use existing Linux condition for media fault injection 2026-10-22 10:24:16 +02:00
evgeny c26293c773 Add fault injection regressions for media files and worker ownership 2026-10-22 10:23:56 +02:00
evgeny 43a5a595bd Verify decoded video content, AAC signal timing and FFmpeg-free stubs 2026-10-22 00:08:22 +02:00
evgeny cb536cf162 Test video I/O failures, audio timing, cancellation and concurrent ownership 2026-10-22 00:05:30 +02:00
evgeny eb90765670 Add real video fixtures and file preservation regressions 2026-10-21 23:56:55 +02:00
evgeny 8e640bd870 Exercise NAT backpressure, mapping reuse, copy ownership and shutdown 2026-10-21 22:44:46 +02:00
evgeny f047f8e151 Test NAT boundary validation, hash collisions, expiry and allocation failures 2026-10-21 22:34:06 +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 39d03a2ffb Cover NTP correction, retries, faults and peer lifecycle 2026-10-21 20:15:17 +02:00
evgeny 45f0d68a85 Cover control server regressions and correct API documentation 2026-10-21 20:04:30 +02:00
evgeny 5fe6545acb Cover firewall parsing, bidirectional TUN filtering and reload failures 2026-10-21 19:52:51 +02:00
evgeny f6ab0f5551 Verify config updates preserve files and allocations under OOM 2026-10-21 19:03:39 +02:00
evgeny 7c4444b74d Test identity preservation and failed config publication 2026-10-21 19:02:20 +02:00
evgeny 78db7dbbb1 Test emulator forwarding and partial initialization cleanup 2026-10-21 18:14:03 +02:00
evgeny 7686ed129a Test broadcast UUID lifetime and callback registration contracts 2026-10-21 18:10:43 +02:00
evgeny c2aef94933 Fix allocation size overflow, zero-size OOM and debug category parsing 2026-10-21 17:07:11 +02:00
evgeny 6e02373a5e Cover TCP timer replacement failures and pending FIN cleanup 2026-10-21 16:45:53 +02:00
evgeny f551db3c9a Encrypt P2P call media and validate service IDs
Require signed and encrypted call audio/video using static identity keys. Fix attachment service ID collisions and media download handle lifetime; isolate LAN tests and audit the shared service registry.
2026-10-21 15:06:27 +02:00
evgeny 2d64a70749 Test multicast routing, overload and descriptor lifetime 2026-10-20 15:01:27 +02:00
evgeny 6b233f22e7 Update call video controls and sensor rotation across Android and desktop 2026-10-19 20:24:39 +02:00
evgeny 7a0f24ec2d Test lossless mailbox retry after partial video transmission 2026-10-19 17:33:25 +02:00
evgeny da22d5aacd Bound local discovery traffic and validate invitations 2026-10-18 15:18:40 +02:00
evgeny 1643817498 Add local UDP discovery and invitation delivery for chat clients 2026-10-18 14:46:04 +02:00
evgeny 4e5a032bb8 Register encrypted attachment unit and network tests 2026-10-18 02:19:11 +02:00
evgeny 5622b9dab9 feat(chat): add local DM deletion and improve Android member list
Delete local conversations atomically, retain replay protection and sequence counters, and guard asynchronous media work by history generation. Add Android avatar menu and confirmation, persistent file cleanup, and regression coverage.

Fix unnamed member wire padding and compact Android member action spacing.

Validation: 158 core tests passed; targeted DM tests, desktop build, Android unit tests and debug APK build passed.
2026-10-18 02:04:05 +02:00
evgeny 43a5a08a3b tests: cover unknown NAT candidates and stalled ingress control 2026-10-17 17:48:55 +02:00
evgeny 612d85c2df nat: reject local probe sources and preserve internet profiles on LAN 2026-10-17 16:54:07 +02:00
evgeny 05b1eaaad8 tests: exercise NAT mapping, filtering, delayed ingress and contaminated history 2026-10-17 15:57:49 +02:00
evgeny c13b938a3a call: continue bounded video flush without waiting for media ticks 2026-10-15 16:38:49 +02:00
evgeny a42e02c9a5 Test video cadence against data stalls scheduler delays and audio corrections 2026-10-15 15:56:31 +02:00
evgeny 01230b7727 Test call video negotiation and frame wire boundaries 2026-10-14 20:44:42 +02:00
evgeny 310af3e677 Exercise video rate feedback with simulated channel changes 2026-10-14 18:41:33 +02:00
evgeny 166e85a8d2 Build and test router delivery history boundaries 2026-10-14 18:33:05 +02:00
evgeny 469788e103 Test aggregate send windows with duplicate ACKs and connection teardown 2026-10-14 01:20:00 +02:00
evgeny 0e461a7cc7 Build and register the shared stream playback controller test 2026-10-13 22:04:16 +02:00
evgeny e543b091ae Confirm new TCP sessions and bound reciprocal challenge retries
Negotiate new TCP sessions even when the peer epoch is known, and let the retry timer send reciprocal challenges to avoid feedback loops when confirmations are lost.

Cover peer restarts, simultaneous connects, REALITY, confirmation loss, second links, stale confirmations and deadlines. Remove forced client resets and count only validated test payloads in the UDP reconnect test.

Validation: 149 tests passed; proxy, burst and load integration tests passed; Android assembleDebug succeeded.
2026-10-12 21:29:41 +02:00
evgeny 614dc5ad2e Fix Android external network monitoring and startup readiness
Select frontend network callbacks for auto_sockets=android instead of opening a denied netlink monitor. Preserve monitor descriptor ownership, keep native monitoring failures fatal, and release caller config on failed Android core creation and restart.

Register ConnectivityManager before requesting startup, report readiness after SERVICE_STARTED, and refresh addresses after initialization with serialized updates and generation checks. Add regression coverage for denied netlink, socket failures, address updates, and fd=0 preservation. Record the separate cancellation issue for startup before readiness.

Validation: full check.sh passed, including proxy/burst/load integrations. Clean Android build installed successfully on SM-A525F and Q8; logcat confirms both cores initialized and entered the poll loop with external monitoring and post-start address refresh.
2026-10-12 16:01:26 +02:00
evgeny d48c895c62 Fix sockless TCP keepalive and require complete UTUN initialization
Receive keepalive through the owning ETCP link, preserve RX deadlines, and report routing metrics without TUN. Use independent netlink requests and track installed routes for rollback. Reject incomplete resource initialization and release partially constructed cores while preserving caller config ownership.

Validated startup failure and rollback, padded keepalive, standby, STCP traffic, transport lifecycle, dynamic sockets, and daemon startup. Real TUN/netlink checks passed in an isolated Linux network namespace; modified modules passed FreeBSD compilation checks.
2026-10-12 14:24:32 +02:00
evgeny 879a182e94 Exercise Android stream queues and teardown against a live core 2026-10-12 02:29:08 +02:00
evgeny 8d86d84ec7 Bind Android media queues to core lifetime and source epochs 2026-10-12 01:50:07 +02:00
evgeny b2ec27b1d7 Register audiovisual stream sources and regression target 2026-10-12 01:46:06 +02:00
evgeny 81d7f9975f Register lifecycle regressions and cancel timers owned by synthetic fixtures 2026-10-12 01:34:44 +02:00
evgeny 2e121c09e3 Wait for the real observer link and distribute STUN bench scripts 2026-10-12 01:15:31 +02:00