Commit Graph
1510 Commits
Author SHA1 Message Date
evgeny b3b6929da7 Notify viewers when channels close and refresh resumed playback state 2026-10-12 22:18:04 +02:00
evgeny 31e703ba39 Expose verified stream sources and channel watch events 2026-10-12 21:57:20 +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 a527f58d72 Release cold priority after a completed partial measurement 2026-10-12 20:48:33 +02:00
evgeny 7c166d4667 Preserve cold NAT trials in the real network fixture 2026-10-12 20:43:39 +02:00
evgeny 4efb9b7305 Start a cold measurement when automatic detection is enabled 2026-10-12 20:31:45 +02:00
evgeny 9046720011 Protect cold ingress before the third routed node is announced 2026-10-12 20:29:33 +02:00
evgeny 680696b427 Log cold candidate eligibility and reservation changes 2026-10-12 20:27:34 +02:00
evgeny 15c1f869f6 Document failure recheck limits and validate requested endpoints 2026-10-12 20:26:12 +02:00
evgeny 4a5f54c8b0 Trigger NAT rechecks after direct timeout and exhausted reverse 2026-10-12 20:25:42 +02:00
evgeny 331a4aa468 Schedule bounded endpoint rechecks after compatible UDP failure 2026-10-12 20:25:20 +02:00
evgeny bf2f688d37 Cancel UDP route probes with their contexts before socket teardown 2026-10-12 20:21:02 +02:00
evgeny 078fd5a4b2 Expose pending NAT candidate cycles in local diagnostic status 2026-10-12 20:17:44 +02:00
evgeny 858483f48c Document grouped control, isolated helper ports and ingress correlation 2026-10-12 20:07:49 +02:00
evgeny 7ff682799a Release received packets when cold NAT priority defers PONG 2026-10-12 20:05:47 +02:00
evgeny d78d15f396 Keep connection-manager background pings out of cold NAT trials 2026-10-12 19:44:28 +02:00
evgeny 08cbe8de9a Try controlled ingress before asking the broker for helper mapping 2026-10-12 19:27:58 +02:00
evgeny 0033442db7 Trace the first UDP contacts that affect cold NAT classification 2026-10-12 19:17:06 +02:00
evgeny af417daae7 Keep background PONG replies from contaminating cold ingress checks 2026-10-12 19:01:13 +02:00
evgeny 800fc546a6 Defer reachability probes while the first NAT ingress is protected 2026-10-12 18:50:08 +02:00
evgeny 3c02f250ff Give initial NAT measurements bounded priority without opening filters 2026-10-12 18:50:08 +02:00
evgeny 90196fe98e Isolate helper traffic from the measured working sockets 2026-10-12 18:47:54 +02:00
evgeny f85c9ca067 Keep detection attempt counters and network fixtures group-aware 2026-10-12 18:20:47 +02:00
evgeny 7256486800 Prefer untouched helper IPs and exercise NAT through real groups 2026-10-12 18:13:29 +02:00
evgeny 36624fd40e Complete grouped NAT control and cancel tasks with group lifetime 2026-10-12 18:08:47 +02:00
evgeny 4351288efa Measure helper endpoints and protect controlled UDP ingress trials 2026-10-12 17:57:22 +02:00
evgeny 7785754667 Select NAT candidates across groups and route authenticated control 2026-10-12 17:50:45 +02:00
evgeny a29860658e Define grouped NAT probe tags and a routed control service 2026-10-12 17:43:27 +02:00
evgeny bbd7e80e10 Document compact NAT profiles and stable measurement lifetime 2026-10-12 17:13:22 +02:00
evgeny 627d16ca2c Invalidate changed endpoints and verify the Android address contract 2026-10-12 17:11:56 +02:00
evgeny 9f3dca53d6 Align socket monitoring with compact address profiles 2026-10-12 17:05:23 +02:00
evgeny 77aab42980 Retain stable NAT results and compact the address database 2026-10-12 17:04:59 +02:00
evgeny 55caeb9430 Remove time-dependent profile matching from connection setup 2026-10-12 17:01:28 +02:00
evgeny 76813da08d Use the last published address profile without a time limit 2026-10-12 17:01:02 +02:00
evgeny 53a74c3ba4 Remove measurement IDs and timestamps from NODEINFO profiles 2026-10-12 17:00:38 +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 3b109e1784 Explain invalid media metadata and codec transitions in logs 2026-10-12 11:26:27 +02:00
evgeny b2ec27b1d7 Register audiovisual stream sources and regression target 2026-10-12 01:46:06 +02:00
evgeny 99763c0035 Define FEC protected audiovisual blocks and frame assembly 2026-10-12 01:45:08 +02:00
evgeny eecce8fa8b Expose atomic publication of stream batches 2026-10-12 01:43:31 +02:00
evgeny 7c8f63878e Preserve logical block boundaries in stream sources 2026-10-12 01:43:21 +02:00
evgeny c94d674aca Recheck expired down lifetime when the last NCD owner releases it 2026-10-12 01:34:44 +02:00
evgeny f408853dee Retain down ETCP connections while local NCD handles exist 2026-10-12 01:34:44 +02:00
evgeny fc0155f4f0 Expose actual NCD handle ownership for an ETCP transport 2026-10-12 01:34:44 +02:00
evgeny 9102032a08 Clarify independent RX watchdog and sleep-aware graceful close deadlines 2026-10-12 01:34:44 +02:00
evgeny bf8a5ff325 Propagate remote UDP link DOWN to the connection expiry timer 2026-10-12 01:34:44 +02:00
evgeny fc524291ba Shorten RX deadline immediately when a sleeping peer wakes 2026-10-12 01:34:44 +02:00
evgeny 688ad9a5e5 Preserve cancellation of pending outgoing attempts and size packet fixture correctly 2026-10-12 01:34:44 +02:00
evgeny a76bb423d3 Document ETCP down retention and separate RX lifetime from keepalive sending 2026-10-12 01:34:44 +02:00