SHA256
1
0
forked from pool/openvpn
Commit Graph

109 Commits

Author SHA256 Message Date
Reinhard Max
cb59f07662 Accepting request 1036732 from home:dirkmueller:Factory
- update to 2.5.8:
  * 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)
  * ``--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

OBS-URL: https://build.opensuse.org/request/show/1036732
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=181
2022-11-23 10:27:06 +00:00
Reinhard Max
f4f04bce09 Accepting request 1003012 from home:dirkmueller:Factory
- build with enable-iproute2 again to have root-less mode working (bsc#1202792)

OBS-URL: https://build.opensuse.org/request/show/1003012
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=179
2022-09-16 13:20:16 +00:00
Reinhard Max
769e5c8041 Accepting request 980821 from home:dirkmueller:Factory
- update to 2.5.7:
  * Limited OpenSSL 3.0 support
  * print OpenSSL error stack if decoding PKCS12 file fails
  * fix omission of cipher-negotiation.rst in tarballs
  * fix errno handling on Windows (Windows has different classes of
    error codes, GetLastError() and C runtime errno, these should now
    be handled correctly)
  * fix PATH_MAX build failure in auth-pam.c
  * fix t_net.sh self-test leaving around stale "ovpn-dummy0" interface
  * fix overlong path names, leading to missing pkcs11-helper patch
    in tarball

OBS-URL: https://build.opensuse.org/request/show/980821
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=177
2022-06-09 09:47:00 +00:00
Reinhard Max
c9c184cb74 - update to 2.5.6:
* bsc#1197341, CVE-2022-0547: possible authentication bypass in
    external authentication plug-in
  * Fix "--mtu-disc maybe|yes" on Linux
  * Fix $common_name variable passed to scripts when
    username-as-common-name is in effect.
  * Fix potential memory leaks in add_route() and add_route_ipv6().
  * Apply connect-retry backoff only to one side of the connection
    in p2p mode.
  * repair "--inactive" handling with a 'bytes' parameter larger
    than 2 Gbytes.
  * new plugin (sample-plugin/defer/multi-auth.c) to help testing
    with multiple parallel plugins that succeed/fail in
    direct/deferred mode.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=175
2022-03-23 09:20:07 +00:00
Reinhard Max
22422cdf72 - Fix license tag in spec file.
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=173
2022-02-10 13:37:51 +00:00
Reinhard Max
2a401db5cf Accepting request 935683 from home:jengelh:branches:network:vpn
- Avoid bashisms and use POSIX sh syntax.
- Use more efficient find commands.
- Trim marketing filler words from description.

OBS-URL: https://build.opensuse.org/request/show/935683
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=172
2022-01-11 16:55:12 +00:00
Reinhard Max
51165addca Accepting request 940795 from home:dirkmueller:Factory
- update to 2.5.5:
  * SWEET32/64bit cipher deprecation change was postponed to 2.7
  * 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 (Trac #1434)
  * move "push-peer-info" documentation from "server options" to "client"
  * correct "foreign_option_{n}" typo in manpage
  * README.down-root: fix plugin module name

OBS-URL: https://build.opensuse.org/request/show/940795
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=171
2021-12-20 13:08:42 +00:00
Reinhard Max
122fb57252 - Drop 0001-preform-deferred-authentication-in-the-background.patch
Upstream has meanwhile solved this differently and the two
  implementations interfere (boo#1193017).
- Obsoleted SLE patches up to this point:
  * openvpn-CVE-2020-15078.patch
  * openvpn-CVE-2020-11810.patch
  * openvpn-CVE-2018-7544.patch
  * openvpn-CVE-2018-9336.patch
      (bsc#1085803, CVE-2018-7544)

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=170
2021-12-09 14:14:14 +00:00
Reinhard Max
b9f6a97b59 - Disable 0001-preform-deferred-authentication-in-the-background.patch
for testing, because the PAM module now has upstream support for
  deferred authentication.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=169
2021-11-26 13:36:45 +00:00
Reinhard Max
1a18403b79 Accepting request 928265 from home:dirkmueller:Factory
- update to 2.5.4:
  * 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()
  * documentation improvements
  * copyright updates where needed
  * better error reporting when win32 console access fails

OBS-URL: https://build.opensuse.org/request/show/928265
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=168
2021-11-25 08:35:25 +00:00
Reinhard Max
5126890df2 - Update to 2.5.3:
* Removal of BF-CBC support in default configuration
    *** POSSIBLE INCOMPATIBILITY ***
    See section "DATA CHANNEL CIPHER NEGOTIATION" in openvpn(8).
  * Connections setup is now much faster
  * Support ChaCha20-Poly1305 cipher in the OpenVPN data channel
  * Improved TLS 1.3 support when using OpenSSL 1.1.1 or newer
  * Client-specific tls-crypt keys (--tls-crypt-v2)
  * Improved Data channel cipher negotiation
  * HMAC based auth-token support for seamless reconnects to
    standalone servers or a group of servers
  * Asynchronous (deferred) authentication support for auth-pam
    plugin
  * Asynchronous (deferred) support for client-connect scripts and
    plugins
  * Support IPv4 configs with /31 netmasks
  * 802.1q VLAN support on TAP servers
  * Support IPv6-only tunnels
  * New option --block-ipv6 to reject all IPv6 packets (ICMPv6)
  * Support Virtual Routing and Forwarding (VRF)
  * Netlink integration (OpenVPN no longer needs to execute
    ifconfig/route or ip commands)
  * Obsoletes openvpn-2.3.9-Fix-heap-overflow-on-getaddrinfo-result.patch
- bsc#1062157: The fix for bsc#934237 causes problems with the
  crypto self-test of newer openvpn versions.
  Remove openvpn-2.3.x-fixed-multiple-low-severity-issues.patch .

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=165
2021-08-05 14:32:44 +00:00
OBS User buildservice-autocommit
d362a8d722 Accepting request 898085 from network:vpn
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/898085
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=163
2021-06-11 20:30:29 +00:00
OBS User buildservice-autocommit
c971ffecad Updating link to change in openSUSE:Factory/openvpn revision 92.0
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=87d79a66380aae5a5c09e186965ae192
2021-06-11 20:30:28 +00:00
Reinhard Max
f53e63e20a OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=162 2021-06-07 12:34:58 +00:00
Reinhard Max
87f634bb3f Accepting request 896403 from home:dirkmueller:Factory
- update to 2.4.11 (bsc#1185279):
  * CVE-2020-15078 see https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements
  * This bug allows - under very specific circumstances - to trick 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 an user-specific token auth
    solution it can be possible to get access to a VPN with an
    otherwise-invalid account.
  * Fix potential NULL ptr crash if compiled with DMALLOC
- drop sysv5 init support, it hasn't build successfully in ages
  and is build-disabled in devel project

OBS-URL: https://build.opensuse.org/request/show/896403
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=160
2021-06-07 11:01:52 +00:00
Reinhard Max
2fcb1fff2d Accepting request 888332 from home:cboltz:branches:network:vpn
- update 'rcopenvpn' to work without /etc/rc.status (boo#1185273)

OBS-URL: https://build.opensuse.org/request/show/888332
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=158
2021-04-26 07:00:42 +00:00
Reinhard Max
aa86a6a685 Accepting request 860796 from home:dirkmueller:branches:network:vpn
- update to 2.4.10:
 - OpenVPN client will now announce the acceptable ciphers to the server
   (IV_CIPHER=...), so NCP cipher negotiation works better
 - Parse static challenge response in auth-pam plugin
 - Accept empty password and/or response in auth-pam plugin
 - Log serial number of revoked certificate
 - Fix tls_ctx_client/server_new leaving error on OpenSSL error stack
 - Fix auth-token not being updated if auth-nocache is set
   (this should fix all remaining client-side bugs for the combination
   "auth-nocache in client-config" + "auth-token in use on the server")
 - Fix stack overflow in OpenSolaris and *BSD NEXTADDR()
 - Fix error detection / abort in --inetd corner case (#350)
 - Fix TUNSETGROUP compatibility with very old Linux systems (#1152)
 - Fix handling of 'route remote_host' for IPv6 transport case
   (#1247 and #1332)
 - Fix --show-gateway for IPv6 on NetBSD/i386 (#734)
 - A number of documentation improvements / clarification fixes.
 - Fix line number reporting on config file errors after <inline> segments
 - Fix fatal error at switching remotes (#629)
 - socks.c: fix alen for DOMAIN type addresses, bump up buffer sizes (#848)
 - Switch "ks->authenticated" assertion failure to returning false (#1270)
- refresh 0001-preform-deferred-authentication-in-the-background.patch
   openvpn-2.3.x-fixed-multiple-low-severity-issues.patch against 2.4.10

OBS-URL: https://build.opensuse.org/request/show/860796
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=156
2021-01-08 08:45:09 +00:00
Reinhard Max
cdbeb15008 Accepting request 833769 from home:dirkmueller:branches:network:vpn
- update to 2.4.9 (CVE-2020-11810, bsc#1169925O):
  * Allow unicode search string in --cryptoapicert option (Windows)
  * Skip expired certificates in Windows certificate store (Windows) (trac #966)
  * OpenSSL: Fix --crl-verify not loading multiple CRLs in one file (trac #623)
  * fix condition where a client's session could "float" to a new IP address that is not authorized ("fix illegal client float").
  This can be used to disrupt service to a freshly connected client (no session
  keys negotiated yet). It can not be used to inject or steal VPN traffic.
  CVE-2020-11810).
  * fix combination of async push (deferred auth) and NCP (trac #1259)
  * Fix OpenSSL 1.1.1 not using auto elliptic curve selection (trac #1228)
  * Fix OpenSSL error stack handling of tls_ctx_add_extra_certs
  * mbedTLS: Make sure TLS session survives move (trac #880)
  * Fix OpenSSL private key passphrase notices
  * Fix building with --enable-async-push in FreeBSD (trac #1256)
  * Fix broken fragmentation logic when using NCP (trac #1140)

OBS-URL: https://build.opensuse.org/request/show/833769
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=154
2020-09-14 14:21:41 +00:00
Reinhard Max
1a139c3c1b Accepting request 829828 from home:fbui:branches:network:vpn
- Modernize openvpn.service
  * /var/run has been obsoleted since a long time.
  * on reload, send HUP signal directly rather than relying on
    killproc to look for the main process.

- Explicitly requires sysvinit-tools as some of the tools shipped by
  this package are used in various places regardless of whether
  openvpn is built for systemd or non systemd systems.
  For the context: sysvinit-tools was pulled in by systemd since 2014
  but it's no longer the case so better to be safe than sorry.

OBS-URL: https://build.opensuse.org/request/show/829828
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=152
2020-08-28 10:05:24 +00:00
Reinhard Max
3e6d073d65 Accepting request 781397 from home:Vogtinator:branches:network:vpn
- Fix inconsistency in openvpn.service:
  * It uses the unescape instance name as config file basename,
    so use that in the description as well

OBS-URL: https://build.opensuse.org/request/show/781397
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=150
2020-03-09 09:28:36 +00:00
Reinhard Max
ba0faf4e78 Accepting request 766820 from home:dimstar:Factory
- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
  shortcut through the -mini flavors.
- Use %systemd_ordering instead of systemd_requires: in fact,
  systemd is not a hard requirement for openvpn. But in case a
  system is being installed with systemd, we want systemd to be
  there before  openvpn is being installed.

OBS-URL: https://build.opensuse.org/request/show/766820
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=148
2020-01-29 14:48:36 +00:00
Reinhard Max
6988200f52 Accepting request 764916 from home:iznogood:branches:network:vpn
Include SR#758278 also
- Update to version 2.4.8:
  * mbedtls: fix segfault by calling mbedtls_cipher_free() in
    cipher_ctx_free()
  * cleanup: Remove RPM openvpn.spec build approach
  * docs: Update INSTALL
  * build: Package missing mock_msg.h
  * Increase listen() backlog queue to 32
  * Force combinationation of --socks-proxy and --proto UDP to use
    IPv4.
  * Wrong FILETYPE in .rc files
  * Do not set pkcs11-helper 'safe fork mode'
  * tests/t_lpback.sh: Switch sed(1) to POSIX-compatible regex.
  * Fix various compiler warnings
  * Fix regression, reinstate LibreSSL support.
  * man: correct the description of --capath and --crl-verify
    regarding CRLs
  * Fix typo in NTLM proxy debug message
  * Ignore --pull-filter for --mode server
  * openssl: Fix compilation without deprecated OpenSSL 1.1 APIs
  * Better error message when script fails due to script-security
    setting
  * Correct the return value of cryptoapi RSA signature callbacks
  * Handle PSS padding in cryptoapicert
  * cmocka: use relative paths
  * Fix documentation of tls-verify script argument
- BuildRequire pkgconfig(libsystemd) instead of systemd-devel:
  Allow OBS to shortcut through the -mini flavors.

OBS-URL: https://build.opensuse.org/request/show/764916
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=146
2020-01-16 13:37:53 +00:00
Reinhard Max
7a2b687349 Accepting request 731645 from home:-miska-:branches:network:vpn
Add p11kit build time dependency for pkcs providers autodetection

Not necessary during runtime, if not available falls back into previous
behaviour where you have to specidy provider manually.

OBS-URL: https://build.opensuse.org/request/show/731645
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=144
2019-10-22 13:56:16 +00:00
Reinhard Max
b9c4125b9d - Clarify in the service file that the reload action doesn't work
when dropping root privileges (boo#1142830).

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=141
2019-07-29 08:10:52 +00:00
Reinhard Max
47e69c0aeb Accepting request 713197 from home:stroeder:branches:network:vpn
Updated openvpn.keyring

OBS-URL: https://build.opensuse.org/request/show/713197
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=140
2019-07-22 10:03:44 +00:00
Reinhard Max
da2b12d9c6 Accepting request 678070 from home:fbui:branches:network:vpn
- Drop use of $FIRST_ARG in openvpn.spec
  The use of $FIRST_ARG was probably required because of the
  %service_* rpm macros were playing tricks with the shell positional
  parameters. This is bad practice and error prones so let's assume
  that no macros should do that anymore and hence it's safe to assume
  that positional parameters remains unchanged after any rpm macro
  call.

OBS-URL: https://build.opensuse.org/request/show/678070
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=139
2019-03-04 09:06:34 +00:00
Reinhard Max
fa93dcb71e Accepting request 677833 from home:stroeder:branches:network:vpn
Update to 2.4.7

OBS-URL: https://build.opensuse.org/request/show/677833
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=138
2019-03-03 08:52:07 +00:00
Reinhard Max
01270aa102 - Update to 2.4.6:
* CVE-2018-9336, bsc#1090839: Fix potential double-free() in
    Interactive Service
  * 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

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=136
2018-04-27 12:35:13 +00:00
Reinhard Max
283c2a8f8b - Remove --askpass again, because it was also asking for a password
when none was needed. As a workaround for keys that need a
  password, the "askpass" statement should be added to the config
  file (bsc#1078026).
- Use Type=notify in openvpn.service to reflect what openvpn is
  actually doing.
- Import the new signing key from upstream.
- Remove obsolete configure switch --enable-password-save .

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=134
2018-04-10 14:40:39 +00:00
Reinhard Max
42c7e8bef4 Accepting request 586118 from home:avindra
- Update to 2.4.5
  * New features
    + The new option --tls-cert-profile can be used to restrict the
      set of allowed crypto algorithms in TLS certificates in mbed
      TLS builds. The default profile is 'legacy' for now, which
      allows SHA1+, RSA-1024+ and any elliptic curve certificates.
      The default will be changed to the 'preferred' profile in the
      future, which requires SHA2+, RSA-2048+ and any curve.
    + openvpnserv: Add support for multi-instances (to support
      multiple parallel OpenVPN installations, like EduVPN and
      regular OpenVPN)
    + Use P_DATA_V2 for server->client packets too (better packet
      alignment)
    + improve management interface documentation
    + rework registry key handling for OpenVPN service, notably
      making most registry values optional, falling back to
      reasonable defaults
    + accept IPv6 address for pushed "dhcp-option DNS ..." (make
      OpenVPN 2 option compatible with OpenVPN 3 iOS and Android
      clients)
  * Bug fixes
    + Fix --tls-version-min and --tls-version-max for OpenSSL 1.1+
    + Fix lots of compiler warnings (format string, type casts, ...)
    + reload HTTP proxy credentials when moving to the next
      connection profile
    + Fix build with LibreSSL (multiple times)
    + Remove non-useful warning on pushed tun-ipv6 option.
    + autoconf: Fix engine checks for openssl 1.1
    + lz4: Rebase compat-lz4 against upstream v1.7.5
    + lz4: Fix broken builds when pkg-config is not present but
      system library is
    + Fix '--bind ipv6only'
    + Allow learning iroutes with network made up of all 0s
- Includes 2.4.4
  * 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 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.
    + Invalid or corrupt SOCKS port number when changing the proxy
      via the management interface.
    + man page should now have proper escaping of hyphen/minus
      characters and other minor corrections.
  * User-visible Changes
    + Linux servers with systemd which use 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 automatically.
  * Deprecated
    + --no-replay (will be removed in 2.5)
    + --keysize (will be removed in 2.6)
  * Security
    + CVE-2017-12166: Fix bounds check for configurations using
      --key-method 1. Before this fix, attackers could 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 2.0 (released on 2005-04-17). This
      option is already deprecated in v2.4 and will be completely
      removed in v2.5.
- Rebase openvpn-fips140-2.3.2.patch
- Drop 0002-Fix-bounds-check-in-read_key.patch
  * upstreamed in c7e259160b28e94e4ea7f0ef767f8134283af255
- Partial cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/586118
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=133
2018-04-10 14:14:26 +00:00
Reinhard Max
f33ffa2f73 - Add --askpass to ExecStart, so that the user name and password
are correctly being queried from the user.
  (bsc#1078026, boo#985798, boo#1031748)
- Use %service_add/del macros throughout (bsc#1038406).

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=131
2018-02-13 18:21:21 +00:00
Nirmoy Das
2481fda7a6 Accepting request 544813 from home:RBrownSUSE:branches:network:vpn
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544813
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=129
2017-11-24 10:37:04 +00:00
Nirmoy Das
48eb5a9bd5 Accepting request 533031 from home:ndas:branches:network:vpn
- Do bound check in read_key before using values(CVE-2017-12166 bsc#1060877).
  [+ 0002-Fix-bounds-check-in-read_key.patch]

OBS-URL: https://build.opensuse.org/request/show/533031
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=127
2017-10-10 14:11:53 +00:00
Nirmoy Das
6edc27e34c Accepting request 516148 from home:sebix:branches:network:vpn
remove empty wrong directory form filelist

OBS-URL: https://build.opensuse.org/request/show/516148
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=125
2017-10-04 10:52:41 +00:00
Nirmoy Das
774c998664 Accepting request 505857 from home:ndas:branches:network:vpn
- Update to 2.4.3 (bsc#1045489)
    - 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.
    - Preparing for release v2.4.3 (ChangeLog, version.m4, Changes.rst)
    - 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

OBS-URL: https://build.opensuse.org/request/show/505857
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=124
2017-06-23 10:34:54 +00:00
Nirmoy Das
6eab1b0fe1 Accepting request 504782 from home:ndas:branches:network:vpn
- use %{_tmpfilesdir} for tmpfiles.d/openvpn.conf (bsc#1044223)

OBS-URL: https://build.opensuse.org/request/show/504782
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=122
2017-06-19 14:48:58 +00:00
Nirmoy Das
0c21985672 Accepting request 501441 from home:ndas:branches:network:vpn
- cleanup the spec file

OBS-URL: https://build.opensuse.org/request/show/501441
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=120
2017-06-06 15:27:51 +00:00
Nirmoy Das
ea6e8a6af9 Accepting request 501439 from home:ndas:branches:network:vpn
- pkcs11-helper-devel >= 1.11 is needed for openvpn-2.4.2

OBS-URL: https://build.opensuse.org/request/show/501439
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=119
2017-06-06 15:17:18 +00:00
Nirmoy Das
fbd567ff8c - Update tp 2.4.2
- auth-token: Ensure tokens are always wiped on de-auth
    - Make --cipher/--auth none more explicit on the risks
    - Use SHA256 for the internal digest, instead of MD5
    - Deprecate --ns-cert-type
    - Deprecate --no-iv
    - Support --block-outside-dns on multiple tunnels
    - Limit --reneg-bytes to 64MB when using small block ciphers
    - Fix --tls-version-max in mbed TLS builds
  Details changelogs are avilable in 
  https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24
  [*0001-preform-deferred-authentication-in-the-background.patch
   *openvpn-2.3.x-fixed-multiple-low-severity-issues.patch
   *openvpn-fips140-2.3.2.patch]

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=118
2017-06-06 13:12:31 +00:00
9c3259ca06 Accepting request 489820 from home:ndas:branches:network:vpn
- Preform deferred authentication in the background to not
  cause main daemon processing delays when the underlying pam mechanism (e.g.
  ldap) needs longer to response (bsc#959511).
  [+ 0001-preform-deferred-authentication-in-the-background.patch]
- Added fix for possible heap overflow on read accessing getaddrinfo 
  result (bsc#959714).
  [+openvpn-2.3.9-Fix-heap-overflow-on-getaddrinfo-result.patch]
- Added a patch to fix multiple low severity issues (bsc#934237).
  [+openvpn-2.3.x-fixed-multiple-low-severity-issues.patch]

OBS-URL: https://build.opensuse.org/request/show/489820
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=115
2017-04-27 09:50:39 +00:00
Nirmoy Das
9779642307 Accepting request 451851 from home:darix:playground
- silence warning about %{_rundir}/openvpn
  - for non systemd case: just package the %{_rundir}/openvpn in
    the package
  - for systemd case: call systemd-tmpfiles and own the dir as
    %ghost in the filelist

- refreshed patches to apply cleanly again
  openvpn-2.3-plugin-man.dif
  openvpn-fips140-2.3.2.patch

- update to 2.3.14
  - update year in copyright message
  - Document the --auth-token option
  - Repair topology subnet on FreeBSD 11
  - Repair topology subnet on OpenBSD
  - Drop recursively routed packets
  - 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
  - Clean up format_hex_ex()
- enabled pkcs11 support

OBS-URL: https://build.opensuse.org/request/show/451851
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=113
2017-01-24 10:31:30 +00:00
Nirmoy Das
ce8599bf09 Accepting request 443666 from home:stroeder:branches:network:vpn
- update to 2.3.13
- successfully tested as VPN client on TW x86_64
- please review FIPS patch update carefully

OBS-URL: https://build.opensuse.org/request/show/443666
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=111
2017-01-09 12:13:41 +00:00
71dd389b3e Accepting request 442460 from home:matwey:branches:network:vpn
OBS-URL: https://build.opensuse.org/request/show/442460
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=109
2016-11-29 08:28:48 +00:00
Nirmoy Das
336ec975bc Accepting request 425721 from home:AndreasStieger:branches:network:vpn
- Add an example for a FIPS 140-2 approved cipher configuration to
  the sample configuration files. Fixes bsc#988522
  adding openvpn-fips140-AES-cipher-in-config-template.patch
- remove gpg-offline signature verification, now a source service

OBS-URL: https://build.opensuse.org/request/show/425721
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=107
2016-09-14 14:11:18 +00:00
Ismail Dönmez
6dac5a8f6a Accepting request 394676 from home:namtrac:branches:network:vpn
- Update to version 2.3.11
  * Fixed port-share bug with DoS potential
  * Fix buffer overflow by user supplied data
  * Fix undefined signed shift overflow
  * Ensure input read using systemd-ask-password is null terminated
  * Support reading the challenge-response from console
  * hardening: add safe FD_SET() wrapper openvpn_fd_set()
  * Restrict default TLS cipher list
- Add BuildRequires on xz for SLE11

OBS-URL: https://build.opensuse.org/request/show/394676
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=105
2016-06-06 07:52:26 +00:00
Martin Caj
06ccbd25ce Accepting request 351949 from home:namtrac:branches:network:vpn
- Update to version 2.3.10
  * Warn user if their certificate has expired
  * Fix regression in setups without a client certificate

- Update to version 2.3.9
  * Show extra-certs in current parameters.
  * Do not set the buffer size by default but rely on the operation system default.
  * Remove --enable-password-save option
  * Detect config lines that are too long and give a warning/error
  * Log serial number of revoked certificate
  * Avoid partial authentication state when using --disabled in CCD configs
  * Replace unaligned 16bit access to TCP MSS value with bytewise access
  * Fix possible heap overflow on read accessing getaddrinfo() result.
  * Fix isatty() check for good. (obsoletes revert-daemonize.patch)
  * Client-side part for server restart notification
  * Fix privilege drop if first connection attempt fails
  * Support for username-only auth file.
  * 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
  * Fix "White space before end tags can break the config parser"

OBS-URL: https://build.opensuse.org/request/show/351949
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=103
2016-01-06 09:47:33 +00:00
39b88922eb - Adjust /var/run to _rundir macro value in openvpn@.service too.
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=101
2015-12-04 08:02:06 +00:00
e18eab1a94 - Moved openvpn-plugin.h into a devel package, removed .gitignore
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=99
2015-08-20 09:46:01 +00:00
558e8eaf2f - Removed obsolete --with-lzo-headers option, readded LFS_CFLAGS.
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=98
2015-08-20 09:00:14 +00:00
f7cfc57d16 Accepting request 322300 from home:namtrac:branches:network:vpn
OBS-URL: https://build.opensuse.org/request/show/322300
OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=96
2015-08-13 09:20:17 +00:00