221 Commits (c3354938e12a97270e41724e7fc010692c8e6a88)

Author SHA1 Message Date
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
Evgeny d0f5a2970f etcp_connections: improve INIT diagnostics (demote spam, add type/source/fields) 3 months ago
Evgeny e3b32cf4d3 conn_mgr: fix all etcp_route_send calls (dgram was NULL) + improve error diagnostics 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 1889d23240 metrics: RTT/loss histograms + Ed25519 signing + peer exchange via INIT handshake + file logging to stats/<peer>.dat 3 months ago
Evgeny 8756f561be build: extract libutun.a from src/ + add db_sync module + etcp API, BBR improvements 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 eea0ed0a48 debug: add NAT category logging to self-detect, init_resp nat update, and NAT_INFO receive paths 3 months ago
Evgeny 0738dcfd5a fix: self-detection uses interface_addr instead of local_addr (works with 0.0.0.0 bind); don't overwrite nat_addr in handle_init_response_client if NAT already verified 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 7d460ca156 fix: ASAN-detected UAFs and buffer overflows across 6 modules 3 months ago
Evgeny 7c953c1929 bgp: add test_bgp_triangle + keepalive_adaptive config option 3 months ago
Evgeny 8f13f0ec4d refactor: extract handle_ping, handle_pong, send_init_response, handle_init_response_client from read callback 3 months ago
Evgeny 5420e414ce fix: DIRECT detection read srс_ipv4/src_port before INIT RESPONSE overwrites the buffer 3 months ago
Evgeny 69112ffde1 feat: NAT_DIRECT detection during INIT handshake + refactor init packet structs 3 months ago
Evgeny 914f252b12 fix: remove send_blocked_inflight — per-link inflight gate was blocking input_send_q and ACK send, causing bidirectional deadlock 3 months ago
Evgeny 34683f0500 fix: update last_recv_local_time on INIT packet receive to prevent spurious keepalive timeout 4 months ago
Evgeny 150e9977df stcp: unified transport — etcp_send/bind over TCP via stcp_link 4 months ago
Evgeny 474bb8bd6b bbdr: rename BBR log fields, add mode transition logs, configurable max inflight 4 months ago
Evgeny 6b2b0f1360 etcp: per-link acked bytes/packets counters + BBR debug logging 4 months ago
Evgeny 7c840c8cfd inflight fix 4 months ago
Evgeny 9e133699bf log_dump: level+category, memory_pool: дамп user_data через log_dump при коррапшне 4 months ago
Evgeny 5982b011b4 etcp: restore etcp_link_update_inflight_lim + state machine fixes + diagnostics 4 months ago
Evgeny 52f32da3f1 etcp: BBR callback для обновления inflight_lim_bytes + пересчёт optimal_inflight 4 months ago
Evgeny 3217f744f9 memory_pool_is_freed + стратегические проверки на висячие указатели 4 months ago
Evgeny 4dfc0ce947 fix: correct INIT padding — include SC_NONCE_SIZE + SC_CRC32_SIZE in formula 4 months ago
Evgeny b8da0db1ab debug: add final offset/to_add/data_len log before encrypt_send 4 months ago
Evgeny 30acde7b18 debug: add ERROR-level logs for INIT padding calc (req+resp) 4 months ago
Evgeny c0b6e5769e fix: correct INIT padding cap using defines instead of hardcoded 19 4 months ago
Evgeny cb764a1143 fix: INIT padding cap computed from actual link MTU, not hardcoded 1472 4 months ago
Evgeny fceec1aea6 fix: move debug logs before async operations (queue_put, timer_set, resume) for meaningful log ordering 4 months ago