20 Commits (fdbb5b7bc02bfc9e2180f797c84d7d2a7a11c8d7)

Author SHA1 Message Date
evgeny fdbb5b7bc0 ipv6: use netlink RTM_GETADDR to properly detect permanent vs temporary IPv6 addresses 2 months ago
evgeny f67bc23cd3 ipv6: fix sin6_scope_id and socket classification for link-local addresses 2 months ago
evgeny af3e2ee869 chatgui: IPv4+IPv6 dual-stack listen by default 2 months ago
evgeny 8237d92be9 fix: NCD close UAF + conn name + init_connections per-link ni_tmp 2 months ago
evgeny d310bccf08 fix: memory pool alloc mismatch in tests, db_sync SEND_DATA buffer overflow 2 months ago
evgeny df13b16fad docs: AGENTS.md chat module descriptions, improved ETCP debug logging, android AGENTS update 2 months ago
evgeny 6f502243db fix: etcp_conn_reset resume output_queue+ack_q+normalizer; collision client-timer cancel; ETCP full state dump to debug log on sync TIMEOUT 2 months ago
evgeny a3b00984ed fix: stable ETCP reconnect (no REINIT loop), own voice playback, peersOnline via conn state, UDP log diagnostics 2 months ago
evgeny ce5a84da24 fix: uasync epoll event ordering + test_uasync_socket_race fix 2 months ago
evgeny f8d7c21a79 Android: unify DB access via JNI/JSON, fix instance lifecycle, add restart + health check 2 months ago
evgeny 03b34e9580 android: fix QR join flow + cleanup log levels + remove log artifacts 2 months ago
evgeny 064bed06f2 android: fix key regeneration, Clear DB, uasync eventfd, udp log from config 2 months ago
Evgeny ecb03ca290 conn_mgr: detect duplicate conn in handshake; etcp: loud collision errors in link/peer_id 2 months ago
Evgeny 27906e9f91 db_sync: односторонний sync, sparse-таблица, vp в SEND_DATA, PUSH-релей 2 months ago
Evgeny 3e95cf5ca6 fix: dialog hangs on join success + remove per-packet spam logs 2 months ago
Evgeny 01a0a568a6 debug: crypto_ctx session_key логгирование — CRYPTO_CONN_READY, CRYPTO_ON_UP, CRYPTO_DECRYPT_OK, DECRYPT_FAIL+seskey 2 months ago
Evgeny f6b37a857b conn_mgr: bind to topo_group, DB node loading, configurable DIRECT timeout, tests 2 months ago
Evgeny ad42f66df5 feat: PING/PONG RTT exchange + burst sender + TCP server; fix INIT peer_id offset 2 months ago
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 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 3 months ago
Evgeny beed7a4e07 fix: INIT reset logic — reset only on session change or got_initial_pkt, always sync session_id 3 months ago
Evgeny ef1922327a rename ready_cbks → init_cbks (connection init, not fully ready) 3 months ago
Evgeny 7c2798ec0e debug: add diagnostic logging for ETCP recv/INIT/dispatch paths 3 months ago
Evgeny de4099a26b logging: cleanup connection establishment logs 3 months ago
Evgeny b238089678 refactor(nat_detection): remove BGP dependency, auto trigger on conn_up, clean API 3 months ago
Evgeny 910cac8dce refactor: separate NAT detection from topology into standalone nat_detection module 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
Evgeny cdcc32cf84 fix: move DECRYPT FAIL/collision/reinit logs from DEBUG_CATEGORY_DEBUG to proper categories 3 months ago
Evgeny 95061d3723 fix: demote INIT retry spam (link/send logs) to DEBUG_DEBUG 3 months ago
Evgeny f039031883 fix: check conn_queue_entry->peer_node_id instead of conn->peer_node_id 3 months ago
Evgeny c3354938e1 fix: peers_* table creation + GUI_ERROR to log + cross-connect conn reuse 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 0479c309bb Диагностика синхронизации: merkle_sync DEBUG_DEBUG логи обмена; убран спам auto_connect no IPv4; сохранение адреса инвайтера из ETCP; детали DECRYPT FAIL (link_state/enc_errs) 3 months ago
Evgeny 895eb0abbf Убрал спам-логи ETCP SEND/RECV/DECRYPT OK + добавил диагностику синхронизации мемберов (DEBUG_CATEGORY_DEBUG) в ключевые точки topo_group, merkle_sync, member_sync, chat_sync 3 months ago
Evgeny a7ecee01f5 etcp: replace connections linked-list with indexed ll_queue, add state/ref_count lifecycle 3 months ago
Evgeny 3368abad2a etcp+chat: add DEBUG_INFO logs for invite/crypto handshake debugging 3 months ago
Evgeny 4c8e5f6223 db_sync+chat_sync+etcp: fix conn init race, reduce keepalive log spam 3 months ago
Evgeny 409a99f56b feat: cross-connect collision resolution via is_server master + collision flag 3 months ago
Evgeny 0912499309 fix: segfault in callback chain iteration — save next before invoke 3 months ago
Evgeny abbb6de701 fix: block redundant conn reinit on cross-connect INIT (reset_done flag) 3 months ago
Evgeny 2bf7dcc6f0 debug: comprehensive connection diagnostics — recv/send/reinit paths 3 months ago
Evgeny fc6a873b5c etcp_connections: reuse existing outbound link for incoming INIT by addr 3 months ago
Evgeny 24294b22f6 fix: use got_initial_pkt instead of new_conn for send_reset decision 3 months ago
Evgeny 43d95016ae fix: send INIT_RESPONSE with reset when server creates new connection after restart 3 months ago
Evgeny 41e0736b75 etcp_connections: force reinit when client sends ETCP_INIT_REQUEST (reset) 3 months ago