Prepare For Snort Installation

Running Snort

Intel® PAC
Napatech SmartNIC
Content Type
Application Note
Capture Software Version
Link™ Capture Software 12.4

About this task

Guides for setting up Snort on various OS distributions are available from

Pre-built packages for Fedora, CentOS and FreeBSD are also available from

The following guide describes how to install Snort from source. Snort will be installed with the prefix /usr/local/snort and configured to use registered rules.

Before you begin

This installation process example assumes that:
  • The host OS is CentOS 6.8. You may need to adapt the installation process for other OS distributions.
  • The Napatech Software Suite and libpcap with Napatech extensions are installed as described in DN-0379 and DN-0428. For this example, the Napatech Software Suite and Napatech libpcap were installed in the default installation directory, /opt/napatech3/.
  • You have installed the software packages required for building and running libdnet, daq, and Snort, such as pcre and zlib libraries and headers.
  • The snort.conf from the Snort rules package may assume that additional software packages are installed, such as lzma libraries and headers.


To prepare for Snort installation, perform the following steps.


  1. Download this software package from
    • libdnet-1.12.tar.gz
  2. Download snort software packages from
    1. To download registered snort rules, you must register and log in to
    2. Download these software packages from
      • daq-2.0.6.tar.gz
      • snort-
      • snortrules-snapshot-2990.tar.gz

      The version number of the Snort rules package must correspond to the version number of the Snort package.

      Only very recent releases of Snort and daq are available from You can get earlier releases from