Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_nrpe = segfault when specifying a config file #112

Closed
Worst45 opened this issue Apr 19, 2017 · 3 comments
Closed

check_nrpe = segfault when specifying a config file #112

Worst45 opened this issue Apr 19, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@Worst45
Copy link

Worst45 commented Apr 19, 2017

I installed the 'testing' version of nagios-nrpe-plugin in Debian 8 (v3.0.1-3 amd64), and the equivalent testing version of 'nagios-nrpe-server' on another host (also in v3.0.1-3 amd64) (to use the new SSL features and prevent old/insecure ciphers)

When I try to connect to the server with '-f' option (to specify SSL limitations), I get a segfault. This can be reproduced even when the config file is empty:

# /usr/lib/nagios/plugins/check_nrpe -H 192.168.x.y -f /etc/nagios3/nrpe.cfg
Erreur de segmentation       (Segmentation fault, in French)

No connection is made to the server (I activated debug output just to be sure, and no syslog event)

If I remove the '-f' flag, I get an SSL error that I will submit in another issue :)

Some details:

# /usr/lib/nagios/plugins/check_nrpe -V

NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad (nagios@nagios.org)
Version: 3.0.1
Last Modified: 09-08-2016
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: OpenSSL 0.9.6 or higher required

My Debian is a stable version, in 8.7, with official packages

@jfrickson
Copy link
Contributor

How do you get the testing versions of packages?

@jfrickson
Copy link
Contributor

Never mind, I figured it out. Checking now.

jfrickson pushed a commit that referenced this issue Apr 19, 2017
@jfrickson jfrickson added this to the 3.1.1 milestone Apr 19, 2017
@jfrickson
Copy link
Contributor

Fixed in branch maint via commit 888ad6b

Will be in release 3.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants