forked from OpenVPN/openvpn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NCL-1802 : Upgrade OpenVPN for Sophos Connect Client to 2.6.0
- Loading branch information
Showing
68 changed files
with
1,203 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-20.04] | ||
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04] | ||
sslpkg: [libmbedtls-dev] | ||
ssllib: [mbedtls] | ||
libname: [mbed TLS] | ||
|
@@ -148,6 +148,10 @@ jobs: | |
sslpkg: "libssl-dev" | ||
libname: OpenSSL 1.1.1 | ||
ssllib: openssl | ||
- os: ubuntu-22.04 | ||
sslpkg: "libssl-dev" | ||
libname: OpenSSL 3.0.2 | ||
ssllib: openssl | ||
- os: ubuntu-20.04 | ||
sslpkg: "libssl-dev" | ||
libname: OpenSSL 1.1.1 | ||
|
@@ -220,15 +224,37 @@ jobs: | |
|
||
macos: | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ossl: [ 1.1, 3 ] | ||
build: [ normal, asan ] | ||
include: | ||
- build: asan | ||
cflags: "-fsanitize=address -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno-omit-frame-pointer -g -O1" | ||
ldflags: -fsanitize=address | ||
# Our build system ignores LDFLAGS for plugins | ||
configureflags: --disable-plugin-auth-pam --disable-plugin-down-root | ||
- build: normal | ||
cflags: "-O2 -g" | ||
ldflags: "" | ||
configureflags: "" | ||
|
||
name: "macOS - OpenSSL ${{matrix.ossl}} - ${{matrix.build}}" | ||
env: | ||
CFLAGS: ${{ matrix.cflags }} | ||
LDFLAGS: ${{ matrix.ldflags }} | ||
OPENSSL_CFLAGS: -I/usr/local/opt/openssl@${{matrix.ossl}}/include | ||
OPENSSL_LIBS: "-L/usr/local/opt/openssl@${{matrix.ossl}}/lib -lcrypto -lssl" | ||
steps: | ||
- name: Install dependencies | ||
run: brew install [email protected] openssl@3 lzo lz4 man2html cmocka libtool automake autoconf | ||
- name: Checkout OpenVPN | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: brew install openssl lzo lz4 man2html cmocka libtool automake autoconf | ||
- name: autoconf | ||
run: autoreconf -fvi | ||
- name: configure | ||
run: OPENSSL_CFLAGS=-I/usr/local/opt/[email protected]/include OPENSSL_LIBS="-L/usr/local/opt/[email protected]/lib -lcrypto -lssl" ./configure | ||
run: ./configure ${{matrix.configureflags}} | ||
- name: make all | ||
run: make -j4 | ||
- name: make check | ||
|
@@ -268,19 +294,17 @@ jobs: | |
- name: Install rst2html | ||
run: python -m pip install --upgrade pip rst2html | ||
|
||
- name: Restore artifacts, or run vcpkg, build and cache artifacts | ||
uses: lukka/run-vcpkg@v7.4 | ||
- name: Restore artifacts, or setup vcpkg (do not install any package) | ||
uses: lukka/run-vcpkg@v10 | ||
with: | ||
vcpkgGitCommitId: 'a2fcb03749ff5897b5985092934dc6057680c789' | ||
vcpkgArguments: 'openssl lz4 lzo pkcs11-helper tap-windows6' | ||
vcpkgTriplet: '${{ matrix.triplet }}-windows-ovpn' | ||
cleanAfterBuild: false | ||
vcpkgGitCommitId: '4b766c1cd17205e1b768c4fadfd5f867c1d0510e' | ||
appendedCacheKey: '${{matrix.triplet}}' | ||
|
||
- name: Build | ||
- name: Run MSBuild consuming vcpkg.json | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
vcpkg integrate install | ||
msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform="${{ matrix.plat }}" . | ||
vcpkg integrate install | ||
msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform="${{ matrix.plat }}" . | ||
- name: Archive artifacts | ||
uses: actions/upload-artifact@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,105 @@ | ||
OpenVPN Change Log | ||
Copyright (C) 2002-2022 OpenVPN Inc <[email protected]> | ||
|
||
2023.02.14 -- Version 2.5.9 | ||
|
||
Arne Schwabe (6): | ||
Implement optional cipher in --data-ciphers prefixed with ? | ||
Fix handling an optional invalid cipher at the end of data-ciphers | ||
Ensure that argument to parse_line has always space for final sentinel | ||
Improve documentation on user/password requirement and unicodize function | ||
Remove unused gc_arena | ||
Fix corner case that might lead to leaked file descriptor | ||
|
||
Frank Lichtenheld (1): | ||
msvc: always call git-version.py | ||
|
||
Lev Stipakov (1): | ||
git-version.py: proper support for tags | ||
|
||
Max Fillinger (1): | ||
Check if pkcs11_cert is NULL before freeing it | ||
|
||
Selva Nair (3): | ||
Do not add leading space to pushed options | ||
pull-filter: ignore leading "spaces" in option names | ||
Do not include auth-token in pulled option digest | ||
|
||
|
||
2022.10.27 -- Version 2.5.8 | ||
|
||
Antonio Quartulli (1): | ||
tls-crypt-v2: bail out if the client key is too small | ||
|
||
Arne Schwabe (4): | ||
Remove useless empty line from CR_RESPONSE message | ||
Allow running a default configuration with TLS libraries without BF-CBC | ||
Change command help to match man page and implementation | ||
Fix OpenVPN querying user/password if auth-token with user expires | ||
|
||
Frank Lichtenheld (2): | ||
t_client: Allow to force FAIL on prerequisite fails | ||
t_client.sh: do not require fping6 | ||
|
||
Gert Doering (1): | ||
Preparing release 2.5.8 | ||
|
||
Lev Stipakov (1): | ||
msvc: add branch name and commit hash to version output | ||
|
||
Martin Janů (1): | ||
Update the replay-window backtrack log message | ||
|
||
Selva Nair (5): | ||
Do not skip ERROR:/SUCCESS: response from management interface | ||
Fix auth-token usage with management-def-auth | ||
Allow a few levels of recursion in virtual_output_callback() | ||
Ensure --auth-nocache is handled during renegotiation | ||
Purge auth-token as well while purging passwords | ||
Do not copy auth_token username to itself | ||
|
||
|
||
2022.05.24 -- Version 2.5.7 | ||
|
||
Antonio Quartulli (4): | ||
networking: use OPENVPN_ETH_ALEN instead of ETH_ALEN | ||
networking_iproute2: don't pass M_WARN to openvpn_execve_check() | ||
t_net.sh: delete dummy iface using iproute command | ||
auth-pam.c: add missing include limits.h | ||
|
||
Arne Schwabe (11): | ||
Add insecure tls-cert-profile options | ||
Refactor early initialisation and uninitialisation into methods | ||
Allow loading of non default providers | ||
Add ubuntu 22.04 to Github Actions | ||
Add macos OpenSSL 3.0 and ASAN builds | ||
Add --with-openssl-engine autoconf option (auto|yes|no) | ||
Fix allowing/showing unsupported ciphers and digests | ||
Remove dependency on BF-CBC existance from test_ncp | ||
Add message when decoding PKCS12 file fails. | ||
Translate OpenSSL 3.0 digest names to OpenSSL 1.1 digest names | ||
Fix client-pending-auth error message to say ERROR instead of SUCCESS | ||
|
||
Gert Doering (1): | ||
Preparing release 2.5.7 | ||
|
||
Jan Mikkelsen (1): | ||
cipher-negotiation.rst missing from doc/Makefile.am | ||
|
||
Lev Stipakov (5): | ||
vcpkg-ports\pkcs11-helper: shorten patch filename | ||
msvc: adjust build options to harden binaries | ||
vcpkg-ports: remove openssl port | ||
vcpkg: switch to manifest | ||
Fix M_ERRNO behavior on Windows | ||
|
||
Marc Becker (1): | ||
vcpkg-ports/pkcs11-helper: bump to release 1.29 | ||
|
||
Simon Rozman (1): | ||
tapctl: Resolve MSVC C4996 warnings | ||
|
||
|
||
2022.03.16 -- Version 2.5.6 | ||
|
||
Antonio Quartulli (4): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.