Ilia Shipitsin
89224e9264
Fix incompatible pointer type warnings in SeLowUser.c
...
Changed the types of `read_size` and `ret_size` from `UINT` to `DWORD` across several functions (`SuOpenAdapter`, `SuEnumAdapters`, `SuGetAdapterList`, and `SuInitEx`) in `SeLowUser.c` to resolve compiler warnings (`-Wincompatible-pointer-types`). The Windows API functions `DeviceIoControl` and `ReadFile` expect an `LPDWORD` (a pointer to an `unsigned long`) for their returned byte count parameters, whereas `UINT` maps to `unsigned int`.
2026-08-29 21:40:44 +02:00
Ilia Shipitsin
7530741414
Fix incompatible pointer type warning in IPsecWin7UpdateHostIPAddressList
...
Changed the type of `retsize` from `UINT` to `DWORD` in `Proto_Win7.c` to resolve a compiler warning (`-Wincompatible-pointer-types`). The Windows API function `WriteFile` expects an `LPDWORD` (a pointer to an `unsigned long`) for its `lpNumberOfBytesWritten` parameter, whereas `UINT` maps to `unsigned int`.
2026-08-29 21:27:39 +02:00
Ilia Shipitsin
ba16ba3a10
Fix incompatible pointer type warning in GetEthAdapterListInternal
...
Changed the type of `size` from `UINT` to `ULONG` in `BridgeWin32.c` to resolve a compiler warning (`-Wincompatible-pointer-types`). The `PacketGetAdapterNames` function expects a `PULONG` (a pointer to an `unsigned long`) for its second parameter, whereas `UINT` maps to `unsigned int`.
2026-08-29 21:15:26 +02:00
Ilia Shipitsin
a820ac7ddc
Fix incompatible pointer type warning in Win32InputFromFileLineA
...
Changed the type of `read_size` from `UINT` to `DWORD` in `Win32.c` to resolve a compiler warning (`-Wincompatible-pointer-types`). The Windows API function `ReadFile` expects an `LPDWORD` (a pointer to an `unsigned long`) for the `lpNumberOfBytesRead` parameter, while `UINT` maps to `unsigned int`.
2026-08-29 21:04:51 +02:00
Ilia Shipitsin
041f39572e
Fix -Wincompatible-pointer-types in Win32Inc32 and Win32Dec32
...
Explicitly cast the `UINT *` pointer to `(volatile LONG *)` before passing it to `InterlockedIncrement` and `InterlockedDecrement` in `src/Mayaqua/Win32.c`.
This resolves a build error where passing a `UINT *` (unsigned int *) was flagged as an incompatible pointer type, because the APIs expect a `volatile LONG *` (volatile long *).
2026-08-23 12:25:27 +02:00
Ilia Shipitsin
adc8f06c02
Fix -Wincompatible-pointer-types in Win32InitThread
...
Change the type of the `thread_id` variable from `DWORD` to `UINT` in `src/Mayaqua/Win32.c`.
This resolves a build error where passing `&thread_id` to `_beginthreadex` was flagged as an incompatible pointer type, because the function expects a pointer to an `unsigned int` rather than a pointer to an `unsigned long` (`DWORD`).
2026-08-23 12:24:09 +02:00
Ilia Shipitsin
78925e2e83
Fix -Wincompatible-pointer-types in Win32SetFolderCompress
...
Change the type of the `retsize` variable from `UINT` to `DWORD` in both `Win32SetFolderCompressW` and `Win32SetFolderCompress` in `src/Mayaqua/Win32.c`.
This resolves a build error where passing `&retsize` to `DeviceIoControl` was flagged as an incompatible pointer type, because the API expects an `LPDWORD` (pointer to `unsigned long`) rather than a pointer to `unsigned int`.
2026-08-23 12:22:22 +02:00
Ilia Shipitsin
9681053dc0
Fix -Wincompatible-pointer-types in Win32GetDnsSuffix
...
Explicitly cast the `IP_ADAPTER_ADDRESSES_XP *` pointer to `PIP_ADAPTER_ADDRESSES` when calling `GetAdaptersAddresses` in `src/Mayaqua/Network.c`.
This resolves build errors with modern Windows SDKs (e.g., 10.0.26100.0) where `PIP_ADAPTER_ADDRESSES` resolves to `IP_ADAPTER_ADDRESSES_LH *`, which compilers like Clang flag as an incompatible pointer type.
2026-08-23 12:07:56 +02:00
Ilya Shipitsin
84069c1238
Merge pull request #2294 from chipitsine/master
...
compat: do not enable OQS on OpenSSL >= 4.0.0
2026-08-22 20:12:01 +02:00
Ilia Shipitsin
2dc42e0400
compat: do not enable OQS on OpenSSL >= 4.0.0
...
OpenSSL 4.0.0 is shipped with MLKEM, no need to add Kyber separately
2026-08-22 20:03:13 +02:00
Ilya Shipitsin
ce4f3c4629
Merge pull request #2293 from chipitsine/master
...
CI: fedora rawhide has switched to openssl4, no engine anymore
2026-08-22 19:44:20 +02:00
Ilia Shipitsin
64816d1e6e
CI: fedora rawhide has switched to openssl4, no engine anymore
2026-08-22 19:30:10 +02:00
Ilya Shipitsin
28564dd188
Merge pull request #2291 from chipitsine/79d56ae5-a85d-4913-87ff-3981f1b5e0ec
...
ci: do not fail on single matrix build failure
2026-08-14 11:33:34 +02:00
Ilia Shipitsin
14517d304d
ci: do not fail on single matrix build failure
2026-08-14 11:22:10 +02:00
Ilya Shipitsin
b1f7ef0004
Merge pull request #2278 from synqa/support-libressl
...
Add CI for LibreSSL and update some API
2026-06-10 16:27:40 +02:00
synqa
bfcb6788a7
Support SSL_get1_supported_ciphers() on LibreSSL above v2.9.1
...
Upstream changed on add79fb32686c1e8baf10def36ae00f8ab91a52b.
2026-06-10 18:09:16 +09:00
synqa
3fda39dc45
Support security level API on LibreSSL above v3.6.0
...
See:
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.0-relnotes.txt
2026-06-10 18:08:36 +09:00
synqa
576a627e60
Rename env_md_st to evp_md_st for LibreSSL above v3.8.1
...
Upstream changed on ccf80370e13df3645f5a40674dded2e94f8cb0e9.
2026-06-10 18:05:40 +09:00
synqa
9d5efa309a
Add CI for LibreSSL
...
When libressl-dev package is installed on Alpine Linux, LibreSSL is used
by default.
2026-06-10 18:05:40 +09:00
Ilya Shipitsin
2f67b3bd69
Merge pull request #2274 from chipitsine/master
...
CI: apply to windows.yml automatical VS detection
2026-06-02 09:49:08 +02:00
Ilia Shipitsin
4c66118bf3
CI: apply to windows.yml automatical VS detection
...
follow up of d9f46760ff
2026-05-31 22:54:20 +02:00
Ilya Shipitsin
d9f46760ff
Merge pull request #2271 from chipitsine/master
...
CI: detect VS version on the fly
2026-05-22 20:54:48 +02:00
Ilia Shipitsin
c7bfb30f2a
CI: detect VS version on the fly
2026-05-22 15:16:52 +02:00
Ilya Shipitsin
597cdab464
Merge pull request #2267 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/fast-uri-3.1.2
...
Bump fast-uri from 3.1.0 to 3.1.2 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-05-09 11:19:03 +02:00
Ilya Shipitsin
7bb19486b8
Merge pull request #2266 from SoftEtherVPN/dependabot/npm_and_yarn/src/bin/hamcore/wwwroot/admin/default/fast-uri-3.1.2
...
Bump fast-uri from 3.1.0 to 3.1.2 in /src/bin/hamcore/wwwroot/admin/default
2026-05-09 08:34:15 +02:00
dependabot[bot]
f67769bb8c
Bump fast-uri
...
Bumps [fast-uri](https://github.com/fastify/fast-uri ) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases )
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2 )
---
updated-dependencies:
- dependency-name: fast-uri
dependency-version: 3.1.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-09 02:18:44 +00:00
dependabot[bot]
50d740a802
Bump fast-uri in /src/bin/hamcore/wwwroot/admin/default
...
Bumps [fast-uri](https://github.com/fastify/fast-uri ) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases )
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2 )
---
updated-dependencies:
- dependency-name: fast-uri
dependency-version: 3.1.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-09 00:31:16 +00:00
Ilya Shipitsin
41c85953c1
Merge pull request #2263 from metalefty/freebsd-ci
...
CI: Switch FreeBSD CI from Cirrus CI to GitHub Actions
2026-04-28 01:23:18 -07:00
Koichiro Iwao
d77c258dac
CI: Run FreeBSD CI via GitHub Acctions
...
Resolves: #2262
2026-04-28 17:01:07 +09:00
Koichiro Iwao
7bb2a6753a
CI: Retire Cirrus CI as the service is shutting down
2026-04-28 16:55:25 +09:00
Ilya Shipitsin
cf559617b1
Merge commit from fork
...
Fix PPP bugs
2026-04-05 16:12:25 +02:00
Evengard
11fa0a4891
Fix PPP bugs
2026-04-05 00:52:10 +03:00
Ilya Shipitsin
193ebdba12
Merge pull request #2255 from SoftEtherVPN/dependabot/npm_and_yarn/src/bin/hamcore/wwwroot/admin/default/multi-0d13b2d87f
...
Bump serialize-javascript and terser-webpack-plugin in /src/bin/hamcore/wwwroot/admin/default
2026-03-29 14:05:48 +02:00
dependabot[bot]
617d668651
Bump serialize-javascript and terser-webpack-plugin
...
Removes [serialize-javascript](https://github.com/yahoo/serialize-javascript ). It's no longer used after updating ancestor dependency [terser-webpack-plugin](https://github.com/webpack/terser-webpack-plugin ). These dependencies need to be updated together.
Removes `serialize-javascript`
Updates `terser-webpack-plugin` from 5.3.16 to 5.4.0
- [Release notes](https://github.com/webpack/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack/terser-webpack-plugin/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webpack/terser-webpack-plugin/compare/v5.3.16...v5.4.0 )
---
updated-dependencies:
- dependency-name: serialize-javascript
dependency-version:
dependency-type: indirect
- dependency-name: terser-webpack-plugin
dependency-version: 5.4.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-29 12:00:59 +00:00
Ilya Shipitsin
a0cbe2daf6
Merge pull request #2175 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/js-yaml-3.14.2
...
Build(deps-dev): Bump js-yaml from 3.13.1 to 3.14.2 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-03-27 12:52:18 +01:00
dependabot[bot]
59f19f1a12
Bump js-yaml
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.13.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.1...3.14.2 )
---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 3.14.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-27 11:43:39 +00:00
Ilya Shipitsin
9fbe3d7488
Merge pull request #2252 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/picomatch-2.3.2
...
Build(deps-dev): Bump picomatch from 2.3.1 to 2.3.2 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-03-26 09:48:38 +01:00
dependabot[bot]
325b76e463
Build(deps-dev): Bump picomatch
...
Bumps [picomatch](https://github.com/micromatch/picomatch ) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-26 08:33:04 +00:00
Ilya Shipitsin
6bbb2b5e07
Merge pull request #2253 from SoftEtherVPN/dependabot/npm_and_yarn/src/bin/hamcore/wwwroot/admin/default/picomatch-2.3.2
...
Build(deps-dev): Bump picomatch from 2.3.1 to 2.3.2 in /src/bin/hamcore/wwwroot/admin/default
2026-03-26 09:31:25 +01:00
dependabot[bot]
98264709fb
Build(deps-dev): Bump picomatch
...
Bumps [picomatch](https://github.com/micromatch/picomatch ) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-25 21:56:45 +00:00
Ilya Shipitsin
427ada239f
Merge pull request #2245 from chipitsine/master
...
update src/libhamcore submodule
2026-03-06 20:58:59 +01:00
Ilia Shipitsin
98940d339d
update src/libhamcore submodule
...
we want to update because of the following improvement
https://github.com/SoftEtherVPN/libhamcore/pull/3
2026-03-06 20:30:35 +01:00
Ilya Shipitsin
7c79333026
Merge pull request #2244 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/minimatch-3.1.5
...
Build(deps-dev): Bump minimatch from 3.1.2 to 3.1.5 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-03-01 10:57:57 +01:00
dependabot[bot]
3f372db86d
Build(deps-dev): Bump minimatch
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.1.2 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-01 08:53:11 +00:00
Ilya Shipitsin
068330b24b
Merge pull request #2243 from SoftEtherVPN/dependabot/npm_and_yarn/src/bin/hamcore/wwwroot/admin/default/minimatch-3.1.5
...
Build(deps-dev): Bump minimatch from 3.1.2 to 3.1.5 in /src/bin/hamcore/wwwroot/admin/default
2026-02-28 08:01:29 +01:00
dependabot[bot]
a0d16dd2e8
Build(deps-dev): Bump minimatch
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.1.2 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-28 03:36:52 +00:00
Ilya Shipitsin
9a42563bbc
Merge pull request #2211 from synqa/add-ci-for-sanitizer
...
Add CI for Sanitizer
2026-02-23 15:11:01 +01:00
synqa
7d86756e72
Add CI for Sanitizer
...
Added Address/Leak/Thread/Undefined Behavior Sanitizer to the CI
workflow. Summary reports are displayed in the Job Summary, while full
logs are available via GitHub Artifacts. Initial verification is
handled by vpntools-check.sh.
2026-02-23 21:51:08 +09:00
Ilya Shipitsin
e247cf0513
Merge pull request #2241 from synqa/suppress-tsan-accept-disconnect
...
Suppress Thread Sanitizer for Accept and Disconnect
2026-02-23 13:46:16 +01:00
synqa
a247e3ecdc
Suppress Thread Sanitizer for Accept and Disconnect
...
Thread Sanitizer reports two data races on CancelAccept and
CallingThread in SOCK, shared between Accept(Accept6) and Disconnect.
These are used when interrupting an Accept operation from a Disconnect.
These races are benign because they work correctly even if both fields
have old values.
2026-02-23 21:32:26 +09:00