]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: add napatech plugin upgrade notes
authorJeff Lucovsky <jlucovsky@oisf.net>
Sun, 14 Jul 2024 13:29:37 +0000 (09:29 -0400)
committerVictor Julien <victor@inliniac.net>
Sat, 12 Oct 2024 09:03:34 +0000 (11:03 +0200)
Issue: 7165

doc/userguide/upgrade.rst
doc/userguide/upgrade/8.0-napatech-plugin.rst [new file with mode: 0644]

index 389cca88cf405058b62202a93cfc740f628686e8..63e2146280ab4c1b17c5202fd4d8bddc823b9e7d 100644 (file)
@@ -77,6 +77,8 @@ Major changes
     - sip.to
     - sip.content_type
     - sip.content_length
+- Napatech support has been moved to a capture plugin. See :doc:`Napatech plugin
+  <upgrade/8.0-napatech-plugin>`.
 
 Removals
 ~~~~~~~~
diff --git a/doc/userguide/upgrade/8.0-napatech-plugin.rst b/doc/userguide/upgrade/8.0-napatech-plugin.rst
new file mode 100644 (file)
index 0000000..af9c0bc
--- /dev/null
@@ -0,0 +1,42 @@
+:orphan: Document only referenced from upgrade.rst
+
+Napatech as a Plugin
+====================
+
+Suricata 8.0 moves Napatech packet capture support to a dynamically loaded
+plugin. For convenience, this plugin is still bundled with Suricata, but it
+may be removed from the Suricata source tree into its own repository in a
+future release.
+
+Upgrading
+---------
+
+Suricata 8.0 continues to respect the ``--enable-napatech`` compile time
+option, as well as the ``--napatech`` command-line options, and also
+the ``napatech`` section of the configuration file.
+
+.. note:: When the Napatech capture plugin is eventually removed from the
+          Suricata source tree these options may be removed and/or changed
+          as this would allow the Napatech capture plugin to have its own
+          release cycle and make changes independent of Suricata.
+
+However, the ``napatech`` capture plugin must be loaded before it can be
+used. If doing a fresh build of Suricata with Napatech support, the
+``suricata.yaml`` configuration file should be configured to load the
+plugin already, for example::
+
+  plugins:
+    - /usr/lib/suricata/napatech.so
+
+If you are upgrading, you will need to add the location of
+``napatech.so`` to the ``plugins`` section of your ``suricata.yaml``
+manually, as shown above.
+
+Existing Napatech command-line options and configuration should continue to work.
+
+Caveats
+-------
+
+Currently building the Napatech capture plugin is not compatible with the
+``--disable-shared`` configure argument.
+