BUG: check_smtp, protocol problems

Avleen Vig lists-nagios at silverwraith.com
Sat Jul 9 22:11:30 CEST 2005


Hi folks,

I think I've found a bug in the current check_smtp.
The problem occurs with MTA behaviour that is becoming more common:
banner delays.

The theory is, that if someone sends you data before the end of the
banner (before a line starting '220 '), they are probably a spammer
Well behaved mail software waits for the checkpoints instead of just
blasting data down the pipe.

Unfortunately the plugin isn't well behaved.
As soon as the cnnection is formed, it sends the HELO to the server
being checked. It should wait for a like starting with three digits and
a space. If the three digits are 220, then everything is OK. Otherwise,
there's an error.

Unfortunately I don't know enough C to write a patch :(
Can anyone help?

-- 
Avleen Vig
Systems Administrator
Personal: www.silverwraith.com


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list