Skip to content

Commit

Permalink
Update net/openvpn to 2.3.11. Changes since 2.3.6:
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jperkin authored and Jonathan Perkin committed Jul 8, 2016
1 parent bf42e07 commit 4618929
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 24 deletions.
3 changes: 1 addition & 2 deletions net/openvpn/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.58 2016/03/05 11:29:09 jperkin Exp $
# $NetBSD: Makefile,v 1.59 2016/07/08 08:49:41 jperkin Exp $

DISTNAME= ${OPENVPN_DISTNAME}
PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= ${OPENVPN_MASTER_SITES}
EXTRACT_SUFX= .tar.xz
Expand Down
4 changes: 2 additions & 2 deletions net/openvpn/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# $NetBSD: Makefile.common,v 1.4 2014/12/03 10:09:01 wiz Exp $
# $NetBSD: Makefile.common,v 1.5 2016/07/08 08:49:41 jperkin Exp $

# used by net/openvpn/Makefile
# used by net/openvpn-acct-wtmpx/Makefile
# used by net/openvpn-nagios/Makefile

OPENVPN_DISTNAME= openvpn-2.3.6
OPENVPN_DISTNAME= openvpn-2.3.11
OPENVPN_DISTFILE= ${OPENVPN_DISTNAME}.tar.xz
OPENVPN_MASTER_SITES= http://swupdate.openvpn.net/community/releases/
SITES.${OPENVPN_DISTFILE}= ${OPENVPN_MASTER_SITES}
Expand Down
18 changes: 9 additions & 9 deletions net/openvpn/distinfo
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
$NetBSD: distinfo,v 1.32 2015/11/04 00:35:18 agc Exp $
$NetBSD: distinfo,v 1.33 2016/07/08 08:49:41 jperkin Exp $

SHA1 (openvpn-2.3.6.tar.xz) = f360b4b858f70378f18853c334b0cd2f9219adbb
RMD160 (openvpn-2.3.6.tar.xz) = 8b34467bc4759380e10688c4839a67afa6a58abf
SHA512 (openvpn-2.3.6.tar.xz) = 2d9d8f818e95d6aa00388074479704cb89a901e03bc3f89ada0188034d65b30ecfafe3e298384997a9972e708537a6a8e7d32c0158099631a3b4b94708652e17
Size (openvpn-2.3.6.tar.xz) = 809348 bytes
SHA1 (patch-ac) = d1918a08f8b3dd150b44737a236da58be7fa1f8c
SHA1 (patch-ad) = 1406764c57687665df34a489474255ab0c3c8179
SHA1 (patch-ae) = e6e3e5977d1d9c09c0638d84e599c1c4956e27c8
SHA1 (patch-af) = 6c5cbb2fcd465a8519e947532cd8b09eb3499f65
SHA1 (openvpn-2.3.11.tar.xz) = 48ba3ada2da84be4cf66ffbd35a66d4ce30e0e5b
RMD160 (openvpn-2.3.11.tar.xz) = cfaf087bfb9d562b6028a225c43000fbe96041ce
SHA512 (openvpn-2.3.11.tar.xz) = 1fd2798beca074f0a094efbd4a9260f8a62d488afacb023b3f867698e6177bfc02702209e8c7f300ba8c662d292c65dc05d3f2cf615ebb91b90d4798fd3b99cd
Size (openvpn-2.3.11.tar.xz) = 833496 bytes
SHA1 (patch-ac) = 3071423ae978dd7d1d79cb140325bde96ba8d21b
SHA1 (patch-ad) = 1e2c34a37157ff9c091e0120817a8c8bae9aef4e
SHA1 (patch-ae) = fce5d2b7c8ef830cba3df4408af79301f347cafd
SHA1 (patch-af) = 8d728c36a6eccdebf6c7e5a02d457903b255f4fb
SHA1 (patch-src_compat_compat-basename.c) = 45a58ef2e05f6e0265f229da8540760e60e65143
SHA1 (patch-src_openvpn_socket.c) = 74668d39f5e6fdab64825d38d4b287c8004f5af3
SHA1 (patch-src_openvpn_socket.h) = b4b952af347e0f2d0aff307a5025b3d27a2e6ee5
4 changes: 3 additions & 1 deletion net/openvpn/patches/patch-ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
$NetBSD: patch-ac,v 1.10 2013/02/10 05:55:07 manu Exp $
$NetBSD: patch-ac,v 1.11 2016/07/08 08:49:41 jperkin Exp $

Support clone devices.

--- src/openvpn/tun.c.orig 2011-04-06 16:05:52.000000000 +0000
+++ src/openvpn/tun.c
Expand Down
18 changes: 10 additions & 8 deletions net/openvpn/patches/patch-ad
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
$NetBSD: patch-ad,v 1.5 2013/07/31 06:53:21 adam Exp $
$NetBSD: patch-ad,v 1.6 2016/07/08 08:49:41 jperkin Exp $

--- config.h.in.orig 2013-05-31 12:00:59.000000000 +0000
Support IP_PKTINFO and net/if_tap.h

--- config.h.in.orig 2016-05-10 06:02:53.000000000 +0000
+++ config.h.in
@@ -277,6 +277,9 @@
/* struct in_pktinfo needed for IP_PKTINFO support */
#undef HAVE_IN_PKTINFO
@@ -286,6 +286,9 @@
/* struct iphdr needed for IPv6 support */
#undef HAVE_IPHDR

+/* struct in_pktinfo.ipi_spec_dst needed for IP_PKTINFO support */
+#undef HAVE_IPI_SPEC_DST
+
/* struct iovec needed for IPv6 support */
#undef HAVE_IOVEC
/* Define to 1 if you have the <libgen.h> header file. */
#undef HAVE_LIBGEN_H

@@ -352,6 +355,9 @@
@@ -349,6 +352,9 @@
/* Define to 1 if you have the <net/if.h> header file. */
#undef HAVE_NET_IF_H

Expand Down
4 changes: 3 additions & 1 deletion net/openvpn/patches/patch-ae
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
$NetBSD: patch-ae,v 1.7 2013/07/31 06:53:21 adam Exp $
$NetBSD: patch-ae,v 1.8 2016/07/08 08:49:41 jperkin Exp $

Support IP_PKTINFO and net/if_tap.h

--- configure.ac.orig 2013-05-31 12:00:25.000000000 +0000
+++ configure.ac
Expand Down
4 changes: 3 additions & 1 deletion net/openvpn/patches/patch-af
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
$NetBSD: patch-af,v 1.8 2013/07/31 06:53:21 adam Exp $
$NetBSD: patch-af,v 1.9 2016/07/08 08:49:41 jperkin Exp $

Support IP_PKTINFO and net/if_tap.h

--- configure.orig 2013-05-31 12:00:58.000000000 +0000
+++ configure
Expand Down

0 comments on commit 4618929

Please sign in to comment.