[Nagiosplug-devel] trying out gnutls
sean finney
seanius at seanius.net
Tue Oct 18 15:49:10 CEST 2005
so apparently, the gnutls folks while using their own api are kind enough
to *also* provide a compatibility api with openssl, which for the
most part seems to work:
http://www.gnu.org/software/gnutls/manual/html_node/Compatibility-with-the-OpenSSL-library.html
however, i have encountered a couple problems.
- the configure.in code for openssl detection/support is a total mess
- the above compatability api doesn't cover x509 cert checking
i've managed to work around the first issue with a bit of persistance,
and the second issue i've temporarily sidelined with judicious use
of #ifdef's (so cert checking is disabled for the time being in
gnutls-compiled versions).
in the interest of sanity for all, i haven't changed any default
settings. if you want gnutls support, you need to pass to ./configure
"--without-openssl --with-gnutls" (and have gnutls development libraries
installed, of course). unless of course you don't have openssl
installed, in which case it will fall through to using gnutls if it's
there.
currently, the only plugin i've hacked on is check_tcp, but there was
very little work to do there, most of the hard work was wrestling with
./configure.in. anyway, in the next day or two i'll try and make
support more complete, as well as clean up the code in configure.in
if that's okay.
sean
ps - my last commit to check_disk seems to have broken something...
i'll see about fixing that too :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://nagios-plugins.org/archive/devel/attachments/20051018/4f90cd3c/attachment.sig>
More information about the Devel
mailing list