699 Commits (f03903188330de28bdb97ebd6fef147b5f152091)

Author SHA1 Message Date
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 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 0479c309bb Диагностика синхронизации: merkle_sync DEBUG_DEBUG логи обмена; убран спам auto_connect no IPv4; сохранение адреса инвайтера из ETCP; детали DECRYPT FAIL (link_state/enc_errs) 3 months ago
Evgeny 3f0fdad754 config_updater: поддержка создания конфига с нуля (без файла); новый файл — собирается с нуля, существующий — insert_or_replace 3 months ago
Evgeny e325b84a8e config: одно открытие файла — parse_config_from_buf вместо повторного fopen; убран read_file_to_mem 3 months ago
Evgeny ef24af7d24 Ключи: node_id из SHA-256(privkey) через весь конфиг; приоритет privkey — pubkey/node_id всегда выводятся из него; CHANNEL_INFO_RESP: верификация inviter_join_sig через ETCP-ключи 3 months ago
Evgeny da86841516 Диагностика: WARN при мутации конфига (ключи/node_id) + детали при invalid sig в JOIN/CHANNEL_INFO_RESP + предупреждение при расхождении node_id инвайта и ETCP 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 e708940bcd debug: upgrade router_deliver to DEBUG_INFO, show cb ptr 3 months ago
Evgeny d161782b46 fix: merkle_sync.c linked-list -> queue lookup, upgrade debug logs to INFO 3 months ago
Evgeny d71753fa79 debug: add diagnostic logs for chat invite connect flow 3 months ago
Evgeny a7ecee01f5 etcp: replace connections linked-list with indexed ll_queue, add state/ref_count lifecycle 3 months ago
Evgeny 6902f5fd95 chat: add ll_queue with index for P2P connections (replaces linear search) 3 months ago
Evgeny d0af503d01 config: fix allow_all parsing — accept yes/1/true like other bool options 3 months ago
Evgeny 3368abad2a etcp+chat: add DEBUG_INFO logs for invite/crypto handshake debugging 3 months ago
Evgeny d83d281fa0 config: add [allowed_keys] allow_all=yes by default, add [gui] as valid section 3 months ago
Evgeny 4c8e5f6223 db_sync+chat_sync+etcp: fix conn init race, reduce keepalive log spam 3 months ago
Evgeny 6252556a02 chatgui: migrate message sync from chat_sync to db_sync 3 months ago
Evgeny e86944d661 style: reformat db_sync.c — break 500-char lines into readable ~130-char max 3 months ago
Evgeny d840b458a7 fix: pause router retransmits before clearing ETCP queues on reinit 3 months ago
Evgeny f669254da3 feat: hard crash on etcp_connection_close from callback chain 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 dccf54b30b auto-connect + GUI per-channel indicators 3 months ago
Evgeny 1a0229fd4f add NTP time synchronization module 3 months ago
Evgeny f3719a28df fix: change timestamp unit from microseconds to milliseconds 3 months ago
Evgeny 5fc621690a fix: wall-clock timestamps + merkle_sync timeout + build script 3 months ago
Evgeny f617dcd68e db_sync: LMDB→SQLite, multi-instance, etcp_api, chatgui integration 3 months ago
Evgeny d70cdbb040 chatgui: preserve active channel selection on reload, members sync, profile settings, member list model 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
Evgeny 1d29cab751 etcp: INFO-level TX DATA log + Initial packet received log 3 months ago
Evgeny d0f5a2970f etcp_connections: improve INIT diagnostics (demote spam, add type/source/fields) 3 months ago
Evgeny 03701f525f conn_mgr: add missing sc_init_ctx before sc_set_peer_public_key 3 months ago
Evgeny 89b1a01448 invite+clipboard+conn_mgr: sock_meta for alien nodes, clipboard fix, bg_ping fix 3 months ago
Evgeny e3b32cf4d3 conn_mgr: fix all etcp_route_send calls (dgram was NULL) + improve error diagnostics 3 months ago
Evgeny 85a91a1320 chatgui: invite link connect flow + GUI_ERROR always-on diagnostics 3 months ago
Evgeny e74240f0dd Add my_ed25519_privkey field to UTUN_INSTANCE struct 3 months ago
Evgeny e438e19f9e Add cross-platform utun_mkdir() wrapper for Windows compatibility 3 months ago
Evgeny de7841f33a chatgui: create group, unified logging, fix uasync_post epoll bug 3 months ago
Evgeny a9a6b6bb10 TOPO_GROUP: add group_type support (UTUN/CHAT), mismatch detection, topo_groups_create_group() 3 months ago
Evgeny 3f874a80ab TOPO_GROUP: embed struct ll_entry as first member (direct queue embedding, hash index) 3 months ago
Evgeny 1f4749a1b9 Убрал имена функций из DEBUG-сообщений (__FUNCTION__ уже добавляет) 3 months ago
Evgeny 28e5950d29 TOPO_BGP -> TOPO_GROUP: multi-group support 3 months ago