Up to [cvs.NetBSD.org] / pkgsrc / net / openvpn
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
openvpn: updated to 2.7.9 2.7.9 Security fixes - win32: restrict loading plugin dependencies (DLLs) to plugin, app and system directories. - win32: run openvpn.exe from the interactive service at "high integrity level", that is, process memory of openvpn.exe and all its threads are protected from tampering. Signals/Events are still permitted. - win32: openvpnserv: strictly filter user-defined environment variables before passing to openvpn.exe (CVE-2026-121720) - win32: openvpnserv: make validation of openvpn command line more robust to invalid-quoting attacks (CVE-2026-115342) - win32: openvpn.exe: change parsing of commandline to use the same function that the interactive service uses (CommandLineToArgvW()) (CVE-2026-115342) Bug fixes - Username/Password parsing from --auth-user-pass file (or inline) left parts of overlong usernames in the password field. Fix. - win32: openvpnserv: fix memory leak for security descriptors - win32: repair logging of errors in Windows tun_read_queue() - win32: avoid accessing uninitialized structure data if GetInterfaceInfo() or GetPerAdapterInfo() fail - win32: openvpnserv: avoid double free() if GetTokenInformation() fails - win32: openvpnserv: avoid potential format-string issue on registry defaults - win32: openvpnserv: repair error reporting on RegGetValueA() failures inside GetItfDnsServersV4() - win32: openvpnserv: fix inet_ntop() return code check in GetItfDnsServersV6(), making it ignore DHCP-provided DNS servers. - route: repair printing of ROUTE_GATEWAY/ROUTE6_GATEWAY info broken by commit 2777cdd3 - the actual gateway handling was correct, just not printing anything anymore. - config: check_file_access: fix --extra-certs access check - win32: tun: free gc arena in windows_set_mtu() (mem leak in error path) - route: close socket in Haiku get_default_gateway() (FD leak) - win32: openvpnserv: skip conversion of empty domain names - win32: cmake+mingw: don't prefix the event message DLL with lib (it was building 'libopenvpnservmsg.dll' instead of 'openvpnservmsg.dll') - win32: pass the buffer size in bytes to get_openvpn_reg_value() - PUSH_UPDATE server: free temporary options after sending message (memleak) User-visible Changes - Linux: set IFF_BACKPRESSURE on Linux (if available) This helps the kernel tun/tap to apply proper prioritization (qdisc etc) to incoming packets if userspace is slow to process them. Without the flag, the kernel would just drop everything. - Management/GUI: Optionally indicate username in >PASSWORD '<UP_TYPE>' prompts If an openvpn config has a username set but no password, and OpenVPN wants to prompt for the password, the GUI could not see the username today and prompted for both. With this change, OpenVPN sends a hint to the management interface, so a GUI can pre-fill the username field, or only prompt for the password. This is only done if the management interface client announces support for it (compatibility level >= 6).
openvpn: updated to 2.7.8 Overview of changes in 2.7.8 Security fixes - Check for NULL-Bytes in certificate subjects - refuse all such certificates now as "invalid" (CVE-2026-84790). - TLS handshake with tls-crypt-v2: do not try to add a wrapped client key if no key material is available (client bug in response to an ill-behaving server). (No CVE assigned as "a malicious server can stop the client from working properly" is not considered a CVE-worthy security issue according to the CRA guidelines) - options: fix unsigned underflow when clearing domain_search_list (CVE-2026-88964) - win32: stop cmd.exe from expanding variables in quoted arguments (CVE-2026-84256) Bug fixes - DCO: remove installed iroutes at client exit time, not at delayed multi instance cleanup time - otherwise there is a race with reconnecting clients, possibly ending up having "no iroutes installed in the system at all". Bug reported by OpenVPN Inc Access Server team. - DCO Linux: fix remaining races between synchronous netlink operations and incoming asynchronous notifications, by adding a second netlink socket and strictly separating sync/async operations. - Client: refuse incoming pushed option combination of epoch data format with non-AEAD ciphers (restart session instead of aborting with a fatal error). - DCO (Linux and Windows): on failures to set up a new peer or install key materials for a peer, do not exit OpenVPN with a fatal error. Instead, signal the error up the call-chain and restart the (multi) instance. The handshake is inherently racy when a peer is removed kernel-side due to transport errors or timeouts, and userland does not yet know this and wants to, for example, install new keys. This is fatal for the particular client instance, but must not end the whole server process. - DCO: stop fetching peer stats during client disconnect The intention of the original code was to ensure reported counters are always correct, but it did not work (because at query time, the peer in kernel is already gone, so we only got an error message) - and very inefficiently so (because we queried all the peers all the time). End-of-session final counter values will be implemented properly by a followup patch leveraging counters piggybacked on the kernel's "DEL_PEER" notification message. - p2mp server: improve handling of mbuf lists in the face of broadcast or multicast traffic, and fix a bug on client exit that could lead to a server queue deadlock in very particular scenarios. User-visible Changes - Certificate validation is now stricter regarding NULL bytes in strings (see above). This might break existing installations if such certificates exist and OpenSSL builds are used. mbedTLS builds always rejected this. - On a certificate with duplicate fields (multiple CN, for example) OpenSSL builds would use the last one, mbedTLS builds use the first one - changed in the mbedTLS build so behaviour is identical. Building/Testing improvements - Github Action maintenance update (mostly: Ubuntu 26.04 and AWS-LC v5.9.0) - work around mingw bug on Ubuntu 26.04 that would flag %zu as invalid printf() specifier, breaking -Werror builds - GHA: explicitly set PKG_CONFIG_PATH for Android builds, build environment dependencies for lz4 are different from host system dependencies - reliable: add unit tests for ACK and backoff DoS hardening Code improvements/general hardening - buffer: make buf_valid() and buf_defined() NULL-safe Documentation improvements - improve auth token related comments in the code - improve documentation for client-kill management command
openvpn: updated to 2.7.7
Overview of changes in 2.7.7
Security fixes
- reliability layer: Avoid unbounded reliable TLS timeout (CVE-2026-84732)
- reliability layer: Ignore acks for packets that cannot be outstanding
(CVE-2026-84732)
- Windows: fix ``CreateProcess()`` command line quoting for characters that
are special to ``cmd.exe`` and where a combination of validation script
plus rogue CA could lead to misbehavior (CVE-2026-84256)
- Windows: fix ``tapctl`` to always call ``netsh.exe`` with full path
(as we do elsewhere) (CVE-2026-84226)
- Windows: don't use NULL DACL with system objects, namely the
``--service`` exit event and the ``netsh.exe`` guard semaphore. The
old approach was prone to a local DoS where one user could interfere
with other users' openvpn processes by blocking the netsh semaphore
or sending events. This only affects setups not using the iservice,
or using the automatic service to start/stop openvpn (CVE-2026-82312).
- Linux Netlink: validate netlink replies against the request
- Windows: fix off-by-one on input validation in openvpnserv
(discovered while fixing CVE-2026-78221)
- Windows: openvpnserv: pass correct NRPT domains size - when IDN domains
with UTF8 encoding were involved, a buffer overread could be achieved
(CVE-2026-78221).
- Windows: harden CheckConfigPath() a bit more
(another improvement while working on CVE-2026-78043)
- Windows: openvpnserv: don't allow '/' in config paths
(the APIs windows uses for path validation do not handle '/' as path
separator, while the file open APIs do, so this could be used to
circumvent our config path validation, leading to openvpn.exe
starting a user-controlled config file even if administatively not
allowed. CVE-2026-78043)
- Windows: dhcp: Fix off-by-one in write_dhcp_search_str() temp buffer guard
(suitable DHCP options could lead to a single-byte overflow of a temp
buffer, CVE-2026-81738)
Bugfixes
- work around a pubkey-handling bug in mbedTLS 4.1.0 and 4.2.0
(supposedly fixed in 4.3.0)
- multi: don't let stale-routes-check delete permanent routes
(the ``--stale-routes-check`` did not delete dynamic cached routes,
but also routes installed by ``--iroute`` and ``--ifconfig-push``
- fix by introducing route flags and restraining the check on them)
- Windows: openvpnserv: fix log lines format string
interface names with international characters printed in some error
messages need to be converted from UTF8 to UCS16 first.
- clinat: do not adjust UDP checksum if zero (as per RFC768)
- OpenSSL: avoid resetting the HMAC key on every packet
- fix format string specifier for size_t (%zu)
- ssl: Do not queue control ciphertext while a packet is still queued
(fixes problems in TCP p2p handshake when both sides try to handshake
at the same time)
- Reenable xmit_hold when using p2p tcp-server and tls-server
(in TCP server mode, the server is not expected to initiate the TLS
handshake - bug introduced by the multisocket code, checking the
wrong variable for socket protocol)
- fix test_misc compile issues with -Werror
User-visible Changes
- when using EPOCH data channel format, reduce number of future keys
from 16 to 4 (calculation was wrong, 4 spare keys are sufficient
for 100+ Gbit/s links, less log spam in userland and less resources
used in in-kernel implementations)
Building/Testing improvements
- clang-format: Convert deprecated setting KeepEmptyLinesAtTheStartOfBlocks
- t_client.sh: various improvements
Documentation improvements
--------------------------
- doc: Update doxygen references to removed tunnel_server_{udp, tcp}()
(those functions do not exist in 2.7+ anymore)
openvpn: updated to 2.7.6 2.7.6 Enable TCP_NODELAY by default and push it to clients options: make 'tun' the default for '--dev' Correctly calculate packet id size when epoch packet format is in use test_tls_crypt: Fix issue with temp file name on big endian systems ssl_pkt: Fix doxygen warning about read_control_auth t_client.sh.in: Do not run resolvectl if systemd is not running test_tls_crypt: Fix test failure on Windows ssl: Ignore hard reset packets with a non-zero packet id mingw: avoid C99 "hh" scanf length modifier interactive: forbid "--setenv opt" in startup data CMake: detect cmocka_version.h via include path, not by linking options: limit ping and keepalive values to one day Make --x509-username-field work with Mbed TLS Remove --providers from --help output for Mbed TLS
openvpn: updated to 2.7.5 2.7.5 mudp: send HMAC reset reply synchronously options: fix use-after-free of DNS options on client connect Ensure pushed tun-mtu is no lower than TUN_MTU_MIN Make get_random return int64 instead of long Clean up metadata handling in tls_crypt_v2_extract_client_key Ensure we only get the session from valid tokens for external-auth Ensure tls-crypt keys are not setup twice dco_freebsd: Add check_malloc_return after realloc Fix some msg() calls with wrong number of arguments in Windows-only code openvpnserv: Address some uninitVariable warnings from cppcheck openvpnserv: Fix memory leak when loading DLLs renovate: Fix typo in regex manager GHA: Maintenance update June 2026 GHA: Switch to using VS 2026 Fix 1-byte buffer overrun on NTLMv2 proxy responses. Fix: port-share and multi-socket interaction Multisocket: use event engine rwflags for UDP I/O openvpnserv: rework ConvertItfDnsDomains and tests socket: assert buffer length before reading prepended sockaddr family win32: fix plugin trusted-dir check prefix bypass openvpnserv: fix DNS SearchList state pollution on (dis)connect dco_linux: allow passing KEEPALIVE_TIMEOUT without KEEPALIVE_INTERVAL Null-terminate tls-crypt client keys when testing Fix tls_wrap_reneg use after free Fix ack_write_buf use after free dco.c: fix argument order in dco_install_key() log string Document --preresolve option doc: clarify that --float only applies to UDP DNS server documentation update dns: Fix memory leak in dns_server_addr_parse
openvpn: updated to 2.7.4 2.7.4 configure: Remove --enable-strict GHA: Maintenance Update April 2026 GHA: Add caching for vcpkg builds dns-scripts: Fix dnssec values in comments and Copyright statement format Fix pkgcs11 vcpkg port installing debug files on release builds Mbed TLS: Error out if we have no valid tls-groups dns: minimalist fix for dnssec setting
openvpn: updated to 2.7.3 2.7.3 Fixup: prompting password from management
openvpn: updated to 2.7.2 2.7.2 Use ASN1_BIT_STRING_get_bit to check for netscape certificate usage Rename key* to privkey* in cert_data.h Add unit test for printing various details of certificates OpenSSL 4.0: Make X509 objects const Do not access internals of ASN1_INTEGER to print hex of serial Try to emphasise the transition from old ovpn-dco to new ovpn module OpenSSL 4.0: Use X509_check_certificate_times instead of X509_cmp_time GHA: Add OpenSSL 4.0 build Ensure that buffer of freed session are not used ssl_openssl: Fix some CRL mixups doc: Remove some explanations for pre-2.3 configurations openvpnmsica: Fix setting of iTicks in schedule_adapter_delete win: Fix nrpt_dnssec flag handling Update --learn-address man page with ipv6 information management: add base64 multi-line input for passwords build: Use info fetched from version.m4 Log when writing username/password to TLS buffer fails Add unit tests for 'auth-user-pass username-only' verify_x509_name: Improve the error message on failure Inlined credentials: read missing password from management interface tls-crypt-v2: Avoid interpreting opcode as part of WKc
openvpn: updated to 2.7.1
2.7.1
Antonio Quartulli (1):
options: drop useless init_gc param for init_options()
Arne Schwabe (12):
Change stream_buf_read_setup_dowork parameter to struct steam_buf
DCO Linux: Fix setting DCO ifmode failing on big endian archs
Merge stream_buf_get_next and stream_buf_set_next
AWS-LC: Add missing return and cast in ssl_tls1_PRF
GHA: Install aws-lc under /opt/aws-lc
Show version and double check we use the right TLS library in Github Actions
Remove unnecessary OpenSSL init and cleanup commands in unit tests
GHA: Cache built crypto libraries
Use openssl_err_t typedef to deal with difference between TLS libraries
Do not support tls_ctx_set_cert_profile on AWS-LC
Use const specifices in extract_x509_field_ssl
Increase default size of internal hash maps to 4 * --max-clients
Frank Lichtenheld (7):
clang-format: Add missing InsertBraces: true
auth-pam: fix discards 'const' qualifier from pointer target type
GHA: Maintenance update February 2026
buffer: Add checked_snprintf function and use it in the code
vcpkg-ports: Review pkcs11-helper port
systemd: Change LimitNPROC to TasksMax and increase limit
ssl_verify_openssl: Clean up extract_x509_extension
Gert Doering (4):
port-share: log incoming connections at verb 3 only
rework all occurrences of 'M_ERR | M_ERRNO'
configure.ac: adjust to native inotify support for FreeBSD 15+
dco_freebsd: use AF_LOCAL sockets for ioctl() communication with DCO driver
Gianmarco De Gregori (1):
socket: restore per-connection lport override over global default
Haixiao Yan (1):
tests: skip test execution when cross-compiling
Heiko Hund (2):
doc: improve Windows-specific options section
doc: fix typo with --ingore-unknown-option
Max Fillinger (1):
Avoid unbounded allocations in pkcs11_mbedtls.c
Ralf Lici (1):
doc: fix client-nat syntax and examples
Rudi Heitbaum (3):
dns: fix discards 'const' qualifier from pointer target type
ntlm: fix discards 'const' qualifier from pointer target type
ssl_verify_openssl: use official ASN1_STRING_ API
Selva Nair (4):
Fixup version command on management interface
Document management client versions
Use USER_PASS_LEN for private key password buffer size
Add an optional username-only flag for auth-user-pass
openvpn: updated to 2.7.0 Highlights of 2.7 Multi-socket support for servers -- Handle multiple addresses/ports/protocols within one server Improved Client support for DNS options Client implementations for Linux/BSD/macOS, included with the default install New client implementation for Windows, adding support for features like split DNS and DNSSEC Architectural improvements on Windows The block-local flag is now enforced with WFP filters Windows network adapters are now generated on demand Windows automatic service now runs as an unpriviledged user Support for server mode in win-dco driver Note: Support for the wintun driver has been removed. win-dco is now the default, tap-windows6 is the fallback solution for use-cases not covered by win-dco. Improved data channel Enforcement of AES-GCM usage limit Epoch data keys and packet format Support for new upstream DCO Linux kernel module This release supports the new ovpn DCO Linux kernel module which will be available in future upstream Linux kernel releases. Backports of the new module to current kernels are available via the ovpn-backports project. Client-side support for new PUSH_UPDATE control-channel message This allows servers to send updates to options like routing and DNS config without triggering a reconnect. PUSH_UPDATE server support (minimal) New management interface commands push-update-broad and push-update-cid to send PUSH_UPDATE option updates. TLS 1.3 support with bleeding-edge mbedTLS versions Support for mbedTLS version 4 Two new environment variables have been introduced to communicate desired default gateway redirection to plugins like Network Manager. Support for Epoch data channel on Windows, using the win-dco driver (2.8.0+) "Recursive Routing" check is now more granular, and will only drop packets-in-tunnel if destination IP, protocol and port matches with those needed to reach the VPN server. COPYING: license details only relevant to our Windows installers have been updated and moved to the openvpn-build repo
openvpn: updated to 2.6.17 Overview of changes in 2.6.17 Bugfixes - Windows/interactive service: fix erroneous exit on error that could be used by a local Windows users to achieve a local denial-of-service (CVE-2025-13751) Security hardening - Windows/interactive service: improve service pipe robustness against file access races (uuid) and access by unauthorized processes (ACL). - upgrade bundled build instruction (vcpkg and patch) for pkcs11-helper to 1.31, fixing a parser bug
net/openvpn*: Update to 2.6.16 This is a bugfix release containing one security fix. Security fixes: * CVE-2025-13086: Fix memcmp check for the hmac verification in the 3way handshake. This bug renders the HMAC based protection against state exhaustion on receiving spoofed TLS handshake packets in the OpenVPN server inefficient.
net/openvpn: Update to 2.6.15 Upstream NEWS: bugfixes
openvpn: updated to 2.6.14 2.6.14 Allow tls-crypt-v2 to be setup only on initial packet of a session GHA: Drop Ubuntu 20.04 and other maintenance (2.6) crypto_backend: fix type of enc parameter Fix compatibility with mbedTLS 2.28.10+ and 3.6.3+ dco: fix source IP selection when multihome
openvpn: updated to 2.6.13
Overview of changes in 2.6.13
=============================
New features
------------
- on non-windows clients (MacOS, Linux, Unix) send "release" string from
uname() call as IV_PLAT_VER= to server - while highly OS specific this
is still helpful to keep track of OS versions used on the client side
- Windows: protect cached username, password and token in client memory
(using the CryptProtectMemory() windows API
- Windows: use new API to get dco-win driver version from driver
(newly introduced non-exclusive control device)
- Linux: pass --timeout=0 argument to systemd-ask-password, to avoid
default timeout of 90 seconds ("console prompting also has no timeout")
Bug fixes
---------
- fix potentially unaligned access in drop_if_recursive_routing on
Linux (ASAN)
- correct documentation for port-share journal
- fix logging of IPv6 addresses in port-share journal
- fix various typos in messages, documentation, comments and examples
- FreeBSD DCO: fix memory leaks in nvlist handling
- route handling: correctly handle case of "route installation fails"
in the face of an already-existing route - previously, OpenVPN would
remove the "other" route on exit, incorrectly changing system state.
- fix generation of warning messages for overlapping --local/--remote
and --ifconfig addresses
- purge proxy authentication credentials from memory after use
(if --auth-nocache is in use)
- fix missing space in various (long and wrapped) msg() calls
Code maintenance
----------------
- improve documentation/examples for <peer-fingerprint> feature
- simplify Github Action macOS build setup
- update Github Action macOS runners (remove macOS 12, add macOS 15)
- fix a number of uninitialized "struct user_pass" local variables
(no impact beyond "compiler warning", but future-proofing the code)
Security fixes
--------------
- improve server-side handling of clients sending usernames or passwords
longer than USER_PASS_LEN - this would not result in a crash, buffer
overflow or other security issues, but the server would then misparse
incoming IV_* variables and produce misleading error messages.
openvpn: updated to 2.6.12 v2.6.12 Bug fixes: the fix for CVE-2024-5594 (refuse control channel messages with nonprintable characters) was too strict, breaking user configurations with AUTH_FAIL messages having trailing CR/NL characters. This often happens if the AUTH_FAIL reason is set by a script. Strip those before testing the command buffer. Also, add unit test. Http-proxy: fix bug preventing proxy credentials caching.
openvpn: updated to 2.6.11 v2.6.11 Security fixes: CVE-2024-4877: Windows: harden interactive service pipe. Security scope: a malicious process with "some" elevated privileges (SeImpersonatePrivilege) could open the pipe a second time, tricking openvn GUI into providing user credentials (tokens), getting full access to the account openvpn-gui.exe runs as. (Zeze with TeamT5) CVE-2024-5594: control channel: refuse control channel messages with nonprintable characters in them. Security scope: a malicious openvpn peer can send garbage to openvpn log, or cause high CPU load. (Reynir Björnsson) CVE-2024-28882: only call schedule_exit() once (on a given peer). Security scope: an authenticated client can make the server "keep the session" even when the server has been told to disconnect this client (Reynir Björnsson) New features: Windows Crypto-API: Implement Windows CA template match for searching certificates in windows crypto store. Support pre-created DCO interface on FreeBSD (OpenVPN would fail to set ifmode p2p/subnet otherwise) Bug fixes: Fix connect timeout when using SOCKS proxies Work around LibreSSL crashing on OpenBSD 7.5 when enumerating ciphers Add bracket in fingerprint message and do not warn about missing verification Documentation: Remove "experimental" denotation for --fast-io Correctly document ifconfig_* variables passed to scripts Documentation: make section levels consistent Samples: Update sample configurations (remove compression & old cipher settings, add more informative comments)
openvpn: updated to 2.6.10
Version 2.6.10
Christoph Schug (1):
Update documentation references in systemd unit files
Frank Lichtenheld (6):
Fix typo --data-cipher-fallback
samples: Remove tls-*.conf
check_compression_settings_valid: Do not test for LZ4 in LZO check
t_client.sh: Allow to skip tests
Update Copyright statements to 2024
GHA: general update March 2024
Lev Stipakov (4):
win32: Enforce loading of plugins from a trusted directory
interactive.c: disable remote access to the service pipe
interactive.c: Fix potential stack overflow issue
Disable DCO if proxy is set via management
Martin Rys (1):
openvpn-[client|server].service: Remove syslog.target
Max Fillinger (1):
Remove license warning from README.mbedtls
Selva Nair (1):
Document that auth-user-pass may be inlined
wellweek (1):
remove repetitive words in documentation and comments
net/openvpn: Update to 2.6.9 Upstream NEWS: bug fixes
net/openvpn: Update to 2.6.8 upstream NEWS: bugfixes
net/openvpn: Update to 2.6.7 Upstream NEWS: Security Fixes: * CVE-2023-46850 OpenVPN versions between 2.6.0 and 2.6.6 incorrectly use a send buffer after it has been free()d in some circumstances, causing some free()d memory to be sent to the peer. All configurations using TLS (e.g. not using --secret) are affected by this issue. (found while tracking down CVE-2023-46849 / Github #400, #417) * CVE-2023-46849 OpenVPN versions between 2.6.0 and 2.6.6 incorrectly restore --fragment configuration in some circumstances, leading to a division by zero when --fragment is used. On platforms where division by zero is fatal, this will cause an OpenVPN crash.(Github #400, #417). User visible changes: * DCO: warn if DATA_V1 packets are sent by the other side - this a hard incompatibility between a 2.6.x client connecting to a 2.4.0-2.4.4 server, and the only fix is to use --disable-dco. * Remove OpenSSL Engine method for loading a key. This had to be removed because the original author did not agree to relicensing the code with the new linking exception added. This was a somewhat obsolete feature anyway as it only worked with OpenSSL 1.x, which is end-of-support. * add warning if p2p NCP client connects to a p2mp server - this is a combination that used to work without cipher negotiation (pre 2.6 on both ends), but would fail in non-obvious ways with 2.6 to 2.6. * add warning to --show-groups that not all supported groups are listed (this is due the internal enumeration in OpenSSL being a bit weird, omitting X448 and X25519 curves). * --dns: remove support for exclude-domains argument (this was a new 2.6 option, with no backend support implemented yet on any platform, and it turns out that no platform supported it at all - so remove option again) * warn user if INFO control message too long, do not forward to management client (safeguard against protocol-violating server implementations) New features: * DCO-WIN: get and log driver version (for easier debugging). * print "peer temporary key details" in TLS handshake * log OpenSSL errors on failure to set certificate, for example if the algorithms used are in acceptable to OpenSSL (misleading message would be printed in cryptoapi / pkcs11 scenarios) * add CMake build system for MinGW and MSVC builds * remove old MSVC build system * improve cmocka unit test building for Windows
net/openvpn: Update to 2.6.6 upstream change summary: New features ------------ - set WINS server via interactive service - this adds support for "dhcp-option WINS 192.0.2.1" for DCO + wintun interfaces where no DHCP server is used (Github #373).
net/openvpn: Update to 2.6.5 Upstream changes are bugfixes and minor improvements
openvpn: updated to 2.6.4 Overview of changes in 2.6.4 User visible changes License amendment: all NEW commits fall under a modified license that explicitly permits linking with Apache2 libraries (mbedTLS, OpenSSL) - see COPYING for details. Existing code will fall under the new license as soon as all contributors have agreed to the change - work ongoing. New features DCO: support kernel-triggered key rotation (avoid IV reuse after 2^32 packets). This is the userland side, accepting a message from kernel, and initiating a TLS renegotiation. As of release, only implemented in FreeBSD kernel. Bug fixes fix pkcs#11 usage with OpenSSL 3.x and PSS signing fix compile error on TARGET_ANDROID fix typo in help text manpage updates (--topology) encoding of non-ASCII windows error messages in log + management fixed (use UTF8 "as for everything else", not ANSI codepages)
openvpn: updated to 2.6.3 Version 2.6.3 GHA: remove Ubuntu 18.04 builds vcpkg: request "tools" feature of openssl for MSVC build doc: run rst2* with --strict to catch warnings Support of DNS domain for DHCP-less drivers Bug-fix: segfault in dco_get_peer_stats()
openvpn: updated to 2.6.2 Overview of changes in 2.6.2 New features implement byte counter statistics for DCO Linux (p2mp server and client) implement byte counter statistics for DCO Windows (client only) '--dns server <n> address ...' now permits up to 8 v4 or v6 addresses fix a few cases of possibly undefined behaviour detected by ASAN add more unit tests for Windows cryptoapi interface Bug fixes sending of AUTH_PENDING and INFO_PRE messages fixed Windows: do not treat "setting IPv6 interface metric failed" as fatal error on "block-dns" install - this can happen if IPv6 is disabled on the interface and is not harmful in itself fix '--inactive' if DCO is in use NOTE: on FreeBSD, this is not working yet (missing per-peer stats) DCO-Linux: do not print errno on netlink errors (errno is not set by NL) SOCKS client: improve error reporting on server disconnects DCO-Linux: fix lockups due to netlink buffer overflows on high client connect/disconnect activity. See "User visible changes" for more details of this. fix some uses of the OpenSSL3 API for non-default providers (enable use of quantum-crypto OpenSSL provider) fix memory leak of approx. 1600 bytes per incoming initial TLS packet fix bug when using ECDSA signatures with OpenSSL 3.0.x and pkcs11-helper (data format conversion was not done properly) fix 'make distcheck' - unexpected side effect of 'subdir-objects' fix ASSERT() with dynamic tls-crypt and --tls-crypt-v2 User visible changes print (kernel) DCO version on startup - helpful for getting a more complete picture of the environment in use. New control packets flow for data channel offloading on Linux. 2.6.2+ changes the way OpenVPN control packets are handled on Linux when DCO is active, fixing the lockups observed with 2.6.0/2.6.1 under high client connect/disconnect activity. This is an INCOMPATIBLE change and therefore an ovpn-dco kernel module older than v0.2.20230323 (commit ID 726fdfe0fa21) will not work anymore and must be upgraded. The kernel module was renamed to "ovpn-dco-v2.ko" in order to highlight this change and ensure that users and userspace software could easily understand which version is loaded. Attempting to use the old ovpn-dco with 2.6.2+ will lead to disabling DCO at runtime. The client-pending-auth management command now requires also the key id. The management version has been changed to 5 to indicate this change. A client will now refuse a connection if pushed compression settings will contradict the setting of allow-compression as this almost always results in a non-working connection.
openvpn: updated to 2.6.1 Overview of changes in 2.6.1 New features Dynamic TLS Crypt When both peers are OpenVPN 2.6.1+, OpenVPN will dynamically create a tls-crypt key that is used for renegotiation. This ensure that only the previously authenticated peer can do trigger renegotiation and complete renegotiations. CryptoAPI (Windows): support issuer name as a selector. Certificate selection string can now specify a partial issuer name string as "--cryptoapicert ISSUER:<string>" where <string> is matched as a substring of the issuer (CA) name in the certificate. User visible changes on crypto initialization, move old "quite verbose" messages to --verb 4 and only print a more compact summary about crypto and timing parameters by default configure now enables DCO build by default on FreeBSD and Linux, which brings in a default dependency for libnl-genl (for Linux distributions that are too old to have this library, use "configure --disable-dco") make "configure --help" output more consistent CryptoAPI (Windows): remove support code for OpenSSL before 3.0.1 (this will not affect official OpenVPN for Windows installers, as they will always be built with OpenSSL 3.0.x) CryptoAPI (Windows): log the selected certificate's name "configure" now uses "subdir-objects", for automake >= 1.16 (less warnings for recent-enough automake versions, will change the way .o files are created) Bugfixes / minor improvements fixed old IPv6 ifconfig race condition for FreeBSD 12.4 fix compile-time breakage related to DCO defines on FreeBSD 14 enforce minimum packet size for "--fragment" (avoid division by zero) some alignment fixes to avoid unaligned memory accesses, which will bring problems on some architectures (Sparc64, some ARM versions) - found by USAN clang checker windows source code fixes to reduce number of compile time warnings (eventual goal is to be able to compile with -Werror on MinGW), mostly related to signed/unsigned char * conversions, printf() format specifiers and unused variables. avoid endless loop on logging with --management + --verb 6+ build (but not run) unit tests on MinGW cross compiles, and run them when building with GitHub Actions. add unit test for parts of cryptoapi.c add debug logging to help with diagnosing windows driver selection disable DCO if proxy config is set via management interface do not crash on Android if run without --management improve documentation about cipher negotiation and OpenVPN3 for x86 windows builds, use proper calling conventions for dco-win (__stdcall) differentiate "dhcp-option ..." options into "needs an interface with true DHCP service" (tap-windows) and "can also be installed by IPAPI or service, and can be used on non-DHCP interfaces" (wintun, dco-win) windows interactive service: fix possible double-free if "--block-dns" installation fails due to "security products" interfering "make dist": package ovpn_dco_freebsd.h to permit building from tarballs on FreeBSD 14
openvpn: updated to 2.5.8
Overview of changes in 2.5.8
New features
allow running a default configuration with TLS libraries without BF-CBC (even if TLS cipher negotiation would not actually use BF-CBC, the long-term compatibility "default cipher BF-CBC" would trigger an error on such TLS libraries)
User-visible Changes
add git branch name + commit ID to OpenVPN version string on MSVC builds (windows)
Testing Enhancements
t_client.sh: if fping is found and fping6 is not, assume we have fping 4.0 and up, and call "fping -6" for IPv6 ping tests
t_client.sh: allow to force FAIL on prerequisite fails, so a CI environment will no longer "silently skip" t_client runs if fping (etc) can not be found, but will error out
Bugfixes
``--auth-nocache'' was not always correctly clearing username+password after a renegotiation
ensure that auth-token received from server is cleared if requested by the management interface ("forget password" or automatically via ``--management-forget-disconnect'')
in a setup without username+password, but with auth-token and auth-token-username pushed by the server, OpenVPN would start asking for username+password on token expiry. Fix.
using --auth-token together with --management-client-auth (on the server) would lead to TLS keys getting out of sync and client being disconnected. Fix.
management interface would sometimes get stuck if client and server try to write something simultaneously. Fix by allowing a limited level of recursion in virtual_output_callback()
fix management interface not returning ERROR:/SUCCESS: response on "signal SIGxxx" commands when in HOLD state
tls-crypt-v2: abort connection if client-key is too short
make man page agree with actual code on replay-window backtrag log message
remove useless empty line from CR_RESPONSE message
openvpn*: Update to 2.5.7 Upstream changes: bugfixes
openvpn: updated to 2.5.6
OpenVPN 2.5.6.
This is mostly a bugfix release including one security fix ("Disallow multiple deferred authentication plug-ins.", CVE: 2022-0547).
openvpn: updated to 2.5.5
Overview of changes in 2.5.5
============================
User-visible Changes
--------------------
- SWEET32/64bit cipher deprecation change was postponed to 2.7
- Windows: use network address for emulated DHCP server as default
this enables use of a /30 subnet, which is needed when connecting
to OpenVPN Cloud.
- require EC support in windows builds
(this means it's no longer possible to build a Windows OpenVPN binary
with an OpenSSL lib without EC support)
New features
------------
- Windows build: use CFG and Spectre mitigations on MSVC builds
- bring back OpenSSL config loading to Windows builds.
OpenSSL config is loaded from %installdir%\SSL\openssl.cfg
(typically: c:\program files\openvpn\SSL\openssl.cfg) if it exists.
This is important for some hardware tokens which need special
OpenSSL config for correct operation.
Bugfixes
--------
- Windows build: enable EKM
- Windows build: improve various vcpkg related build issues
- Windows build: fix regression related to non-writeable status files
- Windows build: fix regression that broke OpenSSL EC support
- Windows build: fix "product version" display (2.5..4 -> 2.5.4)
- Windows build: fix regression preventing use of PKCS12 files
- improve "make check" to notice if "openvpn --show-cipher" crashes
- improve argv unit tests
- ensure unit tests work with mbedTLS builds without BF-CBC ciphers
- include "--push-remove" in the output of "openvpn --help"
- fix error in iptables syntax in example firewall.sh script
- fix "resolvconf -p" invocation in example "up" script
- fix "common_name" environment for script calls when
"--username-as-common-name" is in effect
Documentation
-------------
- move "push-peer-info" documentation from "server options" to "client"
(where it belongs)
- correct "foreign_option_{n}" typo in manpage
- update IRC information in CONTRIBUTING.rst (libera.chat)
- README.down-root: fix plugin module name
openvpn: updated to 2.5.4 Overview of changes in 2.5.4 ============================ Bugfixes -------- - fix prompting for password on windows console if stderr redirection is in use - this breaks 2.5.x on Win11/ARM, and might also break on Win11/adm64 when released. - fix setting MAC address on TAP adapters (--lladdr) to use sitnl (was overlooked, and still used "ifconfig" calls) - various improvements for man page building (rst2man/rst2html etc) - minor bugfix with IN6_IS_ADDR_UNSPECIFIED() use (breaks build on at least one platform strictly checking this) - fix minor memory leak under certain conditions in add_route() and add_route_ipv6() User-visible Changes -------------------- - documentation improvements - copyright updates where needed - better error reporting when win32 console access fails New features ------------ - also build man page on Windows builds
openvpn: updated to 2.5.3 Version 2.5.3 * Add missing free_key_ctx for auth_token * Add github actions * Implement auth-token-user * Update copyrights * openvpnmsica: properly schedule reboot in the end of installation * msvc: add ARM64 configuration * msvc: standalone building * contrib/vcpkg-ports: add pkcs11-helper port * vcpkg-ports: restore trailing whitespaces in .patch files * GitHub actions: add MSVC build * crypto_openssl.c: disable explicit initialization on Windows (CVE-2121-3606) * contrib/vcpkg-ports: add openssl port with --no-autoload-config option set (CVE-2121-3606) * Fix SIGSEGV (NULL deref) receiving push "echo" * Fix build with mbedtls w/o SSL renegotiation support * Improve documentation of AUTH_PENDING related directives * Apply the connect-retry backoff to only one side of a connection
openvpn: updated to 2.5.2 The OpenVPN community project team is proud to release OpenVPN 2.5.2. It fixes two related security vulnerabilities (CVE-2020-15078) which under very specific circumstances allow tricking a server using delayed authentication (plugin or management) into returning a PUSH_REPLY before the AUTH_FAILED message, which can possibly be used to gather information about a VPN setup. In combination with “–auth-gen-token” or a user-specific token auth solution it can be possible to get access to a VPN with an otherwise-invalid account. OpenVPN 2.5.2 also includes other bug fixes and improvements. Updated OpenSSL and OpenVPN GUI are included in Windows installers.
openvpn: updated to 2.5.1 Version 2.5.1 * Fix auth-token not being updated if auth-nocache is set * Remove auth_user_pass.wait_for_push variable * Fix port-share option with TLS-Crypt v2 * Zero initialise msghdr prior to calling sendmesg * Fix tls-auth mismatch OCC message when tls-cryptv2 is used. * build: Fix missing install of man page in certain environments * Fix too early argv freeing when registering DNS * Remove 1 second delay before running netsh * Skip DHCP renew with Wintun adapter * Change travis build scripts to use https when fetching prerequisites. * Fix line number reporting on config file errors after <inline> segments * Clarify --block-ipv6 intent and direction. * Document common uses of 'echo' directive, re-enable logging for 'echo'. * Make OPENVPN_PLUGIN_ENABLE_PF failures FATAL * clean up / rewrite sample-plugins/defer/simple.c * Fix naming error in sample-plugins/defer/simple.c * Documentation fixes around openvpn_plugin_func_v3 in openvpn-plugin.h.in * Update openvpn_plugin_func_v2 to _v3 in sample-plugins/defer/simple.c * More explicit versioning compatibility in sample-plugins/defer/simple.c * Explain structver usage in sample defer plugin. * Man page sections corrections * Quote the domain name argument passed to the wmic command * tls-crypt-v2: fix server memory leak * tls-crypt-v2: also preload tls-crypt-v2 keys (if --persist-key)
openvpn: updated to 2.5.0
Overview of changes in 2.5
==========================
New features
------------
Client-specific tls-crypt keys (``--tls-crypt-v2``)
``tls-crypt-v2`` adds the ability to supply each client with a unique
tls-crypt key. This allows large organisations and VPN providers to profit
from the same DoS and TLS stack protection that small deployments can
already achieve using ``tls-auth`` or ``tls-crypt``.
ChaCha20-Poly1305 cipher support
Added support for using the ChaCha20-Poly1305 cipher in the OpenVPN data
channel.
Improved Data channel cipher negotiation
The option ``ncp-ciphers`` has been renamed to ``data-ciphers``.
The old name is still accepted. The change in name signals that
``data-ciphers`` is the preferred way to configure data channel
ciphers and the data prefix is chosen to avoid the ambiguity that
exists with ``--cipher`` for the data cipher and ``tls-cipher``
for the TLS ciphers.
OpenVPN clients will now signal all supported ciphers from the
``data-ciphers`` option to the server via ``IV_CIPHERS``. OpenVPN
servers will select the first common cipher from the ``data-ciphers``
list instead of blindly pushing the first cipher of the list. This
allows to use a configuration like
``data-ciphers ChaCha20-Poly1305:AES-256-GCM`` on the server that
prefers ChaCha20-Poly1305 but uses it only if the client supports it.
See the data channel negotiation section in the manual for more details.
Removal of BF-CBC support in default configuration:
By default OpenVPN 2.5 will only accept AES-256-GCM and AES-128-GCM as
data ciphers. OpenVPN 2.4 allows AES-256-GCM,AES-128-GCM and BF-CBC when
no --cipher and --ncp-ciphers options are present. Accepting BF-CBC can be
enabled by adding
data-ciphers AES-256-GCM:AES-128-GCM:BF-CBC
and when you need to support very old peers also
data-ciphers-fallback BF-CBC
To offer backwards compatibility with older configs an *explicit*
cipher BF-CBC
in the configuration will be automatically translated into adding BF-CBC
to the data-ciphers option and setting data-ciphers-fallback to BF-CBC
(as in the example commands above). We strongly recommend to switching
away from BF-CBC to a more secure cipher.
Asynchronous (deferred) authentication support for auth-pam plugin.
See src/plugins/auth-pam/README.auth-pam for details.
Deferred client-connect
The ``--client-connect`` option and the connect plugin API allow
asynchronous/deferred return of the configuration file in the same way
as the auth-plugin.
Faster connection setup
A client will signal in the ``IV_PROTO`` variable that it is in pull
mode. This allows the server to push the configuration options to
the client without waiting for a ``PULL_REQUEST`` message. The feature
is automatically enabled if both client and server support it and
significantly reduces the connection setup time by avoiding one
extra packet round-trip and 1s of internal event delays.
Netlink support
On Linux, if configured without ``--enable-iproute2``, configuring IP
addresses and adding/removing routes is now done via the netlink(3)
kernel interface. This is much faster than calling ``ifconfig`` or
``route`` and also enables OpenVPN to run with less privileges.
If configured with --enable-iproute2, the ``ip`` command is used
(as in 2.4). Support for ``ifconfig`` and ``route`` is gone.
Wintun support
On Windows, OpenVPN can now use ``wintun`` devices. They are faster
than the traditional ``tap9`` tun/tap devices, but do not provide
``--dev tap`` mode - so the official installers contain both. To use
a wintun device, add ``--windows-driver wintun`` to your config
(and use of the interactive service is required as wintun needs
SYSTEM privileges to enable access).
IPv6-only operation
It is now possible to have only IPv6 addresses inside the VPN tunnel,
and IPv6-only address pools (2.4 always required IPv4 config/pools
and IPv6 was the "optional extra").
Improved Windows 10 detection
Correctly log OS on Windows 10 now.
Linux VRF support
Using the new ``--bind-dev`` option, the OpenVPN outside socket can
now be put into a Linux VRF. See the "Virtual Routing and Forwarding"
documentation in the man page.
TLS 1.3 support
TLS 1.3 support has been added to OpenVPN. Currently, this requires
OpenSSL 1.1.1+.
The options ``--tls-ciphersuites`` and ``--tls-groups`` have been
added to fine tune TLS protocol options. Most of the improvements
were also backported to OpenVPN 2.4 as part of the maintainance
releases.
Support setting DHCP search domain
A new option ``--dhcp-option DOMAIN-SEARCH my.example.com`` has been
defined, and Windows support for it is implemented (tun/tap only, no
wintun support yet). Other platforms need to support this via ``--up``
script (Linux) or GUI (OSX/Tunnelblick).
per-client changing of ``--data-ciphers`` or ``data-ciphers-fallback``
from client-connect script/dir (NOTE: this only changes preference of
ciphers for NCP, but can not override what the client announces as
"willing to accept")
Handle setting of tun/tap interface MTU on Windows
If IPv6 is in use, MTU must be >= 1280 (Windows enforces IETF requirements)
Add support for OpenSSL engines to access private key material (like TPM).
HMAC based auth-token support
The ``--auth-gen-token`` support has been improved and now generates HMAC
based user token. If the optional ``--auth-gen-token-secret`` option is
used clients will be able to seamlessly reconnect to a different server
using the same secret file or to the same server after a server restart.
Improved support for pending authentication
The protocol has been enhanced to be able to signal that
the authentication should use a secondary authentication
via web (like SAML) or a two factor authentication without
disconnecting the OpenVPN session with AUTH_FAILED. The
session will instead be stay in a authenticated state and
wait for the second factor authentication to complete.
This feature currently requires usage of the managent interface
on both client and server side. See the `management-notes.txt`
``client-pending-auth`` and ``cr-response`` commands for more
details.
VLAN support
OpenVPN servers in TAP mode can now use 802.1q tagged VLANs
on the TAP interface to separate clients into different groups
that can then be handled differently (different subnets / DHCP,
firewall zones, ...) further down the network. See the new
options ``--vlan-tagging``, ``--vlan-accept``, ``--vlan-pvid``.
802.1q tagging on the client side TAP interface is not handled
today (= tags are just forwarded transparently to the server).
Support building of .msi installers for Windows
Allow unicode search string in ``--cryptoapicert`` option (Windows)
Support IPv4 configs with /31 netmasks now
(By no longer trying to configure ``broadcast x.x.x.x'' in
ifconfig calls, /31 support "just works")
New option ``--block-ipv6`` to reject all IPv6 packets (ICMPv6)
this is useful if the VPN service has no IPv6, but the clients
might have (LAN), to avoid client connections to IPv6-enabled
servers leaking "around" the IPv4-only VPN.
``--ifconfig-ipv6`` and ``--ifconfig-ipv6-push`` will now accept
hostnames and do a DNS lookup to get the IPv6 address to use
Deprecated features
-------------------
For an up-to-date list of all deprecated options, see this wiki page:
https://community.openvpn.net/openvpn/wiki/DeprecatedOptions
- ``ncp-disable`` has been deprecated
With the improved and matured data channel cipher negotiation, the use
of ``ncp-disable`` should not be necessary anymore.
- ``inetd`` has been deprecated
This is a very limited and not-well-tested way to run OpenVPN, on TCP
and TAP mode only, which complicates the code quite a bit for little gain.
To be removed in OpenVPN 2.6 (unless users protest).
- ``no-iv`` has been removed
This option was made into a NOOP option with OpenVPN 2.4. This has now
been completely removed.
- ``--client-cert-not-required`` has been removed
This option will now cause server configurations to not start. Use
``--verify-client-cert none`` instead.
- ``--ifconfig-pool-linear`` has been removed
This option is removed. Use ``--topology p2p`` or ``--topology subnet``
instead.
- ``--compress xxx`` is considered risky and is warned against, see below.
- ``--key-method 1`` has been removed
User-visible Changes
--------------------
- If multiple connect handlers are used (client-connect, ccd, connect
plugin) and one of the handler succeeds but a subsequent fails, the
client-disconnect-script is now called immediately. Previously it
was called, when the VPN session was terminated.
- Support for building with OpenSSL 1.0.1 has been removed. The minimum
supported OpenSSL version is now 1.0.2.
- The GET_CONFIG management state is omitted if the server pushes
the client configuration almost immediately as result of the
faster connection setup feature.
- ``--compress`` is nowadays considered risky, because attacks exist
leveraging compression-inside-crypto to reveal plaintext (VORACLE). So
by default, ``--compress xxx`` will now accept incoming compressed
packets (for compatibility with peers that have not been upgraded yet),
but will not use compression outgoing packets. This can be controlled with
the new option ``--allow-compression yes|no|asym``.
- Stop changing ``--txlen`` aways from OS defaults unless explicitly specified
in config file. OS defaults nowadays are actually larger then what we used
to configure, so our defaults sometimes caused packet drops = bad performance.
- remove ``--writepid`` pid file on exit now
- plugin-auth-pam now logs via OpenVPN logging method, no longer to stderr
(this means you'll have log messages in syslog or openvpn log file now)
- use ISO 8601 time format for file based logging now (YYYY-MM-DD hh:mm:dd)
(syslog is not affected, nor is ``--machine-readable-output``)
- ``--clr-verify`` now loads all CRLs if more than one CRL is in the same
file (OpenSSL backend only, mbedTLS always did that)
- when ``--auth-user-pass file`` has no password, and the management interface
is active, query management interface (instead of trying console query,
which does not work on windows)
- skip expired certificates in Windows certificate store (``--cryptoapicert``)
- ``--socks-proxy`` + ``--proto udp*`` will now allways use IPv4, even if
IPv6 is requested and available. Our SOCKS code does not handle IPv6+UDP,
and before that change it would just fail in non-obvious ways.
- TCP listen() backlog queue is now set to 32 - this helps TCP servers that
receive lots of "invalid" connects by TCP port scanners
- do no longer print OCC warnings ("option mismatch") about ``key-method``,
``keydir``, ``tls-auth`` and ``cipher`` - these are either gone now, or
negotiated, and the warnings do not serve a useful purpose.
- ``dhcp-option DNS`` and ``dhcp-option DNS6`` are now treated identically
(= both accept an IPv4 or IPv6 address for the nameserver)
Maintainer-visible changes
--------------------------
- the man page is now in maintained in .rst format, so building the openvpn.8
manpage from a git checkout now requires python-docutils (if this is missing,
the manpage will not be built - which is not considered an error generally,
but for package builders or ``make distcheck`` it is). Release tarballs
contain the openvpn.8 file, so unless some .rst is changed, doc-utils are
not needed for building.
- OCC support can no longer be disabled
- AEAD support is now required in the crypto library
- ``--disable-server`` has been removed from configure (so it is no longer
possible to build a client-/p2p-only OpenVPN binary) - the saving in code
size no longer outweighs the extra maintenance effort.
- ``--enable-iproute2`` will disable netlink(3) support, so maybe remove
that from package building configs (see above)
- support building with MSVC 2019
- cmocka based unit tests are now only run if cmocka is installed externally
(2.4 used to ship a local git submodule which was painful to maintain)
- ``--disable-crypto`` configure option has been removed. OpenVPN is now always
built with crypto support, which makes the code much easier to maintain.
This does not affect ``--cipher none`` to do a tunnel without encryption.
- ``--disable-multi`` configure option has been removed
openvpn: updated to 2.4.9 OpenVPN 2.4.9 * socks: use the right function when printing struct openvpn_sockaddr * Fetch OpenSSL versions via source/old links * Fix OpenSSL error stack handling of tls_ctx_add_extra_certs * Fix OpenSSL 1.1.1 not using auto elliptic curve selection * Fix broken fragmentation logic when using NCP * Fix building with --enable-async-push in FreeBSD * Fix broken async push with NCP is used * Fix illegal client float (CVE-2020-11810) * OpenSSL: Fix --crl-verify not loading multiple CRLs in one file * Fix OpenSSL private key passphrase notices * Swap the order of checks for validating interactive service user * Move querying username/password from management interface to a function * When auth-user-pass file has no password query the management interface (if available). * Fix possibly uninitialized return value in GetOpenvpnSettings() * Fix possible access of uninitialized pipe handles * Skip expired certificates in Windows certificate store * Allow unicode search string in --cryptoapicert option * mbedTLS: Make sure TLS session survives move * docs: Add reference to X509_LOOKUP_hash_dir(3)
openvpn: updated to 2.4.8 Version 2.4.8 This is primarily a maintenance release with minor bugfixes and improvements. New features Support compiling with OpenSSL 1.1 without deprecated APIs handle PSS padding in cryptoapicert (necessary for TLS >= 1.2) User visible changes do not abort when hitting the combination of "--pull-filter" and "--mode server" (this got hit when starting OpenVPN servers using the windows GUI which installs a pull-filter to force ip-win32) increase listen() backlog queue to 32 (improve response behaviour on openvpn servers using TCP that get portscanned) fix and enhance documentation (INSTALL, man page, ...) Bug fixes the combination "IPv6 and proto UDP and SOCKS proxy" did not work - as a workaround, force IPv4 in this case until a full implementation for IPv6-UDP-SOCKS can be made. fix IPv6 routes on tap interfaces on OpenSolaris/OpenIndiana fix building with LibreSSL do not set pkcs11-helper 'safe fork mode' (should fix PIN querying in systemd environments) repair windows builds repair Darwin builds (remove -no-cpp-precomp flag)
net: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
openvpn: updated to 2.4.7 OpenVPN 2.4.7 - Fix subnet topology on NetBSD (2.4). - add support for %lu in argv_printf and prevent ASSERT - buffer_list: add functions documentation - ifconfig-ipv6(-push): allow using hostnames - Properly free tuntap struct on android when emulating persist-tun - Add OpenSSL compat definition for RSA_meth_set_sign - Add support for tls-ciphersuites for TLS 1.3 - Add better support for showing TLS 1.3 ciphersuites in --show-tls - Use right function to set TLS1.3 restrictions in show-tls - Add message explaining early TLS client hello failure - Fallback to password authentication when auth-token fails - systemd: extend CapabilityBoundingSet for auth_pam - plugin: Export base64 encode and decode functions - Add %d, %u and %lu tests to test_argv unit tests. - Fix combination of --dev tap and --topology subnet across multiple platforms. - Add 'printing of port number' to mroute_addr_print_ex() for v4-mapped v6. - preparing release v2.4.7 (ChangeLog, version.m4, Changes.rst) - Minor reliability layer documentation fixes - Resolves small IV_GUI_VER typo in the documentation. - Clarify and expand management interface documentation - Refactor NCP-negotiable options handling - init.c: refine functions names and description - interactive.c: fix usage of potentially uninitialized variable - options.c: fix broken unary minus usage - Remove extra token after #endif - Fix error message when using RHEL init script - man: correct a --redirection-gateway option flag - Replace M_DEBUG with D_LOW as the former is too verbose - Correct the declaration of handle in 'struct openvpn_plugin_args_open_return' - Bump version of openvpn plugin argument structs to 5 - Move get system directory to a separate function - Enable dhcp on tap adapter using interactive service - Pass the hash without the DigestInfo header to NCryptSignHash() - White-list pull-filter and script-security in interactive service - Add Interactive Service developer documentation - Detect TAP interfaces with root-enumerated hardware ID - man: add security considerations to --compress section - mbedtls: print warning if random personalisation fails - Fix memory leak after sighup - travis: add OpenSSL 1.1 Windows build - Fix --disable-crypto build - Don't print OCC warnings about 'key-method', 'keydir' and 'tls-auth' - buffer_list_aggregate_separator(): simplify code
openvpn: 2.4.6 OpenVPN 2.4.6 management: Warn if TCP port is used without password Correct version in ChangeLog - should be 2.4.5, was mistyped as 2.4.4 Fix potential double-free() in Interactive Service (CVE-2018-9336) preparing release v2.4.6 (ChangeLog, version.m4, Changes.rst) manpage: improve description of --status and --status-version Make return code external tls key match docs Delete the IPv6 route to the "connected" network on tun close Management: warn about password only when the option is in use Avoid overflow in wakeup time computation Add missing #ifdef SSL_OP_NO_TLSv1_1/2 Check for more data in control channel
openvpn: updated to 2.4.5
OpenVPN 2.4.5:
reload HTTP proxy credentials when moving to the next connection profile
Allow learning iroutes with network made up of all 0s (only if netbits < 8)
mbedtls: fix typ0 in comment
manpage: fix simple typ0
Treat dhcp-option DNS6 and DNS identical
show the right string for key-direction
Fix typo in error message: "optione" -> "option"
lz4: Fix confused version check
lz4: Fix broken builds when pkg-config is not present but system library is
Remove references to keychain-mcd in Changes.rst
lz4: Rebase compat-lz4 against upstream v1.7.5
systemd: Add and ship README.systemd
Update copyright to include 2018 plus company name change
man: Add .TQ groff support macro
man: Reword --management to prefer unix sockets over TCP
OpenSSL: check EVP_PKEY key types before returning the pkey
Remove warning on pushed tun-ipv6 option.
Fix removal of on-link prefix on windows with netsh
travis-ci: add brew cache, remove ccache
travis-ci: modify openssl build script to support openssl-1.1.0
autoconf: Fix engine checks for openssl 1.1
Cast time_t to long long in order to print it.
Fix build with LibreSSL
Check whether in pull_mode before warning about previous connection blocks
Avoid illegal memory access when malformed data is read from the pipe
Fix missing check for return value of malloc'd buffer
Return NULL if GetAdaptersInfo fails
Use RSA_meth_free instead of free
Bring cryptoapi.c upto speed with openssl 1.1
Add SSL_CTX_get_max_proto_version() not in openssl 1.0
TLS v1.2 support for cryptoapicert -- RSA only
Refactor get_interface_metric to return metric and auto flag separately
Ensure strings read from registry are null-terminated
Make most registry values optional
Use lowest metric interface when multiple interfaces match a route
Adapt to RegGetValue brokenness in Windows 7
Fix format spec errors in Windows builds
Local functions are not supported in MSVC. Bummer.
Mixing wide and regular strings in concatenations is not allowed in MSVC.
RtlIpv6AddressToStringW() and RtlIpv4AddressToStringW() require mstcpip.h
Simplify iphlpapi.dll API calls
Fix local #include to use quoted form
Document ">PASSWORD:Auth-Token" real-time message
Fix typo in "verb" command examples
Uniform swprintf() across MinGW and MSVC compilers
MSVC meta files added to .gitignore list
openvpnserv: Add support for multi-instances
Document missing OpenVPN states
make struct key * argument of init_key_ctx const
buffer_list_aggregate_separator(): add unit tests
Add --tls-cert-profile option.
Use P_DATA_V2 for server->client packets too
Fix memory leak in buffer unit tests
buffer_list_aggregate_separator(): update list size after aggregating
buffer_list_aggregate_separator(): don't exceed max_len
buffer_list_aggregate_separator(): prevent 0-byte malloc
Fix types around buffer_list_push(_data)
ssl_openssl: fix compiler warning by removing getbio() wrapper
travis: use clang's -fsanitize=address to catch more bugs
Fix --tls-version-min and --tls-version-max for OpenSSL 1.1+
Add support for TLS 1.3 in --tls-version-{min, max}
Plug memory leak if push is interrupted
Fix format errors when cross-compiling for Windows
Log pre-handshake packet drops using D_MULTI_DROPPED
Enable stricter compiler warnings by default
Get rid of ax_check_compile_flag.m4
mbedtls: don't use API deprecated in mbed 2.7
Warn if tls-version-max < tls-version-min
Don't throw fatal errors from create_temp_file()
Fix '--bind ipv6only'
openvpn: update to 2.4.4 Version 2.4.4 ============= This is primarily a maintenance release, with further improved OpenSSL 1.1 integration, several minor bug fixes and other minor improvements. Bug fixes --------- - Fix issues when a pushed cipher via the Negotiable Crypto Parameters (NCP) is rejected by the remote side - Ignore ``--keysize`` when NCP have resulted in a changed cipher. - Configurations using ``--auth-nocache`` and the management interface to provide user credentials (like NetworkManager on Linux) on client side with servers implementing authentication tokens (for example, using ``--auth-gen-token``) will now behave correctly and not query the user for an, to them, unknown authentication token on renegotiations of the tunnel. - Fix bug causing invalid or corrupt SOCKS port number when changing the proxy via the management interface. - The man page should now have proper escaping of hyphens/minus characters and have seen some minor corrections. User-visible Changes -------------------- - Linux servers with systemd which uses the ``openvpn-server@.service`` unit file for server configurations will now utilize the automatic restart feature in systemd. If the OpenVPN server process dies unexpectedly, systemd will ensure the OpenVPN configuration will be restarted without any user interaction. Deprecated features ------------------- - ``--no-replay`` is deprecated and will be removed in OpenVPN 2.5. - ``--keysize`` is deprecated in OpenVPN 2.4 and will be removed in v2.6 Security -------- - CVE-2017-12166: Fix bounds check for configurations using ``--key-method 1``. Before this fix, it could allow an attacker to send a malformed packet to trigger a stack overflow. This is considered to be a low risk issue, as ``--key-method 2`` has been the default since OpenVPN 2.0 (released on 2005-04-17). This option is already deprecated in v2.4 and will be completely removed in v2.5.
Use DIST_SUBDIR properly.
Distfile has been changed upstream
OpenVPN 2.4.3 Ignore auth-nocache for auth-user-pass if auth-token is pushed crypto: Enable SHA256 fingerprint checking in --verify-hash copyright: Update GPLv2 license texts auth-token with auth-nocache fix broke --disable-crypto builds OpenSSL: don't use direct access to the internal of X509 OpenSSL: don't use direct access to the internal of EVP_PKEY OpenSSL: don't use direct access to the internal of RSA OpenSSL: don't use direct access to the internal of DSA OpenSSL: force meth->name as non-const when we free() it OpenSSL: don't use direct access to the internal of EVP_MD_CTX OpenSSL: don't use direct access to the internal of EVP_CIPHER_CTX OpenSSL: don't use direct access to the internal of HMAC_CTX Fix NCP behaviour on TLS reconnect. Remove erroneous limitation on max number of args for --plugin Fix edge case with clients failing to set up cipher on empty PUSH_REPLY. Fix potential 1-byte overread in TCP option parsing. Fix remotely-triggerable ASSERT() on malformed IPv6 packet. refactor my_strupr Fix 2 memory leaks in proxy authentication routine Fix memory leak in add_option() for option 'connection' Ensure option array p[] is always NULL-terminated Fix a null-pointer dereference in establish_http_proxy_passthru() Prevent two kinds of stack buffer OOB reads and a crash for invalid input data Fix an unaligned access on OpenBSD/sparc64 Missing include for socket-flags TCP_NODELAY on OpenBSD Make openvpn-plugin.h self-contained again. Pass correct buffer size to GetModuleFileNameW() Log the negotiated (NCP) cipher Avoid a 1 byte overcopy in x509_get_subject (ssl_verify_openssl.c) Skip tls-crypt unit tests if required crypto mode not supported openssl: fix overflow check for long --tls-cipher option Add a DSA test key/cert pair to sample-keys Fix mbedtls fingerprint calculation mbedtls: fix --x509-track post-authentication remote DoS (CVE-2017-7522) mbedtls: require C-string compatible types for --x509-username-field Fix remote-triggerable memory leaks (CVE-2017-7521) Restrict --x509-alt-username extension types Fix potential double-free in --x509-alt-username (CVE-2017-7521) Fix gateway detection with OpenBSD routing domains
OpenVPN 2.4.2 Compared to OpenVPN 2.3 this is a major update with a large number of new features, improvements and fixes. Some of the major features are AEAD (GCM) cipher and Elliptic Curve DH key exchange support, improved IPv4/IPv6 dual stack support and more seamless connection migration when client's IP address changes (Peer-ID). Also, the new --tls-crypt feature can be used to increase users' connection privacy. Compared to OpenVPN 2.4.1 there are several bugfixes and small enhancements. A summary of the changes is available in Changes.rst.
Version 2.3.16: * fix redirect-gateway behaviour when an IPv4 default route does not exist * Avoid a 1 byte overcopy in x509_get_subject (ssl_verify_openssl.c) * Check for errors in the return value of GetModuleFileNameW() * Fix gateway detection with OpenBSD routing domains
update openvpn to 2.3.15
fixes DoSses: CVE-2017-7478 CVE-2017-7479
fixes PR pkg/52044
relevant excerpt of ChangeLog:
OpenVPN Change Log
Copyright (C) 2002-2017 OpenVPN Technologies, Inc. <sales@openvpn.net>
2017.05.11 -- Version 2.3.15
David Sommerseth (5):
dev-tools: Added script for updating copyright years in files
Update copyrights
docs: Further improve --reneg-bytes and SWEET32 information
git: Merge .gitignore files into a single file
Make --cipher/--auth none more explicit on the risks
Gert Doering (1):
Document --proto udp6, tcp6, etc.
Julien Muchembled (1):
Fix implicit declarations when HAVE_OPENSSL_ENGINE is unset
Steffan Karger (6):
Add missing includes in error.h
cleanup: merge packet_id_alloc_outgoing() into packet_id_write()
Document that OpenVPN 2.3 does not check the CRL signature
Introduce and use secure_memzero() to erase secrets
Drop packets instead of assert out if packet id rolls over (CVE-2017-7479)
Don't assert out on receiving too-large control packets (CVE-2017-7478)
2016.12.06 -- Version 2.3.14
Christian Hesse (1):
update year in copyright message
David Sommerseth (1):
Document the --auth-token option
Gert Doering (2):
Repair topology subnet on FreeBSD 11
Repair topology subnet on OpenBSD
Lev Stipakov (1):
Drop recursively routed packets
Selva Nair (4):
Support --block-outside-dns on multiple tunnels
When parsing '--setenv opt xx ..' make sure a third parameter is present
Map restart signals from event loop to SIGTERM during exit-notification wait
Correctly state the default dhcp server address in man page
Steffan Karger (1):
Clean up format_hex_ex()
2016.11.02 -- Version 2.3.13
Arne Schwabe (2):
Use AES ciphers in our sample configuration files and add a few modern 2.4 examples
Incorporate the Debian typo fixes where appropriate and make show_opt default message clearer
David Sommerseth (4):
t_client.sh: Make OpenVPN write PID file to avoid various sudo issues
t_client.sh: Add support for Kerberos/ksu
t_client.sh: Improve detection if the OpenVPN process did start during tests
t_client.sh: Add prepare/cleanup possibilties for each test case
Gert Doering (5):
Do not abort t_client run if OpenVPN instance does not start.
Fix t_client runs on OpenSolaris
make t_client robust against sudoers misconfiguration
add POSTINIT_CMD_suf to t_client.sh and sample config
Fix --multihome for IPv6 on 64bit BSD systems.
Ilya Shipitsin (1):
skip t_lpback.sh and t_cltsrv.sh if openvpn configured --disable-crypto
Lev Stipakov (2):
Exclude peer-id from pulled options digest
Fix compilation in pedantic mode
Samuli Seppänen (1):
Automatically cache expected IPs for t_client.sh on the first run
Steffan Karger (6):
Fix unittests for out-of-source builds
Make gnu89 support explicit
cleanup: remove code duplication in msg_test()
Update cipher-related man page text
Limit --reneg-bytes to 64MB when using small block ciphers
Add a revoked cert to the sample keys
2016.08.23 -- Version 2.3.12
Arne Schwabe (2):
Complete push-peer-info documentation and allow IV_PLAT_VER for other platforms than Windows if the client UI supplies it.
Move ASSERT so external-key with OpenSSL works again
David Sommerseth (3):
Only build and run cmocka unit tests if its submodule is initialized
Another fix related to unit test framework
Remove NOP function and callers
Dorian Harmans (1):
Add CHACHA20-POLY1305 ciphersuite IANA name translations.
Ivo Manca (1):
Plug memory leak in mbedTLS backend
Jeffrey Cutter (1):
Update contrib/pull-resolv-conf/client.up for no DOMAIN
Jens Neuhalfen (2):
Add unit testing support via cmocka
Add a test for auth-pam searchandreplace
Josh Cepek (1):
Push an IPv6 CIDR mask used by the server, not the pool's size
Leon Klingele (1):
Add link to bug tracker
Samuli Seppänen (2):
Update CONTRIBUTING.rst to allow GitHub PRs for code review purposes
Clarify the fact that build instructions in README are for release tarballs
Selva Nair (4):
Make error non-fatal while deleting address using netsh
Make block-outside-dns work with persist-tun
Ignore SIGUSR1/SIGHUP during exit notification
Promptly close the netcmd_semaphore handle after use
Steffan Karger (4):
Fix polarssl / mbedtls builds
Don't limit max incoming message size based on c2->frame
Fix '--cipher none --cipher' crash
Discourage using 64-bit block ciphers
Update net/openvpn to 2.3.11. Changes since 2.3.6:
2016.05.09 -- Version 2.3.11
Fixed port-share bug with DoS potential
Make intent of utun device name validation clear
Fix buffer overflow by user supplied data
Correctly report TCP connection timeout on windows.
Report Windows bitness
Fix undefined signed shift overflow
Fix build with libressl
Improve LZO, PAM and OpenSSL documentation
Ensure input read using systemd-ask-password is null terminated
Support reading the challenge-response from console
openssl: improve logging
polarssl: improve logging
Update manpage: OpenSSL might also need /dev/urandom inside chroot
socks.c: fix check on get_user_pass() return value(s)
Fix OCSP_check.sh
hardening: add safe FD_SET() wrapper openvpn_fd_set()
Fix memory leak in argv_extract_cmd_name()
Replace MSG_TEST() macro for static inline msg_test()
Restrict default TLS cipher list
Various Changes.rst fixes
Clarify mssfix documentation
Clarify --block-outside-dns documentation
Update --block-outside-dns to work on Windows Vista
2016.01.04 -- Version 2.3.10
Prepare for v2.3.10 release, list PolarSSL 1.2 to 1.3 upgrade
Make certificate expiry warning patch (091edd8e299686) work on OpenSSL 1.0.1 and earlier.
Repair IPv6 netsh calls if Win XP is detected
Use bob.example.com and alice.example.com to improve clarity of documentation
Remove unused variables from ssl_verify_polarssl.c's x509_get_serial()
Upgrade OpenVPN 2.3 to PolarSSL 1.3
Warn user if their certificate has expired
Make assert_failed() print the failed condition
cleanup: get rid of httpdigest.c type warnings
Fix regression in setups without a client certificate
polarssl: fix unreachable code
2015.12.15 -- Version 2.3.9
Show extra-certs in current parameters.
Fix commit a3160fc1bd7368395745b9cee6e40fb819f5564c
Do not set the buffer size by default but rely on the operation system default.
Remove --enable-password-save option
Reflect enable-password-save change in documentation
Also remove second instance of enable-password-save in the man page
Detect config lines that are too long and give a warning/error
Log serial number of revoked certificate
Adjust server-ipv6 documentation
Avoid partial authentication state when using --disabled in CCD configs
Make "block-outside-dns" option platform agnostic
Un-break --auth-user-pass on windows
Replace unaligned 16bit access to TCP MSS value with bytewise access
Repair test_local_addr() on WIN32
Fix possible heap overflow on read accessing getaddrinfo() result.
Fix FreeBSD-specific mishandling of gc arena pointer in create_arbitrary_remote()
remove unused gc_arena in FreeBSD close_tun()
Fix isatty() check for good.
put virtual IPv6 addresses into env
Use adapter index instead of name for windows IPv6 interface config
Client-side part for server restart notification
Use adapter index for add/delete_route_ipv6
Pass adapter index to up/down scripts
Fix VS2013 compilation
Fix privilege drop if first connection attempt fails
Support for username-only auth file.
Add CONTRIBUTING.rst
Updates to Changes.rst
Fix termination when windows suspends/sleeps
Do not hard-code windows systemroot in env_block
Handle ctrl-C and ctrl-break events on Windows
Unbreak read username password from management
Replace strdup() calls for string_alloc() calls
Check return value of ms_error_text()
Increase control channel packet size for faster handshakes
hardening: add insurance to exit on a failed ASSERT()
Fix memory leak in auth-pam plugin
Fix (potential) memory leak in init_route_list()
Fix unintialized variable in plugin_vlog()
Add macro to ensure we exit on fatal errors
Fix memory leak in add_option() by simplifying get_ipv6_addr
openssl: properly check return value of RAND_bytes()
Fix rand_bytes return value checking
Add Windows DNS Leak fix using WFP ('block-outside-dns')
Fix "White space before end tags can break the config parser"
2015.08.03 -- Version 2.3.8
Report missing endtags of inline files as warnings
Fix commit e473b7c if an inline file happens to have a line break exactly at buffer limit
Produce a meaningful error message if --daemon gets in the way of asking for passwords.
Document --daemon changes and consequences (--askpass, --auth-nocache).
Del ipv6 addr on close of linux tun interface
Fix --askpass not allowing for password input via stdin
write pid file immediately after daemonizing
Make __func__ work with Visual Studio too
fix regression: query password before becoming daemon
Fix using management interface to get passwords.
Fix overflow check in openvpn_decrypt()
2015.06.02 -- Version 2.3.7
Default gateway can't be determined on illumos/Solaris platforms
Warn that tls-auth with free form files is going to be removed from OpenVPN 2.4
autotools: Fix wrong ./configure help screen default values
down-root plugin: Replaced system() calls with execve()
down-root: Improve error messages
plugin, down-root: Fix compiler warnings
sockets: Remove the limitation of --tcp-nodelay to be server-only
plugins, down-root: Code style clean-up
pkcs11: Load p11-kit-proxy.so module by default
Make 'provider' option to --show-pkcs11-ids optional where p11-kit is present
Use OPENVPN_ETH_P_* so that <netinet/if_ether.h> is unecessary
New approach to handle peer-id related changes to link-mtu (2.3 version)
Fix incorrect use of get_ipv6_addr() for iroute options.
Print helpful error message on --mktun/--rmtun if not available.
explain effect of --topology subnet on --ifconfig
Add note about file permissions and --crl-verify to manpage.
repair --dev null breakage caused by db950be85d37
assume res_init() is always there.
Correct note about DNS randomization in openvpn.8
Disallow usage of --server-poll-timeout in --secret key mode.
slightly enhance documentation about --cipher
Enforce "serial-tests" behaviour for tests/Makefile
Revert "Enforce "serial-tests" behaviour for tests/Makefile"
On signal reception, return EAI_SYSTEM from openvpn_getaddrinfo().
Use configure.ac hack to apply serial_test AM option only if supported.
Use EAI_AGAIN instead of EAI_SYSTEM for openvpn_getaddrinfo().
Move res_init() call to inner openvpn_getaddrinfo() loop
Fix FreeBSD ifconfig for topology subnet tunnels.
Fix --redirect-private in --dev tap mode.
include ifconfig_ environment variables in --up-restart env set
Fix null pointer dereference in options.c
Fix mssfix default value in connection_list context
Manual page update for Re-enabled TLS version negotiation.
Include systemd units in the source tarball (make dist)
Updated manpage for --rport and --lport
Properly escape dashes on the man-page
Improve documentation in --script-security section of the man-page
Really fix '--cipher none' regression
Update doxygen (a bit)
Set tls-version-max to 1.1 if cryptoapicert is used
Account for peer-id in frame size calculation
Disable SSL compression
Fix frame size calculation for non-CBC modes.
Allow for CN/username of 64 characters (fixes off-by-one)
Remove unneeded parameter 'first_time' from possibly_become_daemon()
Re-enable TLS version negotiation by default
Remove size limit for files inlined in config
Improve --tls-cipher and --show-tls man page description
Re-read auth-user-pass file on (re)connect if required
Clarify --capath option in manpage
Call daemon() before initializing crypto library
Update to 2.3.6:
2014.11.28 -- Version 2.3.6
David Sommerseth (1):
systemd: Reworked the systemd unit file to handle server and client configs better
Gert Doering (1):
Add client-only support for peer-id.
Samuli Seppänen (1):
Fix to --shaper documentation on the man-page
Steffan Karger (4):
Fix assertion error when using --cipher none
Add --tls-version-max
Modernize sample keys and sample configs
Drop too-short control channel packets instead of asserting out.
2014.10.24 -- Version 2.3.5
Andris Kalnozols (2):
Fix some typos in the man page.
Do not upcase x509-username-field for mixed-case arguments.
Arne Schwabe (1):
Fix server routes not working in topology subnet with --server [v3]
David Sommerseth (4):
Improve error reporting on file access to --client-config-dir and --ccd-exclusive
Don't let openvpn_popen() keep zombies around
Add systemd unit file for OpenVPN
systemd: Use systemd functions to consider systemd availability
Gert Doering (3):
Drop incoming fe80:: packets silently now.
Fix t_lpback.sh platform-dependent failures
Call init script helpers with explicit path (./)
Heiko Hund (1):
refine assertion to allow other modes than CBC
Hubert Kario (2):
ocsp_check - signature verification and cert staus results are separate
ocsp_check - double check if ocsp didn't report any errors in execution
James Bekkema (1):
Fix socket-flag/TCP_NODELAY on Mac OS X
James Yonan (6):
Fixed several instances of declarations after statements.
In socket.c, fixed issue where uninitialized value (err) is being passed to to gai_strerror.
Explicitly cast the third parameter of setsockopt to const void * to avoid warning.
MSVC 2008 doesn't support dimensioning an array with a const var nor using %z as a printf format specifier.
Define PATH_SEPARATOR for MSVC builds.
Fixed some compile issues with show_library_versions()
Jann Horn (1):
Remove quadratic complexity from openvpn_base64_decode()
Mike Gilbert (1):
Add configure check for the path to systemd-ask-password
Philipp Hagemeister (2):
Add topology in sample server configuration file
Implement on-link route adding for iproute2
Samuel Thibault (1):
Ensure that client-connect files are always deleted
Steffan Karger (13):
Remove function without effect (cipher_ok() always returned true).
Remove unneeded wrapper functions in crypto_openssl.c
Fix bug that incorrectly refuses oid representation eku's in polar builds
Update README.polarssl
Rename ALLOW_NON_CBC_CIPHERS to ENABLE_OFB_CFB_MODE, and add to configure.
Add proper check for crypto modes (CBC or OFB/CFB)
Improve --show-ciphers to show if a cipher can be used in static key mode
Extend t_lpback tests to test all ciphers reported by --show-ciphers
Don't exit daemon if opening or parsing the CRL fails.
Fix typo in cipher_kt_mode_{cbc, ofb_cfb}() doxygen.
Fix regression with password protected private keys (polarssl)
ssl_polarssl.c: fix includes and make casts explicit
Remove unused variables from ssl_verify_openssl.c extract_x509_extension()
TDivine (1):
Fix "code=995" bug with windows NDIS6 tap driver.
Changes 2.3.4: The most important change in this release is that TLS version negotiation is no longer used unless it's explicitly turned on in the configuration files, thus reverting back to the 2.3.2 behaviour as interoperability issues were encountered in 2.3.3. Other notable changes include addition of SSL library version reporting, fixing of SOCKSv5 authentication logic and making serial env exporting consistent between OpenSSL and PolarSSL. This release also contains a number of other bug fixes and small enhancements.
Changes 2.3.2:
Only print script warnings when a script is used. Remove stray mention of script-security system.
Move settings of user script into set_user_script function
Move checking of script file access into set_user_script
Provide more accurate warning message
Fix NULL-pointer crash in route_list_add_vpn_gateway().
Fix problem with UDP tunneling due to mishandled pktinfo structures.
Always push basic set of peer info values to server.
make 'explicit-exit-notify' pullable again
Fix proto tcp6 for server & non-P2MP modes
Fix Windows script execution when called from script hooks
Fixed tls-cipher translation bug in openssl-build
Fixed usage of stale define USE_SSL to ENABLE_SSL
Fix segfault when enabling pf plug-ins
Upgrade OpenVPN to 2.3.0 Bump openvpn-acct-wtmpx to add its licence and to take into account the new location of plugin directory Significant changes since 2.2.x: * Full IPv6 support * SSL layer modularised, enabling easier implementation for other SSL libraries * PolarSSL support as a drop-in replacement for OpenSSL * New plug-in API providing direct certificate access, improved logging API and easier to extend in the future * Added 'dev_type' environment variable to scripts and plug-ins - which is set to 'TUN' or 'TAP' * New feature: --management-external-key - to provide access to the encryption keys via the management interface * New feature: --x509-track option, more fine grained access to X.509 fields in scripts and plug-ins * New feature: --client-nat support * New feature: --mark which can mark encrypted packets from the tunnel, suitable for more advanced routing and firewalling * New feature: --management-query-proxy - manage proxy settings via the management interface (supercedes --http-proxy-fallback) * New feature: --stale-routes-check, which cleans up the internal routing table * New feature: --x509-username-field, where other X.509v3 fields can be used for the authentication instead of Common Name * Improved client-kill management interface command * Improved UTF-8 support - and added --compat-names to provide backwards compatibility with older scripts/plug-ins * Improved auth-pam with COMMONNAME support, passing the certificate's common name in the PAM conversation * More options can now be used inside <connection> blocks * Completely new build system, enabling easier cross-compilation and Windows builds * Much of the code has been better documented * Many documentation updates * Plenty of bug fixes and other code clean-ups