I configured NRPE daemon (/usr/local/nagios/etc/nrpe.cfg
) in debug mode because of some startup problems and I realized that the ::1
found by default in the allowed_hosts
directive:
allowed_hosts=127.0.0.1,::1,10.252.1.134
is magically turned into 52.0.0.0/14
according to the log:
Sep 6 08:56:44 myhost nrpe[30830]: Warning: Cannot open log file '/usr/local/nagios/var/nrpe.log' for writing
Sep 6 08:56:44 myhost nrpe[30830]: parse_allowed_hosts: parsing the allowed host string >127.0.0.1,::1,10.252.1.134< to add to ACL list
Sep 6 08:56:44 myhost nrpe[30830]: add_ipv4_to_acl: checking ip-address >127.0.0.1<
Sep 6 08:56:44 myhost nrpe[30830]: add_ipv4_to_acl: ip-address >127.0.0.1< correct, adding.
Sep 6 08:56:44 myhost nrpe[30830]: add_ipv4_to_acl: checking ip-address >10.252.1.134<
Sep 6 08:56:44 myhost nrpe[30830]: add_ipv4_to_acl: ip-address >10.252.1.134< correct, adding.
Sep 6 08:56:44 myhost nrpe[30830]: Showing ACL lists for both IP and DOMAIN acl's:
Sep 6 08:56:44 myhost nrpe[30830]: IP ACL: 127.0.0.1/32 16777343
Sep 6 08:56:44 myhost nrpe[30830]: IP ACL: 52.0.0.0/14 52
Sep 6 08:56:44 myhost nrpe[30830]: IP ACL: 10.252.1.134/32 4269145354
Sep 6 08:56:44 myhost nrpe[30830]: INFO: SSL/TLS initialized. All network traffic will be encrypted.
Sep 6 08:56:44 myhost nrpe[30830]: Starting up daemon
Is there any explanation for that?
NRPE version is 3.2.0