Commit Graph
185 Commits
Author SHA1 Message Date
evgeny 10bc4da386 Replace stale desktop architecture documentation and honor the temporary directory 2026-10-28 00:59:00 +01:00
evgeny d5263ada7d fix(chat): preserve media and local state on incomplete database reads 2026-10-27 11:48:09 +01:00
evgeny 9e211f4413 fix(chat): own Whisper jobs per instance and defer route UI events 2026-10-27 11:48:09 +01:00
evgeny fcd17191e0 fix(chat): reject outer transactions before preparing shared service resources 2026-10-27 11:48:09 +01:00
evgeny 31b1f40b86 Restore retained attachment indexes during startup and manual download 2026-10-27 02:20:02 +01:00
evgeny edab625966 Make chat joins atomic and test invitation lifecycle failures 2026-10-26 09:19:35 +01:00
evgeny 547f894dfb Restart instances with duplicate server names to preserve all endpoints 2026-10-26 09:08:42 +01:00
evgeny ca31eaadd2 Preserve selected global log path and verify database owner reload 2026-10-26 09:08:42 +01:00
evgeny 0fb268bd16 Release headless audio contexts, clients and timers on chat stop 2026-10-26 09:08:42 +01:00
evgeny 563bbc72a2 Release remaining transport subscriptions at instance destruction 2026-10-26 09:08:42 +01:00
evgeny a753592d4f Validate headless bindings and honor ephemeral ports in chat startup 2026-10-26 09:08:42 +01:00
evgeny 9520175e6d Drain instance-owned sockets and registries without saved callback neighbors 2026-10-26 09:08:42 +01:00
evgeny fd9f51b054 Reload complete endpoint settings and restart changed resource owners 2026-10-26 09:08:42 +01:00
evgeny f588e8f17a Share atomic network index construction and typed socket teardown 2026-10-26 09:08:42 +01:00
evgeny 02aa4d7f83 Validate instance construction and retain the global log path safely 2026-10-26 09:08:24 +01:00
evgeny a8f861be56 Retain removed instance callbacks until nested dispatch completes 2026-10-26 09:08:24 +01:00
evgeny 7c9ff2c4c5 Disable UTUN by default in chat frontends and retain core bootstrap transports 2026-10-25 22:10:06 +01:00
evgeny a0e62ced2e Separate ICMP exit startup from shared context ownership 2026-10-24 13:23:58 +02:00
evgeny 3d23c8c54e Reject invalid firewall configuration and preserve policy on reload failure 2026-10-21 19:48:54 +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 13f0364fb4 Register multicast protocol and core lifecycle 2026-10-20 14:34:30 +02:00
evgeny 033916f16d Start and stop radio invitation service with chat lifecycle 2026-10-19 13:56:35 +02:00
evgeny 9903e5c16e Sync configured chat names and embed the Windows application icon 2026-10-19 09:54:42 +02:00
evgeny 1643817498 Add local UDP discovery and invitation delivery for chat clients 2026-10-18 14:46:04 +02:00
evgeny 35ef65f8e5 Start and stop attachment key owner with chat service 2026-10-18 02:13:54 +02:00
evgeny 98a0b9af1a fix(core): free pending ping payloads when destroying instance 2026-10-18 00:57:11 +02:00
evgeny 36624fd40e Complete grouped NAT control and cancel tasks with group lifetime 2026-10-12 18:08:47 +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 c3a9acc40b Stop NAT detectors before service callbacks and verify STUN restart isolation 2026-10-12 01:25:59 +02:00
evgeny 2d11f813cb Release retained STUN port history during final core destruction 2026-10-12 01:24:00 +02:00
evgeny 5813b8727c Measure owned endpoint mapping and inbound reachability separately 2026-10-12 00:01:40 +02:00
evgeny 7b8de6ad04 Verify deferred standby restoration and END-only automatic streams 2026-10-12 00:01:39 +02:00
evgeny 15a09be143 Preserve frontend activity requests while stream owners hold the core active 2026-10-12 00:01:39 +02:00
evgeny ee6cffcd12 Attach stream subscriptions to CHAT lifecycle and member profiles 2026-10-12 00:01:39 +02:00
evgeny ef799fe0b1 Add independent STUN NAT probes with RFC 5780 discovery 2026-10-11 23:35:47 +02:00
evgeny 2acdec940b Protect REALITY STCP traffic with authenticated TLS-like records 2026-10-07 12:30:45 +02:00
evgeny 92f9dc2bd6 Add randomized ETCP padding and isolate STCP CTR streams per connection 2026-10-07 10:45:42 +02:00
evgeny c8c5d80684 Add asynchronous member file storage and desktop browser 2026-10-05 18:44:58 +02:00
evgeny 5e0d796057 Integrate atomic media registration and orderly transfer/worker shutdown 2026-10-01 15:53:53 +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 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 8f7e92b584 Route UTUN configuration and group ownership through NCD 2026-09-27 21:59:32 +03:00
evgeny 2fd58608af transport: per-peer sleep callback (peer_sleep_cbk) fired from keepalive protocol 2026-09-22 00:40:32 +03:00
evgeny cbd25dd67d fix: утечки памяти в router-сервисах и при shutdown
- conn_mgr_router_recv_handler / md_etcp_recv не освобождали entry (рантайм-утечка на каждое сообщение)
- reality_relay: registry + shutdown hook (отложенный free не отрабатывал при остановке)
- etcp_router: uasync_drain_immediate после destroy (router_close_finalize)
- мелкие callback-списки: activity_cbks, node_cbks, props_cbks/apply_cbks
2026-09-21 21:55:11 +03:00
evgeny 2ac04de295 radio: PTT-радио в каналах (src/radio + chatgui + chatgui-android)
Новый модуль src/radio (radio/radio_audio/radio_headless) — push-to-talk
радио поверх topo-групп, доставка аудио в канал, headless-режим и тесты.
Интеграция в chatgui (ptt_hotkey_manager, radio_audio_engine, радионастройки,
вызовы) и chatgui-android (RadioAudioEngine, RadioOverlayService, UI).
2026-09-19 17:09:00 +03:00
evgeny f8b26d8aee topo: комментарии к функциям topo_node/topo_group
conn_mgr: src node_id вместо conn->peer_node_id, препенд ETCP_RT_ID_CONN_MGR к dgram, bind CONN_MGR после etcp_router_init

call: guard CALL_ST_CONNECTING при accept
2026-09-17 17:30:05 +03:00
evgeny efa82bacf3 call: P2P аудиозвонки — сигналинг, релей медиа, аудио-контур, headless/desktop/android
- src/call/: сигналинг (call.c, call_proto.h, ETCP_RT_ID_CALL 0x36) + релей медиа
  + headless аудио-сокет (call_headless.c, call_audio_bind) + Opus/jitter/тоны
- chat: события CHAT_EVT_CALL_* (34–40), CHAT_EVT_DM_MESSAGES (41), DM-трамплины
- chatgui: call window, miniaudio I/O, audio_frame_ring, test_audio_jitter
- chatgui-android: CallScreen/IncomingCallDialog, аудио-роутинг, JNI, рингтон
- tests: test_call, test_call_headless
2026-09-16 10:17:57 +03:00
evgeny b2d563a0fc tun/nat: fix UAF при teardown и use-after-free в tun_read_packet 2026-09-15 22:07:55 +03:00