57 Commits (603768052df1e19c6adff20acd240349422c464e)

Author SHA1 Message Date
Evgeny 603768052d Debug: Enable crypto packet dumps conditionally based on debug level 2 months ago
Evgeny a73e36b559 Fix mesh topology: try normal decryption first, then INIT 2 months ago
Evgeny 27b02cef68 Fix mesh topology handling with fallback to normal decryption 2 months ago
Evgeny 0a4373ffe1 Fix: Treat client links as INIT packets on receive 2 months ago
Evgeny 25f5b84bf9 Simplify: Remove unreachable duplicate code block in init_connections 2 months ago
Evgeny 2a546c5fbc Fix Windows build: tun_windows.c function pointers and MIB_IPINTERFACE_ROW 2 months ago
Evgeny 8af2904033 Fix Windows build: net/if.h and route_lib.h forward declarations 2 months ago
Evgeny c83fdeeaad Fix Windows build: add sa_family_t typedef, replace arpa/inet.h, fix ll_queue warnings 2 months ago
Evgeny 3f1d4077e9 Add cross-platform socket compatibility layer for Windows support 2 months ago
Evgeny 68668821e4 BGP: Implement route exchange module between uTun instances 2 months ago
Evgeny d08b14a8c1 ETCP: Add NAT IP:port tracking to handshake protocol 2 months ago
Evgeny 277ab872bf Fix: routing initialization timing and test callbacks 2 months ago
Evgeny 07d4616aea Refactor: Updated SHA256 implementation and secure channel improvements 2 months ago
Evgeny beafb9b198 Fix: Remove usleep from event loops and fix segfault in tests 2 months ago
Evgeny 8a3f01fbf8 Add epoll support, fix ETCP timestamp bug, optimize uasync with cached pollfds 2 months ago
Evgeny 076da4264b Fix: ACK section length calculation and increase socket buffers 2 months ago
Evgeny c1890ad7a6 Debug: Add ETCP log_name identifier and improve log format 2 months ago
Evgeny 22dd1b78c3 Add local_link_id exchange in ETCP handshake (0x02-0x05) 2 months ago
Evgeny 985ed5c4b1 Fix ETCP test: server connection registration and packet handling 2 months ago
Evgeny a34035f41f ETCP: Fix protocol parsing and crypto nonce handling 2 months ago
Evgeny 41626a02c3 Fix ll_queue callback signature and add debug utilities 2 months ago
Evgeny edba76c4ed ll_queue: fix pointer arithmetic (xxx=0), callback now receives struct ll_entry* 2 months ago
Evgeny 3ddfb79338 Backup before replacing all printf with DEBUG_ macros in tests 2 months ago
Evgeny 1bafe6a681 Backup before fixing etcp_connections list addition 2 months ago
Evgeny ab98e68865 Fix double free bug in ETCP connections causing coredump 2 months ago
Evgeny d74f76a5a0 Fix: Resolved double free in timeout_heap_pop() and test_etcp_simple_traffic bind conflict 2 months ago
Evgeny a5d85c2779 Add single-line packet dump with debug output for ETCP 2 months ago
Evgeny f1a76c9d30 Fix memory leaks and crashes in ETCP tests 2 months ago
Evgeny e4922c1d31 Debug: Replaced all printf with DEBUG_* macros in etcp_connections.c 2 months ago
Evgeny 9b6bb6a56c Debug: Added numbered error codes to etcp_connections_read_callback with detailed debug messages 2 months ago
Evgeny 195d0b303c Fix: ETCP connection timing and packet handling improvements 2 months ago
Evgeny 6fd3a39cc8 Fix: ETCP connection initialization and crypto handling 2 months ago
Evgeny 4d55bedb82 Fix: исправлена логика шифрования ETCP пакетов 2 months ago
Evgeny 56dfd2f0df Ревизия: добавлены DEBUG сообщения для ошибок и предупреждений 2 months ago
Evgeny 4ddb190293 Найдена реальная ошибка: bind Address already in use 2 months ago
Evgeny 03a409232c Fix: ETCP handshake fully operational - response structure, initialization logic, link management 2 months ago
Evgeny e1535ca7ff Fix: ETCP socket reception via uasync 2 months ago
Evgeny c08e73b6d7 Add uasync socket polling for ETCP packet reception 2 months ago
Evgeny 223e26fdf7 Fix etcp_socket_add to register sockets with uasync 2 months ago
Evgeny d126d92d3f Add etcp_socket_add uasync integration for packet reception 2 months ago
Evgeny 11501faeb8 Enable server-only operation and add server section to configs 2 months ago
Evgeny e737f2ae0b Add full integration test using real UTUN instances 2 months ago
Evgeny 4a2044973c Fix includes and complete test_etcp_connection_init build 2 months ago
Evgeny ec66a80492 Implements connection establishment (init + init response) for ETCP protocol 2 months ago
Evgeny 50e59bb835 Финальный коммит: полный рефакторинг и улучшения 2 months ago
Evgeny 727e504a55 Test: Add ETCP 2-instance connection test with crypto and link management 2 months ago
Evgeny dfe26557e3 Crypto: Fixed CCM nonce size to 13 bytes, all crypto tests passing 2 months ago
Evgeny 92785ecd61 Улучшена функция init_connections с правильной структурой и логикой 2 months ago
Evgeny 3f7fd9f8ad Сохранить текущее состояние перед исправлением компиляционных ошибок 2 months ago
Evgeny abcda89800 FIX: Critical bug - sc_derive_shared_key is called inside sc_set_peer_public_key, so no separate call needed. Correct order for INIT: pubkey extract → derive (inside set) → decrypt. All encryption now working. 3 months ago