[acassen/keepalived] d2552c: Fix creation of iptables entries on more recent ke...

pqarmitage <[email protected]> Fri, 17 Mar 2017 13:23:26 -0700
Newsgroups gmane.linux.keepalived.devel
Message-ID <58cc45be5cb83_3fac3ff9848f1c3c11548b@hookshot-fe3-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: d2552ce6fe7e264463e3e6672f34d7b4df50d7a9
      https://github.com/acassen/keepalived/commit/d2552ce6fe7e264463e3e6672f34d7b4df50d7a9
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-17 (Fri, 17 Mar 2017)

  Changed paths:
    M configure
    M configure.ac
    M keepalived/vrrp/vrrp_iptables_calls.c
    M lib/config.h.in

  Log Message:
  -----------
  Fix creation of iptables entries on more recent kernels

On a 4.9.13 kernel iptables entries were being created with
return-nomatch ! update-counters ! update-subcounters, as shown by
the iptables command.

Although it is not understood why these options are being added, it
transpires that the problem occurs when using version one of the
xt_info_set_match, but doesn't occur when using version 4 of the
structure.

This patch ensures that the latest version of the structure that is
supported by the kernel is always used.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 8114f20527498b52305bdf1fc064120769e54241
      https://github.com/acassen/keepalived/commit/8114f20527498b52305bdf1fc064120769e54241
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-17 (Fri, 17 Mar 2017)

  Changed paths:
    M keepalived/core/main.c

  Log Message:
  -----------
  Fix updating /proc/sys/kernel/core_pattern

Reset file offset to beginning of file between reading the file and
writing new contents.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 053116b59075e7277557a37a771ead6eba5040e0
      https://github.com/acassen/keepalived/commit/053116b59075e7277557a37a771ead6eba5040e0
  Author: pqarmitage <[email protected]>
  Date:   2017-03-17 (Fri, 17 Mar 2017)

  Changed paths:
    M configure
    M configure.ac
    M keepalived/core/main.c
    M keepalived/vrrp/vrrp_iptables_calls.c
    M lib/config.h.in

  Log Message:
  -----------
  Merge pull request #546 from pqarmitage/fixes

Fix creation of iptables entries on more recent kernels and updating core dump pattern


Compare: https://github.com/acassen/keepalived/compare/37121794b7c4...053116b59075

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel