]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
smtp-mime: add server reply codes returned from outlook server
authorTom DeCanio <decanio.tom@gmail.com>
Tue, 28 Jan 2014 23:33:26 +0000 (15:33 -0800)
committerVictor Julien <victor@inliniac.net>
Thu, 30 Oct 2014 12:33:53 +0000 (13:33 +0100)
src/app-layer-smtp.c

index 0d5ef040e8e7d797ea6a20f18c3475a6964542c3..606f795d980d453f92e27fc687e5c910f70b6ee4 100644 (file)
@@ -147,10 +147,12 @@ enum {
     SMTP_REPLY_214,
     SMTP_REPLY_220,
     SMTP_REPLY_221,
+    SMTP_REPLY_235,
     SMTP_REPLY_250,
     SMTP_REPLY_251,
     SMTP_REPLY_252,
 
+    SMTP_REPLY_334,
     SMTP_REPLY_354,
 
     SMTP_REPLY_421,
@@ -177,10 +179,12 @@ SCEnumCharMap smtp_reply_map[ ] = {
     { "214", SMTP_REPLY_214 },
     { "220", SMTP_REPLY_220 },
     { "221", SMTP_REPLY_221 },
+    { "235", SMTP_REPLY_235 },
     { "250", SMTP_REPLY_250 },
     { "251", SMTP_REPLY_251 },
     { "252", SMTP_REPLY_252 },
 
+    { "334", SMTP_REPLY_334 },
     { "354", SMTP_REPLY_354 },
 
     { "421", SMTP_REPLY_421 },