feature request: have smtp conversation

Jeremy Kister argus-01 at jeremykister.com
Thu Mar 31 02:35:02 EST 2005


A SMTP service I've been monitoring has not been behaving correctly, and
we could adjust to detect this scenario.

All that was happening was at [seemingly] random times, the smtp server
would give back a 443 error (stating 'out of memory') after RCPT TO.

I'd want argus to send/expect multiple values for the one service - i.e.:

S: 220 servername.serverdomain ESMTP
   ^^^ - expect this 220
C: helo <specified helo name in config file>
S: 250 ok
   ^^^ - expect this 250
C: mail from:<>
S: 250 ok
   ^^^ - expect this 250
C: rcpt to:<specified rcpt to in config file>
S: 250 ok
   ^^^ - expect this 250
C: quit
S: 221 servername.serverdomain
   ^^^ - expect this 221

if any of the expects fail/timeout, there's no need to continue: be nice
and send a quit, close socket, and declare the poll a failure.

there's no need to code this for smtp specifically: a more generic
syntax would allow similar behavior to monitor POP3, for example.


-- 

Jeremy Kister
http://jeremy.kister.net/


More information about the Arguslist mailing list