202 Commits (3c3d9a65d9104dc1cdb5b54bbb9ed75a4bf6de23)

Author SHA1 Message Date
Evgeny 3c3d9a65d9 refactor: переименование route_node/route_bgp в topo_node/topo_bgp 4 months ago
Evgeny c7ac42eb5f route_node: refactor NODEINFO — separate protocol/memory structs, linked lists with memory_pool 4 months ago
Evgeny 1889d23240 metrics: RTT/loss histograms + Ed25519 signing + peer exchange via INIT handshake + file logging to stats/<peer>.dat 4 months ago
Evgeny 8756f561be build: extract libutun.a from src/ + add db_sync module + etcp API, BBR improvements 4 months ago
Evgeny 90ad64a106 stcp: add protocol field to NODEINFO addr structs, TCP support in etcp_connect, stcp traffic test 4 months ago
Evgeny 0b5a710fe6 etcp_connect + BGP_READY callbacks + router reconnect test 4 months ago
Evgeny eea0ed0a48 debug: add NAT category logging to self-detect, init_resp nat update, and NAT_INFO receive paths 4 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 4 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 4 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) 4 months ago
Evgeny 7d460ca156 fix: ASAN-detected UAFs and buffer overflows across 6 modules 4 months ago
Evgeny 7c953c1929 bgp: add test_bgp_triangle + keepalive_adaptive config option 4 months ago
Evgeny 8f13f0ec4d refactor: extract handle_ping, handle_pong, send_init_response, handle_init_response_client from read callback 4 months ago
Evgeny 5420e414ce fix: DIRECT detection read srс_ipv4/src_port before INIT RESPONSE overwrites the buffer 4 months ago
Evgeny 69112ffde1 feat: NAT_DIRECT detection during INIT handshake + refactor init packet structs 4 months ago
Evgeny 914f252b12 fix: remove send_blocked_inflight — per-link inflight gate was blocking input_send_q and ACK send, causing bidirectional deadlock 4 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 5 months ago
Evgeny 6b2b0f1360 etcp: per-link acked bytes/packets counters + BBR debug logging 5 months ago
Evgeny 7c840c8cfd inflight fix 5 months ago
Evgeny 9e133699bf log_dump: level+category, memory_pool: дамп user_data через log_dump при коррапшне 5 months ago
Evgeny 5982b011b4 etcp: restore etcp_link_update_inflight_lim + state machine fixes + diagnostics 5 months ago
Evgeny 52f32da3f1 etcp: BBR callback для обновления inflight_lim_bytes + пересчёт optimal_inflight 5 months ago
Evgeny 3217f744f9 memory_pool_is_freed + стратегические проверки на висячие указатели 5 months ago
Evgeny 4dfc0ce947 fix: correct INIT padding — include SC_NONCE_SIZE + SC_CRC32_SIZE in formula 5 months ago
Evgeny b8da0db1ab debug: add final offset/to_add/data_len log before encrypt_send 5 months ago
Evgeny 30acde7b18 debug: add ERROR-level logs for INIT padding calc (req+resp) 5 months ago
Evgeny c0b6e5769e fix: correct INIT padding cap using defines instead of hardcoded 19 5 months ago
Evgeny cb764a1143 fix: INIT padding cap computed from actual link MTU, not hardcoded 1472 5 months ago
Evgeny fceec1aea6 fix: move debug logs before async operations (queue_put, timer_set, resume) for meaningful log ordering 5 months ago
Evgeny 6d661360b1 etcp: адаптивный keepalive — отдельная команда ETCP_KEEPALIVE с period_ms 5 months ago
Evgeny b2e72db31b etcp: link_status = remote_keepalive && recv_keepalive (вместо только remote) 5 months ago
Evgeny 4f0baa37db bbr: исправить передачу потерь в BBR + пол для cwnd на уровне BBR_CWND_MIN_TARGET*mss 5 months ago
Evgeny 6c79939db3 congestion: заменить AIMD на BBR v3 (per-link), добавить юнит-тесты BBR 5 months ago
Evgeny ed6b4d1046 debug: выделить link keepalive в отдельную категорию KEEPALIVE (21), добавить DEBUG_DEBUG при приёме keepalive-пакета 5 months ago
Evgeny 2d516bf16e fix route_bgp etcp_send leaks and etcp_socket_remove infinite loop on link->conn==NULL 5 months ago
Evgeny 6c2aeb69a1 fix INIT bounds checks and eim_nat port uint16_t wrap 5 months ago
Evgeny 194c8398c1 fix ETCP: dgram leak on inflight pool exhaustion, cancel dangling timers on link close/new 5 months ago
Evgeny b829ff7001 fix use-after-free in tests: swap queue_entry_free/queue_dgram_free order, fix dangling timer handles and stack args; add ETCP MTU bounds, assembly overflow check, etcp_update_mtu 5 months ago
Evgeny a6311a17d0 add UDP/ICMP proxy, refactor tcp_proxy via_node to instance-level 6 months ago
Evgeny 17e95cc2a3 fix remaining pointer-sign warnings in sc_set_peer_public_key callers 6 months ago
Evgeny 68f4ae12c8 fix all compiler warnings: array-bool, pointer-sign, tautological, unsequenced 6 months ago
Evgeny c24a6367cc add IPv6 default route interface auto-detection for permanent/temporary IPv6 without netif 6 months ago
Evgeny 171e70a810 add inflight data return to normalizer on reinit + configurable inflight min/max limits + test 6 months ago
Evgeny dea3a39598 fix: reconnect test — cancel timers in conn_reset, add init_timer cancel on link_state=3, add reinit resilience to test 6 months ago
Evgeny d0d4199273 etcp: unified send hook via etcp_udp_send, remove loss_rate, add dummynet_filter inline mode, rewrite BGP test 6 months ago
Evgeny 61fee27478 congestion: burst-based BW measurement + adaptive inflight (slow start/cong avoidance/loss response) 6 months ago
Evgeny edfe665837 log: move individual ping logs from INFO/TRACE to DEBUG level 6 months ago
Evgeny a356eedc0d cleanup BGP/connection logging 6 months ago