Skip to content

Commit

Permalink
stream: mark urgent experimental; set safe defaults
Browse files Browse the repository at this point in the history
Uncomment in default config. This will make the policy "inline",
which is the same behavior as prior to the urgent policy support.

Add line to docs that this is an experimental feature.
  • Loading branch information
victorjulien committed Dec 12, 2024
1 parent faf2613 commit 55b4c1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions doc/userguide/configuration/suricata-yaml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,8 @@ for example RFC 6093, 3.4).

Several options are provided to control how to deal with the urgent pointer.

.. note:: TCP urgent handling is considered experimental at this time

::

stream:
Expand Down
7 changes: 4 additions & 3 deletions suricata.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -1592,9 +1592,10 @@ stream:
#midstream-policy: ignore
inline: auto # auto will use inline mode in IPS mode, yes or no set it statically
reassembly:
urgent:
policy: oob # drop, inline, oob (1 byte, see RFC 6093, 3.1), gap
oob-limit-policy: drop
# experimental TCP urgent handling logic
#urgent:
# policy: inline # drop, inline, oob (1 byte, see RFC 6093, 3.1), gap
# oob-limit-policy: drop
memcap: 256mb
#memcap-policy: ignore
depth: 1mb # reassemble 1mb into a stream
Expand Down

0 comments on commit 55b4c1e

Please sign in to comment.