fd92c754fc
Add missing headers required for solaris/illumos
2022-01-06 23:06:36 -05:00
0a4455ac40
Add more TLS negotiation info in logging and UI
2021-12-29 17:41:29 +08:00
f94ac6351e
Implement complete server certificate verification
2021-12-29 17:41:29 +08:00
09dd8a8b07
endif UNIX_LINUX before BSD
2021-12-26 16:13:53 +01:00
3c7d78a1bf
Merge branch 'SoftEtherVPN:master' into master
2021-12-26 11:51:55 +01:00
adbbe94675
Merge pull request #1528 from updatede/patch-1
...
Mayaqua/Network.h: Fix UDP acceleration under NAT-T connections
2021-12-26 12:32:48 +08:00
1c1560f6ca
Apply security level override in azure client mode
2021-12-26 12:12:00 +08:00
68dc4e23d8
Improve NAT-T hint string handling
2021-12-26 12:11:51 +08:00
f1b464e84d
fix alpine compile issue.
2021-12-25 21:22:06 +01:00
51585e63e3
Fix server manager setting compatibility since build 9658
2021-12-25 13:25:34 +08:00
73ffa10f50
Fix build error on alpine
2021-12-23 20:59:48 +01:00
0b74a8e4ce
Update Network.h
...
Missing argument check lead to wrong value of IsIPv6 of struct UDP_ACCEL in NewUdpAccel(), eventually lead to UdpAccelInitClient() fail.
2021-12-22 13:19:50 +08:00
fc94843579
Fix the creation of a zero IPv6 address
...
Fix #1517
2021-12-12 20:05:36 +08:00
b91d9af5e3
Mayaqua/DNS: Fix memory safety in DNS operation threads
...
Fix #1329
2021-12-12 20:05:36 +08:00
2a40d21ef9
Merge pull request #1512 from domosekai/he
...
Perform TCP connection via IPv6 and IPv4 in parallel threads
2021-12-11 17:20:12 +08:00
384ab07996
Perform TCP connection attempts via IPv6 and IPv4 in parallel
2021-12-10 16:18:45 +08:00
e6bf956806
Return and cache all addresses from DNS resolver
2021-12-10 16:18:45 +08:00
528f313dbe
Merge pull request #1511 from domosekai/ipstr
...
Fix IPv6 address display in session info dialog
2021-12-09 12:55:10 +08:00
b4aad09f21
Restore R-UDP listener when ListenIP is ::
2021-12-07 21:55:41 +08:00
14f5854ecf
Fix IPv6 address display in session info dialog
2021-12-07 15:48:32 +08:00
b178f26e52
Reduce redundant loop
...
Co-authored-by: Davide Beatrici <github@davidebeatrici.dev >
2021-12-04 16:16:22 +08:00
9692a8d961
Fix DNS resolution when no IPv6 address is configured
2021-12-03 14:18:43 +08:00
2d1c8765aa
Merge pull request #1433 from domosekai/chain
...
Support user-specified server trust chain
2021-11-25 17:15:53 +08:00
8392ccd1fa
Merge pull request #1391 from domosekai/master
2021-11-25 11:09:12 +08:00
03859eb515
Merge pull request #1443 from domosekai/win32
...
Add IPv6 route management for Windows client
2021-09-18 22:12:27 +08:00
ffc095f95a
CMake: Add build time check for EVP_PKEY_get_raw_public_key() availability
...
We need the function since 9dbbfcd388
, but unfortunately it's not provided by LibreSSL.
By introducing a build time check we inform the user about the issue explicitly instead of just letting compilation fail.
2021-08-08 19:29:32 +02:00
ee3bf7f507
fix compilation without OpenSSL engines
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2021-08-07 20:05:04 -07:00
9b3077d955
Store interface metric separately as it mau change
2021-08-02 16:18:37 +08:00
4ddf39e760
Remove obsolete Win32 functions
2021-08-02 16:18:37 +08:00
ce0591d924
Add IPv6 route management for Windows client
2021-08-02 16:18:36 +08:00
9182a9b4e9
Mayaqua/Network.c: Fix race condition in TUBE operation
2021-07-22 11:59:15 +00:00
2761c1ca42
Support user-specified server trust chain
2021-07-21 07:02:42 +00:00
1bb01e55e5
Mayaqua/TcpIp.c: Fix building DHCP static routes in new format
...
Fixes: 1708998
(Change IP structure so that IPv4 addresses are stored in RFC3493 format)
2021-07-14 08:11:05 +00:00
a1dff0f594
Mayaqua/Network.c: Create UDP listener for every interface if ListenIP is wildcard
2021-07-11 16:15:29 +00:00
dfb105c2d7
Fix use-after-free timeout issue for L2TP and SSTP
2021-07-10 16:07:09 +00:00
41b9973c24
Mayaqua/Network.c: Fix L2TP/IPsec over IPv6 when listening on ::
2021-07-07 17:37:06 +00:00
60db1962f9
Merge pull request #1416 from domosekai/listener
...
Fix TCP and UDP listener behavior
2021-07-07 16:08:05 +05:00
6e400c19af
Fix TCP and UDP listener behavior
2021-07-07 10:50:23 +00:00
f2466eb919
Merge pull request #1415 from davidebeatrici/vpncmd-wireguard-keys
...
Cedar/Command: Add GenX25519 and GetPublicX25519 commands
2021-07-07 13:04:13 +05:00
9dbbfcd388
Mayaqua: Add new cryptographic functions for X25519/X448 keys management
...
The files are created in a new folder to keep the source tree tidier.
Please note that only X25519/X448 keys are supported due to an OpenSSL limitation:
https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_new.html
We have functions that handle AES keys in Encrypt.c/.h.
Ideally we should move them into the new files.
2021-07-07 08:11:08 +02:00
4efed994dc
Mayaqua/Network.c: Use int as boolean flags for socket options
2021-07-07 03:07:06 +00:00
883d4d4cd7
Mayaqua/DNS.c: Fix DNS resolution in dual stack environment
2021-07-05 11:10:03 +00:00
233e28f38c
Refactor Base64 functions, encode/decode using OpenSSL's EVP interface
...
Our own implementation works fine, however we should use OpenSSL's one since we already link to the library.
Base64Decode() and Base64Encode() return the required buffer size when "dst" is NULL.
This allows to efficiently allocate a buffer, without wasting memory or risking an overflow.
Base64FromBin() and Base64ToBin() perform all steps, returning a heap-allocated buffer with the data in it.
2021-07-02 09:24:41 +02:00
65bcbc8db3
Mayaqua/Network.c: Fix EAP-TLS chain certificate verification
2021-06-21 14:41:22 +00:00
2923b5500a
Mayaqua/FileIO: Fix typo causing segmentation fault on Hamcore cache expiration
2021-05-26 20:46:21 +02:00
81c71d309a
Read hamcore.se2 using libhamcore, set arbitrary path through HAMCORE_FILE_PATH
2021-05-26 07:44:45 +02:00
f9a1d72ce7
Fix IPv6 Neighbor Discovery for PPP based protocols
2021-05-09 13:55:31 +02:00
2f801f30de
Fix compile errors on OpenBSD
...
- <pthread.h> included for the "pthread_t" type definition.
- <net/ethernet.h> include removed as the header doesn't exist.
- AI_ALL and AI_V4MAPPED defined to 0 as the options don't exist.
2021-05-03 19:58:12 +02:00
c20bcb2e60
Mayaqua/Network: Skip IPv6 nameservers for SecureNAT
2021-04-27 07:30:38 +00:00
cf318d7219
src/Mayaqua/TcpIp.c: remove redundant condition
...
src/Mayaqua/TcpIp.c 4236 warn V560 A part of conditional expression is always true: o2 == NULL.
2021-04-24 12:47:29 +05:00