459 Commits (01cf7f67b63d17a9d495e9e353711354772bbf3a)

Author SHA1 Message Date
Evgeny 01cf7f67b6 fix TCP close: properly close lwIP pcb on both sides, fix use-after-free, add poll close path 5 months ago
Evgeny c396b91fde fix missing IP checksum in icmp/udp deliver_reply, fix udp output_queue->input_queue 5 months ago
Evgeny 889f6d5c3a fix icmp_proxy: write reply to input_queue (not output_queue) to reach TUN device 5 months ago
Evgeny 13d469d866 add orig_src_ip to ICMP proxy protocol, fix deliver_reply dst_ip (was wrong tun_ip_addr) 5 months ago
Evgeny 67d57c9751 add etcp_router INFO logs for ICMP_PROXY reply path (send+deliver) 5 months ago
Evgeny 02c7153822 add icmp_proxy diagnostic logging on all reply path stages 5 months ago
Evgeny 07540b7ff8 fix icmp: use SOCK_RAW for FreeBSD compat, add socket diagnostic logging 5 months ago
Evgeny d00996243d fix lwip_tcp_priv.h: use #ifndef _WIN32 for arpa/inet.h (FreeBSD compat) 5 months ago
Evgeny edeb83ce89 replace fake ICMP echo reply with test_loopback flag, honest error when no raw socket 5 months ago
Evgeny d3b6057f82 add framed read for raw fd (2-byte len prefix), TCP_NODELAY, fix test half-close ordering 5 months ago
Evgeny d0af315ff6 fix uasync set_timeout(0) ordering, dummynet shaper initial delay, add tests 5 months ago
Evgeny ad8bc0ae00 fix lwip_tcp port byte order (double-htons), mapping lookup, socket error handling 5 months ago
Evgeny c05e1c9991 replace uIP with adapted lwIP TCP stack (lwip_tcp) 5 months ago
Evgeny a6311a17d0 add UDP/ICMP proxy, refactor tcp_proxy via_node to instance-level 5 months ago
Evgeny 17e95cc2a3 fix remaining pointer-sign warnings in sc_set_peer_public_key callers 5 months ago
Evgeny 68f4ae12c8 fix all compiler warnings: array-bool, pointer-sign, tautological, unsequenced 5 months ago
Evgeny a0e5446790 migrate NAT and DATA to etcp_router, fix warnings and destroy order 5 months ago
Evgeny c24a6367cc add IPv6 default route interface auto-detection for permanent/temporary IPv6 without netif 5 months ago
Evgeny 2565e8d008 add uIP TCP/IP stack (minimal — only files needed for tcp_proxy build) 5 months ago
Evgeny 9869cf66f1 add etcp_router service routing layer + remote TCP proxy (uip+socket via router) 5 months ago
Evgeny 171e70a810 add inflight data return to normalizer on reinit + configurable inflight min/max limits + test 5 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 5 months ago
Evgeny d0d4199273 etcp: unified send hook via etcp_udp_send, remove loss_rate, add dummynet_filter inline mode, rewrite BGP test 5 months ago
Evgeny e7c32d9ac1 1 5 months ago
Evgeny 7d03749522 1 5 months ago
Evgeny 61fee27478 congestion: burst-based BW measurement + adaptive inflight (slow start/cong avoidance/loss response) 5 months ago
Evgeny edfe665837 log: move individual ping logs from INFO/TRACE to DEBUG level 5 months ago
Evgeny 6c057ca89a fix BGP: delay up_cbk until connection initialized, fix send_table_request leak 5 months ago
Evgeny a356eedc0d cleanup BGP/connection logging 5 months ago
Evgeny 227a1aafad cleanup debug logging 5 months ago
Evgeny 048d1c18b1 fix: restore lost if(changed) block in update_my_nodeinfo + add debug warnings 5 months ago
Evgeny 9c509d4c86 add connectivity probing + NAT type rename OPEN->EIM, RESTRICTED->STRICT 5 months ago
Evgeny 39544e6b2b Fix: Add bounds/mtu checks, underflow protection and null deref fix for ETCP robustness 5 months ago
Evgeny 595d2b177b Refactor: Replace custom tc_hton*/tc_ntoh* with standard htobe16/be16toh/htobe32/be32toh, move htobe16/be16toh to platform_compat.h 5 months ago
Evgeny 8cb05da11c Fix: Add forward declaration of struct UTUN_INSTANCE in route_node.h 5 months ago
Evgeny 907ef244c6 NAT: Full Cone (EIM) NAT with ETCP_ID_NAT protocol, per-node routing, and comprehensive test suite 5 months ago
Evgeny b7da11c2bf Crypto: Refactored ETCP header size calculations with offsetof-based defines, increased CCM tag to 16 bytes 5 months ago
Evgeny a66edb8f5f Crypto: Added SHA256-based KDF for session key derivation from ECDH shared secret 5 months ago
Evgeny 11d511797a Fix compiler warnings: remove incorrect address-of operator and add getpid for Windows 5 months ago
Evgeny e0ce9fefc3 Fix allowed_keys check to only apply to ETCP_INIT packets, not PING/PONG 5 months ago
Evgeny 6aedf5fe91 Replace buggy get_default_route_ip() with get_outgoing_local_ip() for reliable local IP detection 5 months ago
Evgeny 724a9ff5c7 Add getmyip module for reliable local IP detection 5 months ago
Evgeny 697aee0351 Socket info: show config and netif IP in log, monitor shows interface IP 5 months ago
jeka 30413ebce0 1 5 months ago
Evgeny e39979bfac Config: Added [allowed_keys] section for client public key authorization on server 5 months ago
Evgeny 3625a4e5d5 Restart NAT check when client address changes in INIT_REQUEST 5 months ago
Evgeny a3063ea47a NODEINFO: Add nat_addr/nat_port fields, use interface_addr for addr/port 5 months ago
Evgeny f02603f8ac Add socket type (public/nat/private) to handshake and skip private nodes in NAT detection 5 months ago
Evgeny 0c748501c8 GUI: Add NAT address to socket display in etcpmon 5 months ago
Evgeny 72c6b6f197 Reset NAT check status on etcp_conn_reinit when session_id changes 5 months ago