]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
swf-decompression: Disable by default.
authorTodd Mortimer <richard.mortimer@cyber.gc.ca>
Mon, 31 Oct 2022 17:39:51 +0000 (17:39 +0000)
committerVictor Julien <vjulien@oisf.net>
Fri, 18 Nov 2022 07:27:02 +0000 (08:27 +0100)
Add an entry to the upgrade guide noting the change.

Ticket: #5632

doc/userguide/upgrade.rst
suricata.yaml.in

index 706ba14a96673186d4a477e85a05914cf5d36ca5..8c551a2b032960413c5b858e21b005875eda13a8 100644 (file)
@@ -59,6 +59,8 @@ Other changes
 - NSS is no longer required. File hashing and JA3 can now be used without the NSS compile time dependency.
 - If installing Suricata without the bundled Suricata-Update, the ``default-rule-path`` has been changed from ``/etc/suricata/rules`` to ``/var/lib/suricata/rules`` to be consistent with Suricata when installed with Suricata-Update.
 - FTP has been updated with a maximum command request and response line length of 4096 bytes. To change the default see :ref:`suricata-yaml-configure-ftp`.
+- SWF decompression in http has been disabled by default. To change the default see :ref:`suricata-yaml-configure-libhtp`. Users with configurations from previous releases may want to modify their config to match the new default.
+  See https://redmine.openinfosecfoundation.org/issues/5632 for more information.
 
 Logging changes
 ~~~~~~~~~~~~~~~
index 5988dfbf679c1bbd8a3ae42a5c87eb97bdc22b65..44a3833cb379fe67cf0c66c2c39aa0154526617c 100644 (file)
@@ -970,7 +970,7 @@ app-layer:
            # auto will use http-body-inline mode in IPS mode, yes or no set it statically
            http-body-inline: auto
 
-           # Decompress SWF files.
+           # Decompress SWF files. Disabled by default.
            # Two types: 'deflate', 'lzma', 'both' will decompress deflate and lzma
            # compress-depth:
            # Specifies the maximum amount of data to decompress,
@@ -979,7 +979,7 @@ app-layer:
            # Specifies the maximum amount of decompressed data to obtain,
            # set 0 for unlimited.
            swf-decompression:
-             enabled: yes
+             enabled: no
              type: both
              compress-depth: 100kb
              decompress-depth: 100kb