]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: add usage of flowbits OR op
authorShivani Bhardwaj <shivanib134@gmail.com>
Sat, 19 Feb 2022 06:33:10 +0000 (12:03 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 8 Mar 2022 15:04:15 +0000 (20:34 +0530)
Ticket 5130

(cherry picked from commit 015c9fe1e3aebd2a2f01b91d4e5f81d977bbdd9d)

doc/userguide/rules/flow-keywords.rst

index 73df8341f4ab3473a02dbeae3056e21f05d32d30..f0cad2d3a48acf47f7726a28e33d9956f58dc6a0 100644 (file)
@@ -53,6 +53,13 @@ will be generated.
 It is possible to use flowbits several times in a rule and combine the
 different functions.
 
+It is also possible to perform an `OR` operation with flowbits with `|` op.
+
+Example::
+  alert http any any -> any any (msg: "User1 or User2 logged in"; content:"login"; flowbits:isset,user1|user2; sid:1;)
+
+This can be used with either `isset` or `isnotset` action.
+
 flow
 ----