From df389f8a43a06c718bb336ea082d6c80d6fefda0 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Wed, 7 Jan 2026 10:33:57 +0530 Subject: [PATCH] doc: add dcerpc.max-stub-size config param (cherry picked from commit 6702791a9c4463858c8b54ee8678fd4f5fbe831a) --- doc/userguide/configuration/suricata-yaml.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/userguide/configuration/suricata-yaml.rst b/doc/userguide/configuration/suricata-yaml.rst index bd414fbc64..8ea093b51a 100644 --- a/doc/userguide/configuration/suricata-yaml.rst +++ b/doc/userguide/configuration/suricata-yaml.rst @@ -1674,6 +1674,9 @@ Several options are available for limiting record sizes and data chunk tracking. max-write-queue-size: 16mb max-write-queue-cnt: 16 + dcerpc: + max-stub-size: 1MiB + The `max-read-size` option can be set to control the max size of accepted READ records. Events will be raised if a READ request asks for too much data and/or if READ responses are too big. A value of 0 disables the checks. @@ -1685,6 +1688,8 @@ data. A value of 0 disables the checks. Additionally if the `max-read-size` or `max-write-size` values in the "negotiate protocol response" exceeds this limit an event will also be raised. +To control the size of the DCERPC stub data, `dcerpc.max-stub-size` should be +used. It is by default set to 1MiB. For file tracking, extraction and file data inspection the parser queues up out of order data chunks for both READs and WRITEs. To avoid using too much @@ -1710,6 +1715,13 @@ the limits are exceeded, and an event will be raised. `max-write-queue-size` and `max-write-queue-cnt` are as the READ variants, but then for WRITEs. +Configure DCERPC +~~~~~~~~~~~~~~~~ + +DCERPC has one parameter that can be customized. +`max-stub-size` is used to control the stub data size of a DCERPC request/response. By +default, it is set to 1MiB. + Configure HTTP2 ~~~~~~~~~~~~~~~