You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Evgeny
0a4373ffe1
Fix: Treat client links as INIT packets on receive
...
When receiving an INIT packet, the code was looking up existing links by
address. However, in a mesh topology where each node has both client and
server connections to peers, a client link created during initialization
would be found when receiving an incoming INIT packet from that peer.
This caused the code to try decrypting the INIT packet using the client
link's crypto context, which failed because the session keys weren't
properly established yet.
The fix checks if the found link is a client link (is_server==0) and if
so, treats the packet as a new INIT connection that needs to create a
server-side link instead.
Changed condition from:
if (link==NULL)
to:
if (link==NULL || link->is_server==0)
8 months ago
.opencode
Backup before route_lib.c refactoring
8 months ago
doc
Backup before adding NAT IP:port tracking to ETCP handshake
8 months ago
lib
Fix u_async: Windows socket registration, timers, and poll issues
8 months ago
net_emulator
Refactor: Move mainloop from utun_instance to main
9 months ago
src
Fix: Treat client links as INIT packets on receive
8 months ago
tests
Mesh test с файлами конфигов - все еще ошибки расшифровки
8 months ago
tinycrypt
Fix Windows: use sys/time.h for gettimeofday, remove custom implementation
8 months ago
.gitignore
Update .gitignore: add test binaries and all log files
8 months ago
AGENTS.md
Backup before adding NAT IP:port tracking to ETCP handshake
8 months ago
INSTALL.autotools
Major refactoring: Tasks 1-4 complete
9 months ago
Makefile
Backup before fixing u_async socket registration bug
8 months ago
Makefile.am
Build: Out-of-tree build system with separate build directory
8 months ago
build.bat
Add build.bat for Windows MSYS2 build
8 months ago
build.sh
Fix Windows build: add default_CSPRNG and improve build.sh error handling
8 months ago
build_win.log
Backup before fixing u_async socket registration bug
8 months ago
c_gen_filelist
Fix c_util script: implement proper C code navigation (toc, func, struct, enum commands)
8 months ago
c_util
Add edit command with checksum verification
8 months ago
check.bat
Add check.bat - Windows test runner script
8 months ago
cl
Backup before fixing u_async socket registration bug
8 months ago
configure.ac
Fix Windows detection in configure.ac - check both host_os and host
8 months ago
configure.log
Backup before fixing u_async socket registration bug
8 months ago
filelist.txt
Fix c_util script: implement proper C code navigation (toc, func, struct, enum commands)
8 months ago
log
Сохранить текущее состояние перед исправлением компиляционных ошибок
9 months ago
monitor.py
…
utun.conf
Ревизия: добавлены DEBUG сообщения для ошибок и предупреждений
8 months ago