[pgpool-committers: 926] pgpool: Add authentication mechanism for watchdog packet communication

Yugo Nagata nagata at sraoss.co.jp
Fri Apr 26 21:21:44 JST 2013


Add authentication mechanism for watchdog packet communication

Watchdog packets from pgpool having wrong authentication key are
rejected. All pgpools must have the same key, which is specified
option wd_authkey in pgpool.conf. pgpool with wrong authkey can't
even start watchdog, because the startup packet is rejected by other
pgpools.

Branches
--------
feature/watchdog_for_v3_3
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=5bc8c654bd774020f1cdc8f097ff36d78f72e1c2

Modified Files
--------------
pgpool.conf.sample      |   44 +++++++++++---------
pool_config.c           |    6 +-
pool_config.h           |    2 +-
pool_config.l           |    6 +-
watchdog/watchdog.c     |    6 ++-
watchdog/watchdog.h     |    7 ++-
watchdog/wd_child.c     |   25 ++++++++++-
watchdog/wd_ext.h       |    4 ++
watchdog/wd_interlock.c |    2 +-
watchdog/wd_packet.c    |  105 +++++++++++++++++++++++++++++++++++++++++++++++
watchdog/wd_udp.c       |   54 ++++++++----------------
11 files changed, 191 insertions(+), 70 deletions(-)



More information about the pgpool-committers mailing list