Commit Graph

62 Commits

Author SHA1 Message Date
640a751f9b Merge branch 'dev' into beta - Alpha 0.6
This version adds dynamic IP assignment based on config.
2025-12-02 18:46:28 +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
a08dba5b59 Merge branch 'dev' into beta
This is the merge of version a0.5 into beta.
This version adds general authentication of the client and server, and control of connection via key whitelisting.
Also added loading of keypairs via a config file system.
2025-11-28 19:27:15 +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
4ba59fb23f Merge pull request 'First working alpha, version a0.4.' (#6) from dev into beta
Reviewed-on: #6
2025-11-18 20:07:30 +00: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
b37a999274 Fixed crash trigger on Ctrl+C (errno == EINTR check) 2025-11-13 15:43:46 +01:00
c85f622a60 test2 2025-11-13 15:12:00 +01:00
5c8409b312 Added a basic TUN, testing the implementation. 2025-11-13 08:31:46 +01:00
DcruBro
aebca5cd7e update readme and attributions 2025-11-12 19:20:44 +01:00
6fceb84930 Added basic virtual interface implementation, needs testing. Added Wintun licenses. 2025-11-12 19:14:44 +01:00
DcruBro
5a72895f8d added includes to build on linux 2025-11-12 18:49:53 +01:00
6cd4e01066 cleanup 2025-11-12 16:09:44 +01:00
e695008e10 Added IPv6 support, added option to disable IPv6 (IPv4-Only mode) 2025-11-12 09:07:22 +01:00
fbafeafc9f Added a hostname check if connecting via domain hostname (Not IPv4/IPv6 - IPv6 still not supported / tested). 2025-11-11 17:35:53 +01:00
eda3cf87d1 misc. 2025-11-11 15:26:05 +01:00
705962e5ce Added partial verification of server public key on client side - needs hostname verification. Added startup flag to ignore verification fail. 2025-11-11 13:19:59 +01:00
DcruBro
fd95816721 Update README.md 2025-11-11 00:06:09 +01:00
DcruBro
4b4451d1a9 Refactoring: Moved some code from headers to dedicated source files 2025-11-10 23:19:39 +01:00
DcruBro
9252425bdf Fix licensing printout on start 2025-11-10 21:00:37 +01:00