Permalink
Browse files

keepalived-1.3.2

  • Loading branch information...
1 parent 73df016 commit ebd70d36a4c16ce9618ba01dc499f762a5c0f82b @acassen committed Nov 26, 2016
Showing with 70 additions and 11 deletions.
  1. +59 −0 ChangeLog
  2. +10 −10 configure
  3. +1 −1 configure.ac
View
@@ -1,3 +1,62 @@
+2016-11-26 Alexandre Cassen <acassen@linux-vs.org>
+ * keepalived-1.3.2 released.
+ * Correctly handle return code from system() call.
+ If we want to check for an exit status, WIFEXITED(ret) must be
+ checked first.
+ * Fix compilation where SNMP enabled.
+ * Fix a couple of SNMP errors.
+ The length of KEEPALIVED-MIB::version was being returned a sizeof(char *)
+ rather than strlen(char *).
+ VRRPv3 vrrpv3GlobalStatisticsDiscontinuityTime was being completely
+ mishandled.
+ * Add additional files needed to build from git without autoconf.
+ * Don't save and restore current directory twice with config includes.
+ * Don't recognise an executable file as a configuration file.
+ * Allow maximum path names for configuration files.
+ * Don't check for include file after reaching EOF.
+ * Fix a segfault if terminating at startup do to interface not found.
+ * notify: log error while performing set{gid,uid}.
+ Log error message while setting goup and user before system call.
+ Maybe we should avoid system call on error if {gid,uid} are used, would
+ be more secure.
+ * Don't execute a script if setuid or setgid fails.
+ This was suggested in the comment of commit 849615d and is clearly
+ the right (secure) thing to do.
+ * If a script doesn't have a '/' in the name, search PATH for it.
+ This also handles spaces in script specifications where they are
+ parameters.
+ * Don't allow accept when strict mode set if not address owner.
+ This commit changes keepalived from just issuing a warning to also
+ disable accept mode when strict mode is set.
+ Patch submitted by levin1.
+ * Added init_fail setting to assume failed state for vrrp_script during
+ startup of keepalived.
+ * When checking script security check set uid/gid bits too.
+ Although the setuid/gid bits are ignored for scripts, they are
+ not ignored for binary executables, and there is no point in having
+ the bits set for scripts. So we play safe, and simply check those
+ bits, and don't attempt to ascertain if it is a script or not.
+ * Disable scripts that aren't executable.
+ system() on a non-executable script will fail, so we may as well
+ just not try executing such a script.
+ * Exit if can't read configuration file.
+ If we have no configuration, we have nothing to run, so exit.
+ * Don't chdir("/") if not forking.
+ In keepalived_main() there is a comment that the working directory
+ is / unless keepalived is run in non-forked mode, in which case it
+ remains the current working directory when keepalived was run.
+ Unfortunately start_vrrp_child() and start_check_child() were
+ executing chdir("/") regardless of whether they had been forked or not.
+ Since the parent process does chdir("/") if it is appropriate, the
+ children will inherit that, so they don't need to chdir() at all.
+ * Only set umask(0) in parent process.
+ The children inherit it from the parent, so no need to set it in
+ the vrrp or checker child processes.
+ * Further changes for script init state failed.
+ * notify: use _GNU_SOURCE.
+ Just to make compiler happy about inconsitent declaration of mempcpy
+ and strchrnul. Just cosmetics here.
+
2016-11-21 Alexandre Cassen <acassen@linux-vs.org>
* keepalived-1.3.1 released.
* Ensure lists aren't empty when checking script security.
View
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for Keepalived 1.3.1.
+# Generated by GNU Autoconf 2.69 for Keepalived 1.3.2.
#
# Report bugs to <keepalived-devel@lists.sourceforge.net>.
#
@@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='Keepalived'
PACKAGE_TARNAME='keepalived'
-PACKAGE_VERSION='1.3.1'
-PACKAGE_STRING='Keepalived 1.3.1'
+PACKAGE_VERSION='1.3.2'
+PACKAGE_STRING='Keepalived 1.3.2'
PACKAGE_BUGREPORT='keepalived-devel@lists.sourceforge.net'
PACKAGE_URL='http://www.keepalived.org/'
@@ -1372,7 +1372,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures Keepalived 1.3.1 to adapt to many kinds of systems.
+\`configure' configures Keepalived 1.3.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1438,7 +1438,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Keepalived 1.3.1:";;
+ short | recursive ) echo "Configuration of Keepalived 1.3.2:";;
esac
cat <<\_ACEOF
@@ -1577,7 +1577,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Keepalived configure 1.3.1
+Keepalived configure 1.3.2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2233,7 +2233,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Keepalived $as_me 1.3.1, which was
+It was created by Keepalived $as_me 1.3.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3096,7 +3096,7 @@ fi
# Define the identity of the package.
PACKAGE='keepalived'
- VERSION='1.3.1'
+ VERSION='1.3.2'
cat >>confdefs.h <<_ACEOF
@@ -9599,7 +9599,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by Keepalived $as_me 1.3.1, which was
+This file was extended by Keepalived $as_me 1.3.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -9666,7 +9666,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-Keepalived config.status 1.3.1
+Keepalived config.status 1.3.2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
View
@@ -36,7 +36,7 @@ AC_DEFUN([add_build_opt], [add_to_var([BUILD_OPTIONS], [$1])])
dnl ----[ Process this file with autoconf to produce a configure script ]----
AC_PREREQ([2.65])
-AC_INIT([Keepalived], [1.3.1], [keepalived-devel@lists.sourceforge.net], [], [http://www.keepalived.org/])
+AC_INIT([Keepalived], [1.3.2], [keepalived-devel@lists.sourceforge.net], [], [http://www.keepalived.org/])
AM_INIT_AUTOMAKE([-Wall -Werror -Woverride foreign])
AC_CONFIG_SRCDIR([keepalived/core/main.c])

0 comments on commit ebd70d3

Please sign in to comment.