[acassen/keepalived] 5a6e89: Don't attempt to set packet priority for wrong IP ...

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <5797206e1db7_29e23f8df92fb2c07278b@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 5a6e89783b0c0274a676f5d54a055e81f6d7c1dd
      https://github.com/acassen/keepalived/commit/5a6e89783b0c0274a676f5d54a055e81f6d7c1dd
  Author: Quentin Armitage <[email protected]>
  Date:   2016-07-24 (Sun, 24 Jul 2016)

  Changed paths:
    M keepalived/include/ipvswrapper.h
    M keepalived/include/vrrp_if.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_scheduler.c

  Log Message:
  -----------
  Don't attempt to set packet priority for wrong IP protocol

if_setsockopt_priority() was setting SO_PRIORITY socket option regardless
of whether the socket was IPv4 or IPv6. Although the setsockopt() call doesn't
fail for IPv6, it doesn't do anything.

Commit fc7ea83 added setting IPV6_TCLASS, again for both IPv4 and IPv6, but
the setsockopt() call fails on an IPv4 socket.

This commit makes keepalived only set the appropriate socket option, depending
on whether it is an IPv4 or IPv6 socket.

The commit also changes from using the SO_PRIORITY option for IPv4 to using the
more specific IP_TOS option.

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


  Commit: 7753e17f06bf0be45891f967aeb2fe7d70953826
      https://github.com/acassen/keepalived/commit/7753e17f06bf0be45891f967aeb2fe7d70953826
  Author: Quentin Armitage <[email protected]>
  Date:   2016-07-24 (Sun, 24 Jul 2016)

  Changed paths:
    M lib/signals.c

  Log Message:
  -----------
  Avoid compiler warning of duplicate definition

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


  Commit: 7812465f5bdd5e6fe3732e061a6c1edd335836a2
      https://github.com/acassen/keepalived/commit/7812465f5bdd5e6fe3732e061a6c1edd335836a2
  Author: Quentin Armitage <[email protected]>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M lib/memory.h

  Log Message:
  -----------
  Add function attributes to malloc functions


  Commit: db30e1dbd96f0054e5a9fbd83c217e21b9f2ffab
      https://github.com/acassen/keepalived/commit/db30e1dbd96f0054e5a9fbd83c217e21b9f2ffab
  Author: Quentin Armitage <[email protected]>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M doc/KEEPALIVED-MIB

  Log Message:
  -----------
  KEEPALIVED-MIB vrrpRuleIndex should be unsigned


  Commit: 238b91d1782516c90747f636e38c65cc6b2f553e
      https://github.com/acassen/keepalived/commit/238b91d1782516c90747f636e38c65cc6b2f553e
  Author: Quentin Armitage <[email protected]>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M configure
    M configure.ac
    M doc/KEEPALIVED-MIB
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M keepalived/check/ipvswrapper.c
    A keepalived/include/vrrp_ip_rule_route_parser.h
    M keepalived/include/vrrp_ipaddress.h
    M keepalived/include/vrrp_iproute.h
    M keepalived/include/vrrp_iprule.h
    M keepalived/include/vrrp_netlink.h
    M keepalived/vrrp/Makefile.in
    M keepalived/vrrp/vrrp_daemon.c
    A keepalived/vrrp/vrrp_ip_rule_route_parser.c
    M keepalived/vrrp/vrrp_ipaddress.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_iprule.c
    M keepalived/vrrp/vrrp_netlink.c
    M keepalived/vrrp/vrrp_print.c
    M keepalived/vrrp/vrrp_snmp.c
    M lib/logger.c
    M lib/logger.h
    M lib/memory.h
    M lib/parser.c
    M lib/rttables.c
    M lib/rttables.h

  Log Message:
  -----------
  Allow all ip rule/route options for rules and routes

This commit adds support for all ip rule/route supported options for
rules and routes (and also tunnel-id rule option not yet supported
by ip rule).

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


  Commit: a08d30bde05d3972cf655c604793c3f7cdcddbfb
      https://github.com/acassen/keepalived/commit/a08d30bde05d3972cf655c604793c3f7cdcddbfb
  Author: Quentin Armitage <[email protected]>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M configure
    M configure.ac
    M keepalived/vrrp/Makefile.in

  Log Message:
  -----------
  Make ip rules/routes a configuration option

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


  Commit: dec5db3c4796878843bc21f2ff2b9ddcd63f2fcf
      https://github.com/acassen/keepalived/commit/dec5db3c4796878843bc21f2ff2b9ddcd63f2fcf
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M configure
    M configure.ac
    M doc/KEEPALIVED-MIB
    M doc/keepalived.conf.SYNOPSIS
    M doc/man/man5/keepalived.conf.5
    M keepalived/check/ipvswrapper.c
    M keepalived/include/ipvswrapper.h
    M keepalived/include/vrrp_if.h
    A keepalived/include/vrrp_ip_rule_route_parser.h
    M keepalived/include/vrrp_ipaddress.h
    M keepalived/include/vrrp_iproute.h
    M keepalived/include/vrrp_iprule.h
    M keepalived/include/vrrp_netlink.h
    M keepalived/vrrp/Makefile.in
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_if.c
    A keepalived/vrrp/vrrp_ip_rule_route_parser.c
    M keepalived/vrrp/vrrp_ipaddress.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_iprule.c
    M keepalived/vrrp/vrrp_netlink.c
    M keepalived/vrrp/vrrp_print.c
    M keepalived/vrrp/vrrp_scheduler.c
    M keepalived/vrrp/vrrp_snmp.c
    M lib/logger.c
    M lib/logger.h
    M lib/memory.h
    M lib/parser.c
    M lib/rttables.c
    M lib/rttables.h
    M lib/signals.c

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

Add all ip rules/routes options, and minor fixes


Compare: https://github.com/acassen/keepalived/compare/7a23dd74e644...dec5db3c4796

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.