1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-09-19 18:01:25 +03:00
Commit Graph

2262 Commits

Author SHA1 Message Date
Ilya Shipitsin ca5e697bb0 Merge pull request #2304 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/browserslist-4.28.8
Bump browserslist from 4.28.1 to 4.28.8 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-09-02 23:20:28 +02:00
Ilya Shipitsin 987e2f399f Merge pull request #2303 from SoftEtherVPN/dependabot/npm_and_yarn/src/bin/hamcore/wwwroot/admin/default/fast-uri-3.1.7
Bump fast-uri from 3.1.5 to 3.1.7 in /src/bin/hamcore/wwwroot/admin/default
2026-09-02 23:20:08 +02:00
dependabot[bot] 415281bd07 Bump browserslist
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.28.1 to 4.28.8.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.28.1...4.28.8)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-version: 4.28.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 21:07:23 +00:00
dependabot[bot] 3ba1e6652d Bump fast-uri in /src/bin/hamcore/wwwroot/admin/default
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.5 to 3.1.7.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.5...v3.1.7)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 21:07:22 +00:00
Ilya Shipitsin 7209a3e0e9 Merge pull request #2302 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/fast-uri-3.1.7
Bump fast-uri from 3.1.4 to 3.1.7 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-09-02 23:06:03 +02:00
dependabot[bot] 01357dd792 Bump fast-uri
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.4 to 3.1.7.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.4...v3.1.7)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-02 20:50:31 +00:00
Ilya Shipitsin 700a07cac1 Merge pull request #2286 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/fast-uri-3.1.4
Bump fast-uri from 3.1.2 to 3.1.4 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-08-30 17:16:32 +02:00
Ilya Shipitsin d2a2153a7c Merge pull request #2301 from SoftEtherVPN/dependabot/npm_and_yarn/developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package/brace-expansion-1.1.18
Bump brace-expansion from 1.1.11 to 1.1.18 in /developer_tools/vpnserver-jsonrpc-clients/vpnserver-jsonrpc-client-nodejs-package
2026-08-30 16:57:05 +02:00
dependabot[bot] f4407fb2f5 Bump brace-expansion
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.18.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.18)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-30 14:23:38 +00:00
Ilya Shipitsin eebdf64945 Merge pull request #2288 from SoftEtherVPN/dependabot/npm_and_yarn/src/bin/hamcore/wwwroot/admin/default/fast-uri-3.1.5
Bump fast-uri from 3.1.2 to 3.1.5 in /src/bin/hamcore/wwwroot/admin/default
2026-08-30 16:22:21 +02:00
Ilya Shipitsin 7a7acd23be Merge pull request #2300 from chipitsine/master
ci: pin windows x86 build to windows-2022 image
2026-08-30 13:38:46 +02:00
Ilia Shipitsin 7bb354038f ci: pin windows x86 build to windows-2022 image 2026-08-30 13:11:09 +02:00
Ilya Shipitsin bbd326ba65 Merge pull request #2299 from chipitsine/master
fix build errors in vs2026
2026-08-29 22:29:30 +02:00
Ilia Shipitsin c3f2396344 Fix pointer type warnings and pointer truncation in WinUi.c
- Cast `&t` to `LPCPROPSHEETPAGEW` in `CreatePropertySheetPageW` to fix incompatible pointer type error.
- Use `SendMessageW` instead of custom `SendMsg` for `WM_GETFONT` to avoid truncating the `LRESULT` down to a 32-bit `UINT` before casting to `HFONT`, which previously triggered a `-Wint-to-pointer-cast` warning on 64-bit builds.
- Cast `&srcData` and `&data` (type `UCHAR**`) to `void**` in `CreateDIBSection` calls to resolve incompatible pointer type errors.
2026-08-29 21:53:21 +02:00
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
Ilya Shipitsin c3e505de95 Merge pull request #2298 from realmeylisdev/configure-cpack-macos
configure: select TGZ rather than DEB for CPack on macOS
2026-08-29 10:21:48 +02:00
Ilya Shipitsin c73b10004d Merge pull request #2297 from realmeylisdev/cmake-darwin-system-processor
cmake: fix Darwin cpu_features check testing the wrong variable
2026-08-29 10:20:32 +02:00
Ilya Shipitsin 797a216c40 Merge pull request #2296 from realmeylisdev/macos-openssl-homebrew-prefix
configure: ask brew for the OpenSSL prefix on macOS
2026-08-29 09:57:23 +02:00
Meylis Annagurbanov 26270939d5 configure: select TGZ rather than DEB for CPack on macOS
configure picks the CPack generator by probing for an rpm executable: if
present it selects RPM, otherwise it falls through to DEB. macOS has neither,
so it selects DEB, which is not a meaningful package format there.

Add a Darwin branch selecting TGZ, which always works. An explicit
CPACK_GENERATOR in the environment still takes precedence, so anyone wanting
productbuild or DragNDrop can ask for it.

This only affects 'make package'; ordinary builds never read CPACK_GENERATOR,
which is why macOS CI is unaffected.
2026-08-29 11:06:04 +05:00
Meylis Annagurbanov 874675b00f cmake: fix Darwin cpu_features check testing the wrong variable
The Darwin branch of the cpu_features selection reads:

  elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" AND NOT CMAKE_SYSTEM_NAME MATCHES "^(arm64|x86_64)")

The second condition tests CMAKE_SYSTEM_NAME, which is "Darwin" inside this
branch and so never matches ^(arm64|x86_64), where it plainly means
CMAKE_SYSTEM_PROCESSOR. The NOT is therefore always true, and the branch the
comment says we "should not reach" is the one always taken. The FreeBSD
branch three lines above gets this right.

The effect is currently masked -- macOS has no sys/auxv.h, so the
HAVE_SYS_AUXV branch already defines SKIP_CPU_FEATURES first -- but the
condition is still wrong and should behave as written if that check ever
changes.
2026-08-29 11:06:03 +05:00
Meylis Annagurbanov 9a7d618a60 configure: ask brew for the OpenSSL prefix on macOS
On macOS, configure exports a hardcoded OPENSSL_ROOT_DIR of
/usr/local/opt/openssl/. That is the Homebrew prefix on Intel Macs; on Apple
Silicon Homebrew installs to /opt/homebrew, so the directory does not exist.

Nothing is broken today: CMake's FindOpenSSL treats OPENSSL_ROOT_DIR as a
hint rather than an exclusive search path, so it ignores the dead directory
and finds OpenSSL anyway. The problem is the log line, which confidently
names a path that exists on no Apple Silicon machine and sends anyone
debugging an OpenSSL pickup down a false trail.

Ask brew for the real prefix, preferring openssl@3 and falling back to
openssl, and keep the previous value as a last resort so behaviour is
unchanged where Homebrew is absent.
2026-08-29 11:06:03 +05: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
dependabot[bot] 3b4df69a8e Bump fast-uri in /src/bin/hamcore/wwwroot/admin/default
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.5.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-05 19:04:44 +00:00
dependabot[bot] 7374a26871 Bump fast-uri
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-25 17:41:57 +00: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