feature request: have smtp conversation

Jeremy Kister argus-01 at jeremykister.com
Tue May 31 14:28:48 EDT 2005


On 3/31/2005 2:35 AM, I wrote:
>> 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 -
[...]
>> there's no need to code this for smtp specifically: a more generic
>> syntax would allow similar behavior to monitor POP3, for example.


I have a rather ugly implementation at
http://jeremy.kister.net/code/argus/converse.pl


note: the command is one line.

 Service Prog {
  label: SMTP Conversation
  command: converse.pl -a hostname -p 25 -c '^220\s##HELO
foo##^250\s##MAIL FROM:<>##^250\s##RCPT
TO:<bitbucket at example.net>##250\s##quit##^221\s'
  nexpect: ERROR
 }



-- 

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


More information about the Arguslist mailing list