Commit Graph
2280 Commits
Author SHA1 Message Date
jeka 357169a38a 1 2026-03-05 15:03:27 +03:00
jeka 5e4db00d4b queue add check consistency 2026-03-05 14:56:23 +03:00
Evgeny a34579b158 tests 2026-03-05 11:55:31 +03:00
Evgeny 43c339e37e tests fix 2026-03-05 11:54:43 +03:00
jeka 376c570156 1 2026-03-05 11:50:27 +03:00
jeka 32090cfa1d len fix 2026-03-05 02:31:57 +03:00
jeka 46c95b3fd8 +bping +gui rtt 2026-03-04 23:14:32 +03:00
jeka aef89a0258 ts 2026-03-04 20:43:43 +03:00
jeka de053a00c0 cleanup tests (winsock) 2026-03-04 17:27:33 +03:00
jeka fcdd07ba94 фиксы тестов (winsock) 2026-03-04 15:30:32 +03:00
Evgeny 1aec884c2d linux routing + debug output 2026-03-04 14:59:38 +03:00
jeka 0b4e5960cf 1 2026-03-04 11:38:42 +03:00
jeka b20bff32dd config 2026-03-04 01:53:17 +03:00
jeka 9d202ff408 reinit 2026-03-03 23:45:34 +03:00
jeka dca4e87f63 +keepalive/reset interval sync 2026-03-03 19:15:34 +03:00
jeka 0ffcfb2f52 reset fix 2026-03-03 18:41:39 +03:00
jeka 61d575f09b logs 2026-03-03 15:15:34 +03:00
jeka 2f06979f17 r 2026-03-02 22:05:21 +03:00
jeka c271084d35 tun/win шлёт в routing. 2026-03-02 20:22:34 +03:00
jeka 136a3642c0 1 2026-03-01 17:57:24 +03:00
jeka a37d343410 1 2026-03-01 17:55:33 +03:00
jeka 783f229711 obf 2026-03-01 17:19:47 +03:00
jeka c420b8f18e пердайт icmp в tun 2026-03-01 02:48:03 +03:00
jeka 06f58f5e2e Fix: Add ifindex field for Linux
- Move ifindex field outside WIN32 conditional block
- Initialize ifindex in Linux tun_platform_init()
2026-02-28 16:31:04 +03:00
jeka f821ab9640 1 2026-02-28 16:25:01 +03:00
jeka fc32d756e6 Fix: Suppress netsh output 2026-02-28 16:23:23 +03:00
jeka 9269bc9c61 Fix: Delete system routes on shutdown
- Add tun_route_del_all() to delete routes from config
- Use netsh for route deletion on Windows (like add)
- Store route_subnets in UTUN_INSTANCE for cleanup
- Delete routes in utun_instance_destroy() before tun_close()
2026-02-28 16:20:16 +03:00
jeka 3945ff5665 Fix: Use netsh for adding routes on Windows (wintun)
- Get wintun interface index directly after adapter creation
- Use netsh instead of CreateIpForwardEntry (doesn't work with wintun)
- Fallback to CreateIpForwardEntry if netsh fails
2026-02-28 16:08:06 +03:00
jeka 9d0223d3fa refactor 2026-02-28 15:15:34 +03:00
jeka b27ea97055 1 2026-02-22 23:28:11 +03:00
jeka 17e1a193c5 1 2026-02-22 00:49:47 +03:00
jeka e8dc0abb31 Merge branch 'master' of http://git.syqiq.tech/jeka/utun2 2026-02-21 23:44:33 +03:00
jeka cab860fce8 route 2026-02-21 23:44:22 +03:00
Evgeny fc9fac2e3a Fix: Remove reference to missing test_control_server.c 2026-02-21 23:29:31 +03:00
jeka f844f65abe график 2026-02-21 23:12:39 +03:00
jeka 797ade9633 +autostart graph 2026-02-21 23:10:20 +03:00
jeka bd6054bac9 фикс графиков 2026-02-21 23:00:02 +03:00
jeka 90a8e66328 routing - local routes (id,ip) 2026-02-21 21:57:17 +03:00
Evgeny 8502451ec7 compile fixes 2026-02-21 21:30:39 +03:00
jeka 1947810cb0 gr restore v2 2026-02-21 21:24:09 +03:00
jeka b8ea33160d восстановление морды (частичное) 2026-02-21 21:04:11 +03:00
Evgeny 6ffec2f1e7 Fix: INVALID_SOCKET usage in POSIX code and remove missing test
- control_server.c: Use -1 instead of INVALID_SOCKET on lines 241 and 511
- Makefile.am: Remove test_control_server reference (source file missing)
2026-02-21 18:09:47 +03:00
jeka cd169b106a gui + small fixes 2026-02-21 17:55:20 +03:00
jeka 9113428e7d graph bugfix 2026-02-21 10:28:35 +03:00
Evgeny 3749c5037c fix build for linux 2026-02-20 22:39:58 +03:00
jeka fee6542abb +etcpmon 2026-02-20 21:32:36 +03:00
jeka d10bddd1f7 Build: incremental build support, Windows uasync fixes, TUN cross-platform refactoring
- build.sh: added --full flag for full rebuild (autoreconf + configure + make)
- build_direct.sh: incremental compilation (skips unchanged files)
- build_full.bat: new Windows batch for full rebuild
- configure.ac: fixed Windows detection using AC_COMPILE_IFELSE
- lib/u_async.c/h: Windows wakeup socket support, uasync_post for thread-safe callbacks
- src/tun_if.c/h: cross-platform TUN refactoring, Windows read thread support
- src/tun_windows.c: Windows TUN implementation improvements
- src/control_server.c: removed premature return statement
- src/routing.c: include ordering fix
- src/utun.c: windows compat includes
- Deleted obsolete net_emulator/Makefile and tinycrypt/Makefile
2026-02-20 21:20:50 +03:00
jeka 734851329f Control: Add monitoring server with ETCP protocol support
- Implement control_server.c/h for monitoring and management
- Add Windows-compatible uasync_poll using select() instead of WSAPoll
- Fix Wintun adapter creation to open existing adapters first
- Add debug category for control server operations
- Update build files to include control server in compilation
- Add test_control_server to test suite
2026-02-19 01:24:42 +03:00
Evgeny 96100663e7 Exclude test_dummynet from make check (temporarily disabled due to long execution time) 2026-02-17 21:31:47 +03:00
Evgeny 00e09c767e ETCP: реализация восстановления связи при падении всех линков
- Добавлена функция etcp_loadbalancer_get_link_status() для проверки состояния связи
- Клиент: при падении всех линков запускается отправка ETCP_INIT_REQUEST_NOINIT (0x04)
- Сервер: при приеме NOINIT отвечает ETCP_INIT_RESPONSE_NOINIT (0x05) без сброса если линк initialized
- При приеме любого пакета отменяется таймер восстановления
- ETCP_INIT_RESPONSE (0x03) вызывает сброс всего ETCP_CONN
- Переименованы константы: ETCP_CHANNEL_INIT -> ETCP_INIT_REQUEST_NOINIT,
  ETCP_CHANNEL_RESPONSE -> ETCP_INIT_RESPONSE_NOINIT

Все 23 теста проходят
2026-02-17 01:41:05 +03:00