[Pkg-nagios-devel] Bug#285554: marked as done (check_smtp violates
SMTP protocol, and is quite limited)
Debian Bug Tracking System
owner at bugs.debian.org
Sun Oct 9 14:48:30 UTC 2005
Your message dated Sun, 9 Oct 2005 10:01:14 -0400
with message-id <20051009140114.GA21043 at seanius.net>
and subject line check_smtp update
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Dec 2004 01:41:59 +0000
>From jeroen at wolffelaar.nl Mon Dec 13 17:41:59 2004
Return-path: <jeroen at wolffelaar.nl>
Received: from 220pc220.sshunet.nl (mordor.wolffelaar.nl) [145.97.220.220] (Debian-exim)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Ce1hP-0006eU-00; Mon, 13 Dec 2004 17:41:59 -0800
Received: from jeroen by mordor.wolffelaar.nl with local (Exim 4.34)
id 1Ce1hO-0004Y0-Hv
for submit at bugs.debian.org; Tue, 14 Dec 2004 02:41:58 +0100
Date: Tue, 14 Dec 2004 02:41:58 +0100
From: Jeroen van Wolffelaar <jeroen at wolffelaar.nl>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: check_smtp violates SMTP protocol, and is quite limited
Message-ID: <20041214014158.GA16225 at wolffelaar.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.2
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: nagios-plugins
Version: 1.3.1.0-12
Severity: normal
Quoting from my exim4 logs under heavy load:
2004-12-14 02:27:17 SMTP protocol violation: synchronization error (input sent without waiting for greeting): rejected connection from H=220pc220.sshunet.nl [145.97.220.220] U=nagios
I can't see anymore in my logs, but I guess my server responded with a
4xx error to the connect because the system load was too high.
check_smtp should have closed the connection, but didn't. Also, looking
at the code, there is no support at all for multiline server responses.
There is support for sending MAIL FROM I see, but that's not very useful
without the possbility for a RCPT TO too, to check whether a certain
email address is allowed. nagios also doesn't check status codes at all,
to warn if that code is something different than 2xx or whatever is
expected as a positive response at that time.
--Jeroen
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Versions of packages nagios-plugins depends on:
ii bind9-host [host] 1:9.2.4-1 Version of 'host' bundled with BIN
ii dnsutils 1:9.2.4-1 Clients provided with BIND
ii fping 2.4b2-to-ipv6-8 sends ICMP ECHO_REQUEST packets to
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libldap2 2.1.30-3 OpenLDAP libraries
ii libmysqlclient12 4.0.22-2 mysql database client library
ii libnet-snmp-perl 5.0.1-1 Script SNMP connections
ii libpq3 7.4.6-5 PostgreSQL C client library
ii libssl0.9.7 0.9.7e-2 SSL shared libraries
ii netkit-ping [ping] 0.10-10 The ping utility from netkit
ii ntp 1:4.2.0a-11 Network Time Protocol: network uti
ii ntp-simple 1:4.2.0a-11 Network Time Protocol: daemon for
ii ntpdate 1:4.2.0a-11 The ntpdate client for setting sys
ii procps 1:3.2.1-2 The /proc file system utilities
ii qstat 2.6-1 Command-line tool for querying qua
ii radiusclient1 0.3.2-8 /bin/login replacement which uses
ii smbclient 3.0.9-1 a LanManager-like simple client fo
ii snmp 5.1.2-6 NET SNMP (Simple Network Managemen
-- no debconf information
--
Jeroen van Wolffelaar
jeroen at wolffelaar.nl
http://jeroen.A-Eskwadraat.nl
---------------------------------------
Received: (at 285554-close) by bugs.debian.org; 9 Oct 2005 14:01:46 +0000
>From seanius at seanius.net Sun Oct 09 07:01:46 2005
Return-path: <seanius at seanius.net>
Received: from dsl092-235-113.phl1.dsl.speakeasy.net (sativa.seanius.net) [66.92.235.113]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EObkI-00021y-00; Sun, 09 Oct 2005 07:01:46 -0700
Received: by sativa.seanius.net (Postfix, from userid 1000)
id B536C15834; Sun, 9 Oct 2005 10:01:14 -0400 (EDT)
Date: Sun, 9 Oct 2005 10:01:14 -0400
From: sean finney <seanius at debian.org>
To: 285554-close at bugs.debian.org
Subject: check_smtp update
Message-ID: <20051009140114.GA21043 at seanius.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: 285554-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
it looks like the latest version of check_smtp behaves a little
better. it waits for the server response before sending helo,
which it does before sending starttls stuff. if you still think
there's a problem, please reopen the bug and mention what still
needs to be fixed, and i'll take a stab at it.
sean
--=20
--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFDSSKqynjLPm522B0RAiuIAJ4nV9NqEixo4qwOUysyUBStHQ+PRACffWAy
+kL97ecUqJ/4f0JYD+fXZHc=
=pf4f
-----END PGP SIGNATURE-----
--xHFwDpU9dbj6ez1V--
More information about the Pkg-nagios-devel
mailing list