You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alert smtp any any -> any any (msg:"Test mime email received"; email.received; content:"from client.local (client.local [10.0.0.1]) by smtp.relay1.com with ESMTP id relay1abc\; Thu, 10 Apr 2025 12:00:00 -0000"; startswith; endswith; bsize:119; sid:1;)
2
2
alert smtp any any -> any any (msg:"Test mime email received"; email.received; content:"from smtp.relay1.com (smtp.relay1.com [10.0.0.10]) by smtp.relay2.com with ESMTP id relay2xyz\; Thu, 10 Apr 2025 12:01:00 -0000"; startswith; endswith; bsize:126; sid:2;)
3
3
alert smtp any any -> any any (msg:"Test mime email received"; email.received; content:"from smtp.relay2.com (smtp.relay2.com [10.0.0.20]) by smtp.destination.com with ESMTP id final123\; Thu, 10 Apr 2025 12:02:00 -0000"; startswith; endswith; bsize:130; sid:3;)
4
+
5
+
#TODO put in new test with min-version
6
+
# Match
7
+
alert smtp any any -> any any (msg:"Test mime email received count 3"; email.received: count 3; sid:10;)
8
+
alert smtp any any -> any any (msg:"Test mime email received count !2"; email.received: count !2; sid:11;)
9
+
# No match
10
+
alert smtp any any -> any any (msg:"Test mime email received count 0"; email.received: count 0; sid:20;)
11
+
alert smtp any any -> any any (msg:"Test mime email received count <3"; email.received: count <3; sid:21;)
12
+
13
+
alert smtp any any -> any any (msg:"Test mime email received"; email.received: all; content:"from"; sid: 30;)
14
+
alert smtp any any -> any any (msg:"Test mime email received"; email.received: all1; content:"from"; sid: 31;)
15
+
alert smtp any any -> any any (msg:"Test mime email received"; email.received: nb 2; content:"relay1"; sid: 32;)
0 commit comments