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
9e5e728438
Merge pull request 'Add legal clarification' ( #3 ) from dev into beta
...
Reviewed-on: #3
2025-11-10 15:58:18 +00:00
a92b9de15d
Add legal clarification
2025-11-10 16:57:57 +01:00
d20bee9e60
Merge pull request 'Update license' ( #1 ) from dev into beta
...
Reviewed-on: #1
2025-11-10 15:15:10 +00:00
d7760d7945
Update license
2025-11-10 16:13:22 +01:00
b3d9ae8909
Update README.md, add heartbeat packets to detect dead or hanging connections.
2025-11-10 15:19:54 +01:00
2cbcf70c56
Added protocol version to TCP header, also some launch args
2025-11-09 02:26:44 +01:00
098afeb4d8
Relatively graceful shutdowns
2025-11-09 01:35:19 +01:00
5312c4205c
Update version (actual)
2025-11-07 22:33:22 +01:00
494ade207c
Update version
2025-11-07 22:32:40 +01:00
5127fe1999
Added basic UDP handling - only sending from client supported.
2025-11-07 21:55:13 +01:00
c7c3b1c54c
Almost finished with the TCP Handshake procedure, need to properly handle disconnects (currently pretty forceful)
2025-11-06 22:32:32 +01:00