doc: document valid nbytes ranges for byte_math

Suricata enforces 1-10 bytes when the string option is used and
1-4 bytes otherwise (DetectByteMathValidateNbytesOnly).

Ticket: https://redmine.openinfosecfoundation.org/issues/8236
pull/16333/head
Sage S 4 weeks ago
parent acd9d3a09e
commit a006b37105

@ -590,8 +590,9 @@ Format::
+-----------------------+-----------------------------------------------------------------------+
| <num of bytes> | The number of bytes selected from the packet |
| | or the name of a byte_extract variable. |
| <num of bytes> | The number of bytes selected from the packet or the name of a |
| | byte_extract variable. |
| | Valid values: 1-10 when the ``string`` option is used, 1-4 otherwise. |
+-----------------------+-----------------------------------------------------------------------+
| <offset> | Number of bytes into the payload |
+-----------------------+-----------------------------------------------------------------------+

Loading…
Cancel
Save