190 Commits (8f13f0ec4dceac9dcc10c96ec0565b88825d2107)

Author SHA1 Message Date
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
Evgeny 39544e6b2b Fix: Add bounds/mtu checks, underflow protection and null deref fix for ETCP robustness 6 months ago
Evgeny 595d2b177b Refactor: Replace custom tc_hton*/tc_ntoh* with standard htobe16/be16toh/htobe32/be32toh, move htobe16/be16toh to platform_compat.h 6 months ago
Evgeny 11d511797a Fix compiler warnings: remove incorrect address-of operator and add getpid for Windows 6 months ago
Evgeny e0ce9fefc3 Fix allowed_keys check to only apply to ETCP_INIT packets, not PING/PONG 6 months ago
Evgeny 6aedf5fe91 Replace buggy get_default_route_ip() with get_outgoing_local_ip() for reliable local IP detection 6 months ago
Evgeny 724a9ff5c7 Add getmyip module for reliable local IP detection 6 months ago
Evgeny 697aee0351 Socket info: show config and netif IP in log, monitor shows interface IP 6 months ago
jeka 30413ebce0 1 6 months ago
Evgeny e39979bfac Config: Added [allowed_keys] section for client public key authorization on server 6 months ago
Evgeny 3625a4e5d5 Restart NAT check when client address changes in INIT_REQUEST 6 months ago
Evgeny f02603f8ac Add socket type (public/nat/private) to handshake and skip private nodes in NAT detection 6 months ago
Evgeny 0c748501c8 GUI: Add NAT address to socket display in etcpmon 6 months ago