]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: add upgrade page 4308/head
authorVictor Julien <victor@inliniac.net>
Mon, 7 Oct 2019 08:40:29 +0000 (10:40 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 15 Oct 2019 09:55:46 +0000 (11:55 +0200)
doc/userguide/Makefile.am
doc/userguide/index.rst
doc/userguide/upgrade.rst [new file with mode: 0644]

index fb2bb10ba654fe276fef0aec76417f368741f27e..724ec78acc8ec23a87ea86b3a4b75c457d59d506 100644 (file)
@@ -8,6 +8,7 @@ EXTRA_DIST = \
        configuration \
        file-extraction \
        index.rst \
+       upgrade.rst \
        initscripts.rst \
        install.rst \
        licenses \
index 820fe90980c07f03262bd2c7b4161b3c56ea0695..5e4821988d13bcdba6a8228ea729952efcbe7be8 100644 (file)
@@ -8,6 +8,7 @@ Suricata User Guide
    what-is-suricata
    quickstart
    install.rst
+   upgrade.rst
    command-line-options
    rules/index.rst
    rule-management/index.rst
diff --git a/doc/userguide/upgrade.rst b/doc/userguide/upgrade.rst
new file mode 100644 (file)
index 0000000..c2031af
--- /dev/null
@@ -0,0 +1,56 @@
+Upgrading
+=========
+
+General instructions
+--------------------
+
+Suricata can be upgraded by simply installing the new version to the same
+locations as the already installed version. When installing from source,
+this means passing the same ``--prefix``, ``--sysconfdir``,
+``--localstatedir`` and ``--datadir`` options to ``configure``.
+
+::
+
+    $ suricata --build-info|grep -A 3 '\-\-prefix'
+        --prefix                                 /usr
+        --sysconfdir                             /etc
+        --localstatedir                          /var
+        --datarootdir                            /usr/share
+
+
+Configuration Updates
+~~~~~~~~~~~~~~~~~~~~~
+
+New versions of Suricata will occationally include updated config files:
+``classification.config`` and ``reference.config``. Since the Suricata
+installation will not overwrite these if they exist, they should be manually
+updated. If there are no local modifications they can simply be overwritten
+by the ones Suricata supplies.
+
+Major updates include new features, new default settings and often also
+remove features.
+
+
+Upgrading 4.1 to 5.0
+--------------------
+
+Major changes
+~~~~~~~~~~~~~
+- New protocols enabled by default: snmp (new config only)
+- New protocols disabled by default: rdp, sip
+- New defaults for protocols: nfs, smb, tftp, krb5 ntp are all enabled
+  by default (new config only)
+- VXLAN decoder enabled by default. To disable, set
+  ``decoder.vxlan.enabled`` to ``false``.
+- HTTP LZMA support enabled by default. To disable, set ``lzma-enabled``
+  to ``false`` in each of the ``libhtp`` configurations in use.
+- classification.config updated. ET 5.0 ruleset will use this.
+- decoder event counters use 'decoder.event' as prefix now. This can
+  be controlled using the ``stats.decoder-events-prefix`` setting.
+
+Removals
+~~~~~~~~
+- ``dns-log``, the text dns log. Use EVE.dns instead.
+- ``file-log``, the non-EVE JSON file log. Use EVE.files instead.
+
+See https://suricata-ids.org/about/deprecation-policy/