allowed_hosts does not work with a hostname resolving to an IPv6 address #31
A fully IPv6 dual stack enabled network is monitored by Nagios 3.5.1 installed from EPEL on a CentOS 6.7 server. Monitored hosts run NRPE agents, all of which are configured to run as daemons (not via xinetd) with the configuration line
This works fine for hosts running NRPE releases before 2.15 which lack IPv6 support and ony accept IPv4 connections. But on hosts with NRPE 2.15, which does support IPv6, connections from the Nagios server are rejected with the log message:
Update: It doesn't work with separate hostnames for IPv4 and IPv6 either.
in nrpe.cfg results in the log entries
into nrpe.cfg instead results in connections from 2001:db8:f00:ba8::28 being allowed as intended.
I also started a discussion about this issue at https://support.nagios.com/forum/viewtopic.php?f=7&t=35430 .
changed the title
allowed_hosts does not work with IPv4/IPv6 dualstack hosts
Oct 26, 2015
Fixed with commit 1ac9909