Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 15:20:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203044] net-mgmt/nagios-plugins: check_smtp, check_tcp segfault when monitored port is closed
Message-ID:  <bug-203044-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203044

            Bug ID: 203044
           Summary: net-mgmt/nagios-plugins: check_smtp, check_tcp
                    segfault when monitored port is closed
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat@FreeBSD.org
          Reporter: kyle.dippery@uky.edu
          Assignee: mat@FreeBSD.org
             Flags: maintainer-feedback?(mat@FreeBSD.org)

After this week's update to nagios-plugins 2.1.1, check_smtp and check_tcp
segfault when the port they are meant to be monitoring is closed:

 nagios@grackle:/usr/local/libexec/nagios>./check_smtp -V
check_smtp v (nagios-plugins 2.1.1)

 nagios@grackle:/usr/local/libexec/nagios>./check_smtp -H localhost
Segmentation fault

 nagios@grackle:/usr/local/libexec/nagios>./check_tcp -V
check_tcp v (nagios-plugins 2.1.1)

 nagios@grackle:/usr/local/libexec/nagios>./check_tcp -H localhost -p 26
Segmentation fault

Also when -v is used with no other arguments (I found this by accident, I was
aiming for -V):

 nagios@grackle:/usr/local/libexec/nagios>./check_smtp -v
HELOCMD: HELO grackle
Segmentation fault

 nagios@grackle:/usr/local/libexec/nagios>./check_tcp -v
Using service TCP
Port: 0
flags: 0x2
Segmentation fault

Host is FreeBSD 9.3-RELEASE, GENERIC kernel on amd64.

Please let me know if I can supply any further information to help resolve
this.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203044-13>