This document provides installation guides for supported open-source libraries and applications that can be used with Napatech SmartNICs.
In this document
Procedures for the following open source libraries and applications are included:
- libpcap
- Napatech DPDK
- Suricata
- Snort
- Zeek (formerly Bro)
- TRex
Before you begin
The provided installation and configuration procedures require the following before you begin.
- The Napatech driver and SmartNICs must be installed and started before the open-source
libraries and applications are used. The latest Napatech driver package can be found at
https://www.napatech.com/downloads/.
Install the Napatech driver by running package_install_3gd.sh
(located in the directory of the unpacked
package):
./package_install_3gd.sh
Note: You will be prompted to install the Napatech libpcap. Select the libpcap version if you would like to use libpcap with Napatech SmartNICs and your open-source application.The following command will start the Napatech driver and ntservice./opt/Napatech3/bin/ntstart.sh
An output example:Loading nt3gd driver [Done] Creating driver device file [Done] Loading nt3gd_netdev driver [Done] Creating driver device file [Done] Starting NTService (this may take a while) [Done]
See DN-0379 or DN-1340 for more information about installation of the Napatech driver package and starting the driver. - If libpcap is required and you have not installed the Napatech libpcap during the Napatech driver installation, the Napatech libpcap must be installed as described in DN-0428.
Note: In this document, it is assumed that the Napatech driver and the Napatech libpcap
are installed in the default installation directory, /opt/napatech3/.
If the Napatech driver and the Napatech libpcap are installed elsewhere, the correct
installation directory must be used.
Note: The installation process is described using
a source-based installation on CentOS 7 as an example. You must adapt the installation
process for other Linux distributions. As open-source applications are updated frequently,
the installation procedure described in this document might not be optimal for the newer
release packages.
Note: For security reasons, you may need open-source applications to
run as an unprivileged user in a production environment. The described procedures in this
document do not provide how to do this.