851 Commits (6a02a165435ac7856069fd4a862248b0e05df018)

Author SHA1 Message Date
Evgeny 542694a0e9 fix: restore original source content after refactoring (accidental code changes removed) 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 333acb2fe5 ntp_node_time: учёт пол-RTT в корректировке времени 2 months ago
Evgeny f83efda54e ntp_node_time: исправлен знак offset — корректировка шла в обратную сторону 2 months ago
Evgeny fdaaa41010 ntp_node_time: фикс ложных докладов о дрейфе часов 2 months ago
Evgeny 15ca0675c0 Безопасность: pubkey check при reusing линка + node_changed при конфликте адреса чужого конна 2 months ago
Evgeny ccd35074d8 Заменил find_link_index на ll_queue с хеш-индексом: универсальный ключ port(2)+addr(16)+family(1)=19 байт, IPv4 дополнен нулями 2 months ago
Evgeny 7a5df3e196 etcp: add node_changed callback chain + chatgui subscription 2 months ago
Evgeny f6f7e12192 refactor: demote high-frequency debug logs (raw_recv/dispatch→TRACE, normalizer→DEBUG), NTP drift→WARN 2 months ago
Evgeny 42041dfe84 feat: log connection status changes at general=info level (NEW/UP/DOWN/DELETE) 2 months ago
Evgeny beed7a4e07 fix: INIT reset logic — reset only on session change or got_initial_pkt, always sync session_id 2 months ago
Evgeny 58df4d8571 ntp_node_time: переход с etcp_router на raw ETCP (P2P) 2 months ago
Evgeny 2e7c32c893 fix(db): use INSERT ... ON CONFLICT instead of INSERT OR REPLACE for nodes table 2 months ago
Evgeny 501b636d19 topo_group: disable in chatgui; fix NAT detection for matching addresses 2 months ago
Evgeny 208a0c8ae8 fix(chat_sync): peer online status not updated in invite flow 3 months ago
Evgeny ca6a27aadb BGP: 2 addr per socket (remove TOPO_ADDR_REAL), config IP priority, private IPs in SQLite, NAT addr != INTERFACE 3 months ago
Evgeny 4df7195a58 debug: add ADDR_SYNC logs for BGP node_put DELETE and member_sync recv ac 3 months ago
Evgeny 586d46f1e6 fix: WELCOME wire format — flags+update_sig parsing, peer_needed gap, invalid join_sig skip 3 months ago
Evgeny 39a376e255 fix: BGP и чат больше не затирают адреса друг друга в node_addresses 3 months ago
Evgeny 20f5e6c953 sqlite: add cache_size/mmap_size/temp_store PRAGMAs to db_sync and topo_group — 159x insert speedup, fix test_chat_sync_stress timeout 3 months ago
Evgeny 29e2527b6b consolidate 3 SQLite connections into 1 shared handle 3 months ago
Evgeny 93665c50f0 etcp: remove dead set_*_cbk functions, use add/remove only 3 months ago
Evgeny ef1922327a rename ready_cbks → init_cbks (connection init, not fully ready) 3 months ago
Evgeny 4188afb3c5 db_sync: lazy-register channel instance on INIT_SYNC when not pre-registered 3 months ago
Evgeny a510cb0018 auto_connect: add DB dump diagnostics (node_addresses state, node existence, db path+status) 3 months ago
Evgeny 3aadaa3396 fix: sqlite3_open wrong path in topo_group.c (db_path vs db_path/chats.db), keep separate connections for perf 3 months ago
Evgeny aa1ed006d5 etcp: instance-level conn status callbacks (NEW/UP/DOWN/DELETE), fix member online in chatgui 3 months ago
Evgeny e71cae16c1 db_sync: unified msg table — one DB, one table per channel 3 months ago
Evgeny 7c2798ec0e debug: add diagnostic logging for ETCP recv/INIT/dispatch paths 3 months ago
Evgeny 93871c592b db_sync: timeout for stuck sync_state=1, handle ERROR properly 3 months ago
Evgeny de4099a26b logging: cleanup connection establishment logs 3 months ago
Evgeny 4b7c7738de debug: add DEBUG_CATEGORY_DB_SYNC (26) + TRACE logs for db_sync, merkle_sync, chat_sync, member_sync 3 months ago
Evgeny 9e34e9f838 fix chatgui: self in member list, online status on reconnect, lb spam 3 months ago
Evgeny 3e0b9483b7 fix chatgui: channel persistence & peer list after restart 3 months ago
Evgeny c594375023 fix: derive node_id from pubkey instead of privkey 3 months ago
Evgeny 6f4025e420 refactor: move sqlite3 db from topo_group to UTUN_INSTANCE, remove conn_mgr/topo_group deps from chatgui 3 months ago
Evgeny 52587c4f2b move ETCP_ID_NAT_DETECTION to etcp_api.h alongside other ETCP_IDs 3 months ago
Evgeny b238089678 refactor(nat_detection): remove BGP dependency, auto trigger on conn_up, clean API 3 months ago
Evgeny 90363650e3 refactor(nat_detection): self-sufficient module with own ETCP_ID (0x02) and docs 3 months ago
Evgeny 910cac8dce refactor: separate NAT detection from topology into standalone nat_detection module 3 months ago
Evgeny 0381f4df89 Убраны TCP_TIMESTAMPS и TCP_KEEPALIVE из lwip_tcp_opts.h (не используются, конфликтовали с ws2ipdef.h на Windows) 3 months ago
Evgeny 706ef5b472 etcp_connections.h: data[0] -> data[] (C99 flexible array, fix -Wstringop-overflow) 3 months ago
Evgeny 3884af7eb8 ntp_time.h: replace netinet/in.h with platform_compat.h for Windows build 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 2792586de7 db_sync: add INFO diagnostics for message sync flow tracing 3 months ago
Evgeny db67767405 fix: demote 6 crypto diagnostic logs from INFO to DEBUG 3 months ago
Evgeny 2aa559acaf debug: add full ECDH/session-key diagnostics (6 points) 3 months ago