59 Commits (1a8072e9b2ceb33a155c1ccf524999f85d0862e4)

Author SHA1 Message Date
Evgeny 7dee05c628 fix: node_registry crash — TOPO_NODE_REG_ENTRY node/lldata overlap 2 months ago
Evgeny 6edd40d141 topo_group_connect: авто-подключение CHAT-групп + conn_mgr_connect_from_invite + замена chat_conn_mgr в chatgui 2 months ago
Evgeny 4215349349 topo_recovery: каскадное восстановление узлов с группировкой по next_hop 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 df809f251c ntp: use NTP-corrected time everywhere instead of unixepoch()/gettimeofday 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 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 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 2 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 6f4025e420 refactor: move sqlite3 db from topo_group to UTUN_INSTANCE, remove conn_mgr/topo_group deps from chatgui 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 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 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 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 85a91a1320 chatgui: invite link connect flow + GUI_ERROR always-on diagnostics 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
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 8756f561be build: extract libutun.a from src/ + add db_sync module + etcp API, BBR improvements 3 months ago
Evgeny 0b5a710fe6 etcp_connect + BGP_READY callbacks + router reconnect test 3 months ago
Evgeny eea0ed0a48 debug: add NAT category logging to self-detect, init_resp nat update, and NAT_INFO receive paths 3 months ago
Evgeny 4862c30261 add CFG_SERVER_TYPE_LOCAL (type=local) and UNKNOWN semantics: PRIVATE/LOCAL hidden from nodeinfo, PRIVATE blocks incoming INIT, LOCAL accepts; UNKNOWN treated as PUBLIC; self-detection of PUBLIC IP on incoming INIT; filter LOCAL from NAT checks and connectivity 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 53d41d5c62 fix: use-after-free in route table — add route_delete before u_free in route_bgp_update_my_nodeinfo and route_bgp_process_nodeinfo, relax routes_overlap to allow hierarchical routes 3 months ago
Evgeny c5123e4baf bgp: prevent sending NODEINFO to self + own NODEINFO early return 3 months ago
Evgeny b5b6875bc5 bgp: skip own NODEINFO in route_bgp_process_nodeinfo 3 months ago
Evgeny 1c09ad2e5a bgp: fix node removal when alternative paths exist 3 months ago
Evgeny 21da640ebe route_bgp: find_conn_for_node prefers live links_up path, fallback to best any 3 months ago
Evgeny 69112ffde1 feat: NAT_DIRECT detection during INIT handshake + refactor init packet structs 3 months ago
Evgeny a7b20f268f feat: conn_mgr, dummynet block-addr, indirect routing, alien nodes, nodeinfo refactor 3 months ago
Evgeny d8c8c1c5b0 control_server: node subscription protocol with output queue, push notifications on routing changes 3 months ago
Evgeny 6717c863e7 etcp_router: Ed25519 digital signature for service messages 3 months ago
Evgeny fceec1aea6 fix: move debug logs before async operations (queue_put, timer_set, resume) for meaningful log ordering 4 months ago
Evgeny 803387f2b4 router close_all_for_node: integrate with BGP remove_conn, fail fast on no route, stop PAUSE cycle 4 months ago
Evgeny 2d516bf16e fix route_bgp etcp_send leaks and etcp_socket_remove infinite loop on link->conn==NULL 5 months ago
Evgeny d6c6ca9eb3 fix route_bgp/route_ping: old paths queue leak, etcp_send fail leak, nat_check_arg leak on cancel 5 months ago
Evgeny c24a6367cc add IPv6 default route interface auto-detection for permanent/temporary IPv6 without netif 5 months ago