AW: nrpe-2.5 and solaris 2.6

Gerhard Lausser Gerhard.Lausser at consol.de
Sat Mar 25 18:47:01 CET 2006


 
Hi Ethan,

> i just tried to compile the cvs version of nrpe on a solaris 
> 2.6 machine.
i had a closer look at it, so i will answer myself...

The problem is the IPv6 support. What was a good intention prevents a
successful compilation of the is_an_allowed_host function. INET6_ADDRSTRLEN
and inet_ntop are not available in elder operating systems. (I do not say
deprecated, because you still find Solaris2.6 machines everywhere).
The IPv6-awareness also is a bit ahead, as throughout of nrpe.c inet_ntoa is
used.
So i made a patch which makes the DNS lookup in is_an_allowed_host IPv4-only
again.

Greetings from Munich,
Gerhard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nrpe-2.5pre-allowedhosts.ipv4.patch
Type: application/octet-stream
Size: 1273 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060325/4687640e/attachment.obj>


More information about the Developers mailing list