Commit Graph
1478 Commits
Author SHA1 Message Date
evgeny 550cdba720 Keep DM test diagnostics focused on delivery state 2026-10-01 14:24:28 +03:00
evgeny 81289e809d Exercise DM reordering, rollback and signed acknowledgments 2026-10-01 14:22:46 +03:00
evgeny 8f7b23e06e Test CCM limits and offline DM custody across restart 2026-10-01 14:20:19 +03:00
evgeny 3b0780dfca tests: resend withdrawn relay advertisements during recovery 2026-10-01 01:09:15 +03:00
evgeny 9a6529fdf4 conn_mgr: verify route loss and document handle lifetime recovery 2026-10-01 01:06:56 +03:00
evgeny 542bb2d3dc conn_mgr: exercise persistent retries with valid signed node updates 2026-10-01 01:01:49 +03:00
evgeny fb0e0c0404 conn_mgr: race connection probes and report call path with correct RTT 2026-10-01 00:42:47 +03:00
evgeny a673d58862 Synchronize standby transitions and immediate keepalive phase announcements 2026-09-30 20:42:40 +03:00
evgeny a0b671069a Keep Android calls active independently of screen and UI 2026-09-30 19:12:04 +03:00
evgeny b6af21fc01 Improve call buffering, CM handle lifecycle and radio PTT controls 2026-09-30 17:31:53 +03:00
evgeny 4fcb587e44 Prioritize supernodes in invites and update chat background and ringtone 2026-09-30 12:56:59 +03:00
evgeny 1be40b220d Fix TCP proxy use-after-free during synchronous close 2026-09-30 10:43:02 +03:00
evgeny 324a0e4a7a call: add SpeexDSP AEC (acoustic echo cancellation) for desktop + Android 2026-09-29 17:01:30 +03:00
evgeny 4c18dfc067 radio: Silero VAD + auto-PTT; chatgui/android: app icon and background 2026-09-29 16:19:25 +03:00
evgeny 634de00031 lwip/proxy: trace PCB lifetime in debug category, drop old noisy debug 2026-09-29 13:18:18 +03:00
evgeny 6517bbeb2d Preserve proxy TCP streams across connect, backpressure and FIN 2026-09-29 04:00:34 +03:00
evgeny 3a8ef56b61 Isolate datagram proxy state and replies between instances and peers 2026-09-29 03:58:14 +03:00
evgeny 939276cf5d Notify TCP writers when the final synchronous send drains 2026-09-29 03:57:15 +03:00
evgeny 14baf6389a Fix UDP and ICMP packet construction at the TUN boundary 2026-09-29 03:56:55 +03:00
evgeny 0949dba6f0 Guard routing loops and reconcile blocked transit against current paths
Track visited nodes outside the signed body for all routed packet types. Recheck queued transit routes without losing FIFO priority, reject unknown-group transit, and suppress BGP announcements caused only by RTT jitter.

Document routing rules and wire format. Validate graph churn, REINIT, encrypted transit, malformed paths, loop drops and queue cleanup; full suite: 106 passed, 1 skipped, plus proxy integration and sanitizer checks.
2026-09-28 15:36:47 +03:00
evgeny 7c17dbd165 Prune unconfirmed BGP paths and restart stalled exchanges 2026-09-28 14:58:13 +03:00
evgeny 57be96e93f Reconcile BGP paths and advertise selected routes per neighbor 2026-09-28 14:37:44 +03:00
evgeny 706e76452c Fix WITHDRAW removing nodes with surviving paths 2026-09-28 14:20:55 +03:00
evgeny c64d969c3a diagnostics: explain and rate-limit rejected ETCP session data 2026-09-28 13:16:39 +03:00
evgeny fa36a5e99a fix: accept invite public keys with a leading zero byte 2026-09-28 12:26:13 +03:00
evgeny 73b4050638 Separate core, UTUN and chat lifecycles with owned asynchronous work 2026-09-28 11:39:08 +03:00
evgeny 68907c0565 Use shared group requests for config and chat connection planners 2026-09-28 11:07:25 +03:00
evgeny 923fd21444 Serialize group topology lazily through a cancellable backpressure sender 2026-09-28 02:45:00 +03:00
evgeny c4ecc07e38 Negotiate group sessions and scope topology messages to peer epochs 2026-09-28 02:15:54 +03:00
evgeny 2f62d4d103 Own recovery attempts in group sessions and require restored routes 2026-09-27 23:06:48 +03:00
evgeny 4a61ff2c22 Track topology exchange readiness per group and peer 2026-09-27 22:14:03 +03:00
evgeny 8f7e92b584 Route UTUN configuration and group ownership through NCD 2026-09-27 21:59:32 +03:00
evgeny 7b9f5b281d Define join contract and require committed CHAT membership for BGP 2026-09-27 20:34:24 +03:00
evgeny b9e1a62c7f Release group NCD ownership when destroying peers 2026-09-27 20:08:17 +03:00
evgeny 7c119d2c02 Apply fresh BGP addresses to shared NCD connections 2026-09-27 19:18:40 +03:00
evgeny 5f231ff626 Version signed node snapshots with persistent timestamps 2026-09-27 19:11:11 +03:00
evgeny 60108a8f11 Support 8 KiB member owner tags without signature or serialization truncation 2026-09-27 17:12:13 +03:00
evgeny 7380684199 Add bounded Merkle pull lifecycle and terminal error handoff 2026-09-27 16:17:04 +03:00
evgeny 01a49c7a4a Refactor Merkle sync into bounded bidirectional rounds with atomic member updates 2026-09-27 14:44:39 +03:00
evgeny 8454c0835c Restrict dynamic auto socket test to Linux 2026-09-27 12:48:40 +03:00
evgeny 0f35f3b996 Bound ETCP receive window and fix timestamp and allocator UB 2026-09-27 12:16:15 +03:00
evgeny 6fea8af2e5 Fix autosocket ownership and exercise interface churn under load 2026-09-27 11:57:29 +03:00
evgeny 10562224d7 Fix ETCP session recovery and router lifecycle; confirm chat invites before publishing 2026-09-27 02:51:47 +03:00
evgeny ba431187d8 ll_queue: queue_waiter_cancel отменяет отложенный call_soon при internal==NULL (фикс UAF waiter_defer) 2026-09-26 18:58:27 +03:00
evgeny b23402dafb ll_queue: отложенный первый запуск автозабора (callback_defer) + тест
queue_set_callback_defer(q, 1) переносит первый запуск callback из
queue_data_put* в uasync_call_soon (очистка стека производителя).
Повторные запуски (queue_resume_callback) и так всегда deferred.
2026-09-26 16:42:46 +03:00
evgeny cf169d0a6a tun proxy: фикс TCP-суммы (нечётный pbuf), FIN до дренажа to_lwip, tcp_bind/rexmit_fast/active_pcbs_changed + нагрузочный burst-тест 2026-09-25 23:36:45 +03:00
evgeny 94ec8b6118 proxy/tun: добавить DEBUG-логи диагностики застревания keep-alive (lwIP IN/OUT/RECVED/RTO/PERSIST + per-conn DIAG) 2026-09-25 22:12:47 +03:00
evgeny e6d2c774f3 route_connectivity: фикс UAF при удалении узла с влётными пробами; отмена TCP-пингов при teardown
- topo_nodeq_remove_node: единый хелпер удаления nq (cancel проб + free paths/subnets + remove + free), заменяет все free-сайты
- route_connectivity_cancel_all: итерация по всем группам + зануление ctx->nq + отмена standby-defer
- etcp_send_tcp_ping: out_cli — хендл stcp_client для досрочной отмены; conn_probe_ctx.tcp_cli
- conn_mgr: cand_tcp_pings[] — отмена влётных candidate TCP-пингов в conn_mgr_destroy
2026-09-25 16:01:19 +03:00
evgeny 3722e28660 chat: defer media auto-download to per-channel backfill after sync
- db_sync insert-cb gets initial_sync flag (SEND_DATA=1, PUSH/local=0)
- on_msg_inserted skips media download during initial sync
- new chat_media_autodownload_backfill_channel (newest-first) triggered
  on SYNC_DONE per channel (2s debounce)
2026-09-21 02:07:24 +03:00
evgeny 6a7a02d6b8 tests: fix Windows build — SKIP fork-based e2e, cross-platform mkdtemp/setenv 2026-09-20 20:21:50 +03:00