]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
README/help: add info on IPS mode tests creation
authorJuliana Fajardini <jufajardini@oisf.net>
Wed, 3 Jul 2024 19:36:14 +0000 (16:36 -0300)
committerVictor Julien <victor@inliniac.net>
Thu, 19 Sep 2024 11:53:56 +0000 (13:53 +0200)
It is possible to create a test that runs in IPS mode by just adding ips
to its name. But that is not documented. This will might not work when
using the createst script, though, as when the script runs the test for
the first time to create the `test.yaml` checks, the test-name is not
taken into consideration (therefore, the checks are valid for IDS mode).

Related to
Task #7039

README.md

index f2477dcbb9a6d6d207fd3435e308d3e6f63a72fb..f11ac3fa693207bd7f57e502e870a3ae15fe1226 100644 (file)
--- a/README.md
+++ b/README.md
@@ -20,6 +20,10 @@ Or to run a single test:
 
 - Create a directory that is the name of the new test.
 
+  If you want a test to be run in IPS mode, add `ips` to the test name.
+  This will make the `--simulate-ips` command-line argument be passed when
+  the test is run.
+
 - Copy a single pcap file into the test directory. It must end in
   ".pcap".