Commit Graph

74 Commits

Author SHA1 Message Date
37ddb82d9a Refactor args 2025-12-30 03:39:35 +01:00
8923f45356 Add routeset to win32 2025-12-29 19:33:57 +01:00
d5bf741650 Test Fix double SIGTERM 2025-12-29 19:05:25 +01:00
ae507c3fb9 Test Fix panic on disconnect 2025-12-29 19:02:22 +01:00
072fb69a4a test3 2025-12-29 18:30:54 +01:00
6031d9655a test3 2025-12-29 18:29:42 +01:00
16cd980c0a test2 2025-12-29 18:11:05 +01:00
68a825b7df test 2025-12-29 18:02:42 +01:00
17cc314c26 Fix wintun - connects but errors 2025-12-18 11:12:11 +01:00
225aa2a55d Create wintun interface if not found 2025-12-18 07:55:35 +01:00
cab1362053 Kinda working Windows version
Needs these DLLs:
- libgcc_s_seh-1.dll
- libstdc++-6.dll
- libwinpthread-1.dll
- wintun.dll
2025-12-17 19:11:28 +01:00
c047cb90f0 Test 1: Make WinTun work 2025-12-17 18:34:07 +01:00
5e3aef78a5 Test: proper ipv6 support, still sending v4 to client tun 2025-12-10 16:02:55 +01:00
4ff33ffdab Add IPv6 helpers 2025-12-10 15:08:29 +01:00
7d9018043d Add resetIP() method, need impl 2025-12-09 20:14:06 +01:00
b50b594d68 Added support for macOS-specific kernel stuff. 2025-12-08 17:01:41 +01:00
842752cd88 Version b0.1 (Beta 0.1) - Refactor some stuff and move session_registry to .cpp file 2025-12-04 15:48:18 +01:00
668b96e8e0 Alpha 0.6 - Dynamic IPs 2025-12-02 18:45:50 +01:00
8ed90a3bc8 Alpha 0.6 - Dynamic IPs 2025-12-02 18:44:57 +01:00
4f4a0fd385 Wipe tuns before adding 2025-12-02 17:23:02 +01:00
3bda0b2ec4 Test3 2025-12-02 17:11:03 +01:00
210f9f2436 Test2 2025-12-02 17:08:40 +01:00
265954d700 Test - fixed session ip locking 2025-12-02 17:00:13 +01:00
0ba78d72ed Test - Updated map check 2025-12-02 16:30:56 +01:00
eb7f4930e2 Test dynamic IPv4 + Subnet masks 2025-12-02 16:25:42 +01:00
4dbde290c2 Update README and IPv6 preparations 2025-12-02 01:18:06 +01:00
15d13b6f04 Converted some raw pointers to smart pointers 2025-12-01 21:13:46 +01:00
552d78eab2 Update README.md for config 2025-11-28 19:23:25 +01:00
dedcc364fb Removed verification by CA for now, moved to whitelisted_keys (should be simpler). TODO: Move to smart ptrs 2025-11-28 18:59:55 +01:00
e54cce9497 Remove config.json req 2025-11-28 00:42:19 +01:00
1e902ed82b Remove config.json req 2025-11-28 00:41:22 +01:00
4a5234bc9a Move heartbeat logs to debug 2025-11-28 00:33:38 +01:00
1cf851bec3 Deleted some header libs from the include/ dir. Moved to CMake fetchcontent 2025-11-27 23:38:44 +01:00
d8ab2e2bda Make interface name overridable (may not work on macos) 2025-11-27 18:54:31 +01:00
7d6d9e8ee6 Update some names 2025-11-27 18:49:53 +01:00
2a2deae022 General fixes
Fixed most compiler warnings. Changed used interface from utun0/utun1 to lynx0
2025-11-27 18:43:09 +01:00
d2242ebbc7 Comment some code 2025-11-26 21:52:01 +01:00
84c00b7bcb Update version number, add timestamp to logs (maybe also other stuff that I forgot) 2025-11-26 18:13:41 +01:00
7b757c814c Moved UDP msg logs to debug 2025-11-26 03:34:39 +01:00
DcruBro
e3df3cd0a7 Switched to C++23 as the project standard.
Added a basic parser for client_config and server_config, and added some basic authorization.
Need to work on verification of the server.
2025-11-25 21:45:10 +01:00
DcruBro
f776f1fdd1 Colourful logs 2025-11-25 00:36:29 +01:00
DcruBro
de3ec98363 Added checking of whitelisted keys on server 2025-11-25 00:22:52 +01:00
022debfa5b Fix byte order for sessionid, add 64-bit conversion helpers - damn you C standard for no htonl/ntohl for 64-bit :( 2025-11-22 21:53:45 +01:00
a78b98ac56 rename iptostring 2025-11-18 20:12:45 +01:00
09806c3c0f test 2025-11-14 20:36:19 +01:00
ff81bfed31 Temporary /24 netmask for macOS 2025-11-14 20:29:25 +01:00
2343fdd1e2 htonl in ipToString 2025-11-14 19:25:52 +01:00
3ad98b8403 root permissions check and version counter update 2025-11-13 16:04:39 +01:00
766f878a8d Merge pull request 'Merge tun-test into dev' (#5) from tun-test into dev
Reviewed-on: #5
2025-11-13 14:51:36 +00:00
5a5f830cd9 Change tun interface, change to different name at some point 2025-11-13 15:45:24 +01:00