333 Commits (6b765de5cc0f46d378c3ebe41cf6c9f51f77da21)

Author SHA1 Message Date
Evgeny ed6132fcda перенос chat-логики из chatgui/transport в src/chat/ 2 months ago
Evgeny 4fde0b0325 feat: integrate Opus codec into lib/libopus + voice messages in chatgui 2 months ago
Evgeny ef1e064bdc merkle_sync: broadcast relay for star topology + all 6 test stages pass 2 months ago
Evgeny b9bde23d51 Stage 5 WIP: sequential syncs for 3-instance test, increased timeouts 2 months ago
Evgeny a1ecab997e merkle_sync: fix 4 protocol bugs + add test suite (Stages 1-4) 2 months ago
Evgeny 27906e9f91 db_sync: односторонний sync, sparse-таблица, vp в SEND_DATA, PUSH-релей 2 months ago
Evgeny e071a9e2f8 db_sync: fix test sync protocol isolation (add auto_sync flag, destroy order, test refactor) 2 months ago
Evgeny c46cb9a979 db_sync: fix si_send_data_batch column bug (author→node_id), add cascade_from to PUSH, add divergence+cascade test phases 2 months ago
Evgeny f6b37a857b conn_mgr: bind to topo_group, DB node loading, configurable DIRECT timeout, tests 2 months ago
Evgeny 852ce401e7 Добавлен group_id в etcp_router и topo_group, удалён msg_transport 2 months ago
Evgeny b1bf27d023 fix Windows warnings: getpid, htole64, gettimeofday, socket_t mismatches, radix min 2 months ago
Evgeny 17202beb0a test_ntp: use compat headers instead of arpa/inet.h, add rule to AGENTS.md 2 months ago
Evgeny fcf3fb7f51 refactor: move transport (etcp/stcp/normalizer) to transport_layer/, routing (bgp/pings/topo*) to routing_layer/ 2 months ago
Evgeny 3dda701c67 schema: rm is_dm, rename name→userinfo (json_flat), fix join_msg format 2 months ago
Evgeny 501b636d19 topo_group: disable in chatgui; fix NAT detection for matching addresses 2 months ago
Evgeny 0e0ad9316a fix race condition: DB_READY lost when utun thread starts before gui_bridge_init 3 months ago
Evgeny 93871c592b db_sync: timeout for stuck sync_state=1, handle ERROR properly 3 months ago
Evgeny 910cac8dce refactor: separate NAT detection from topology into standalone nat_detection module 3 months ago
Evgeny 960cde3eda chatgui: add Status page in settings (NTP + connections status) 3 months ago
Evgeny f0bb03c2cf db_sync: datahash removed, Ed25519 signature mandatory, PK=(timestamp,author_signature), chain_hash includes signature, signed message=ts||json 3 months ago
Evgeny 05b24d36bb db_sync: fix dh_match premature sync complete — send tail when mc > tp+1 3 months ago
Evgeny bfa3e666d4 fix test_uasync_socket_race: increase listen() backlog from 32 to 1024 3 months ago
Evgeny a8ce7d47b7 test_bgp_triangle: reduce keepalive_timeout from 2000ms to 200ms (10x speedup, 13.2s -> 1.27s) 3 months ago
Evgeny 3d04c37f56 stcp: add on_close callback to stcp_server_create/stcp_client_connect; member_sync: add join_ts/update_sig/update_ts fields, verify update_sig in apply; topo_node_sqlite: add join_ts/update_sig/update_ts to member_put, add member_get_join, add node_update_verified; chat_sync: include join_ts in join_msg, add update_sig/update_ts to CHANNEL_INFO_RESP; WELCOME verify join_sig; tests: use generated node_ids, reduce max ticks 3 months ago
Evgeny 03310db2cd test_chat_sync_stress: simplify to 20 batches, add profiling (avg per-record time, sync time, total) 3 months ago
Evgeny bb425c6722 db_sync v2: positional sync per-peer (synced_pos), datahash instead of chain_hash, no cascade on PUSH, single cascade after SEND_DATA batch, startup chain verification. PRAGMA synchronous=NORMAL + wal_autocheckpoint=10000 for performance. 3 months ago
Evgeny a7ecee01f5 etcp: replace connections linked-list with indexed ll_queue, add state/ref_count lifecycle 3 months ago
Evgeny f617dcd68e db_sync: LMDB→SQLite, multi-instance, etcp_api, chatgui integration 3 months ago
Evgeny cca3511503 fix: replace deprecated SHA256 API with EVP, conditional dl linkage for Windows 3 months ago
Evgeny d70cdbb040 chatgui: preserve active channel selection on reload, members sync, profile settings, member list model 3 months ago
Evgeny 637b21da9e debug: remove console_level/file_level — simplified output routing 3 months ago
Evgeny e438e19f9e Add cross-platform utun_mkdir() wrapper for Windows compatibility 3 months ago
Evgeny 3f874a80ab TOPO_GROUP: embed struct ll_entry as first member (direct queue embedding, hash index) 3 months ago
Evgeny 28e5950d29 TOPO_BGP -> TOPO_GROUP: multi-group support 3 months ago
Evgeny 3c3d9a65d9 refactor: переименование route_node/route_bgp в topo_node/topo_bgp 3 months ago
Evgeny c7ac42eb5f route_node: refactor NODEINFO — separate protocol/memory structs, linked lists with memory_pool 3 months ago
Evgeny 46f5ff7eca test_etcp_router: fix flaky keepalive timeout under dummynet congestion 3 months ago
Evgeny 8756f561be build: extract libutun.a from src/ + add db_sync module + etcp API, BBR improvements 3 months ago
jeka 7139969acd fix: Windows/MSYS2 build compatibility 3 months ago
Evgeny 90ad64a106 stcp: add protocol field to NODEINFO addr structs, TCP support in etcp_connect, stcp traffic test 3 months ago
Evgeny 0b5a710fe6 etcp_connect + BGP_READY callbacks + router reconnect test 3 months ago
Evgeny ba14e31e09 fix: remove retry_timer, use waiter-based round-robin on send_q for fairness 3 months ago
Evgeny 5b850ea5da test: add profiling (MB/s per file per worker) to socks_http_proxy 3 months ago
Evgeny 2fba5c31c4 fix: backpressure data loss in socks/http proxy + comprehensive test 3 months ago
Evgeny 6c938ed2ba test_etcp_router: dummynet congestion test + timer leak fixes 3 months ago
Evgeny 2cb85cbc3d socks_proxy: поддержка HTTP-прокси (GET/POST/HEAD/OPTIONS/...) — не только CONNECT 3 months ago
Evgeny 389ef00da6 refactor: split socket meta 'type' into config_type and nat_type — separate config (PUBLIC/NAT/PRIVATE) from detected NAT (EIM/STRICT/DIRECT) across NODEINFO, conn_mgr, route_bgp, route_node, etcpmon; win32 compat fixes (memmem, SHUT_WR, tun test_mode, tcp_proxy guards) 3 months ago
Evgeny 42d96f118d fix: swap queue_entry_free/queue_dgram_free order in 27 places — prevents UAF when dgram_free accesses freed entry 3 months ago
Evgeny 7d460ca156 fix: ASAN-detected UAFs and buffer overflows across 6 modules 3 months ago
Evgeny f5b1c3e789 etcp_router: fix OOB drops after restart — add peer_sync_done to sync rx_seq with first incoming seq 3 months ago