Before you begin
- snort-2.9.9.0.tar.gz is downloaded.
- libdnet is installed as described in Install libdnet
- daq is installed as described in Install daq
Steps
To install Snort with the prefix /usr/local/snort, execute the following commands:
$ tar zxvf snort-2.9.9.0.tar.gz $ cd snort-2.9.9.0 $ ./configure --enable-sourcefire --prefix=/usr/local/snort --with-libpcap-includes=/opt/napatech3/include/ --with-libpcap-libraries=/opt/napatech3/lib/ $ make $ sudo make install $ sudo mkdir /var/log/snort
You can verify the installation with this command:
$ /usr/local/snort/bin/snort -V ,,_ -*> Snort! <*- o" )~ Version 2.9.9.0 GRE (Build 56) '''' By Martin Roesch & The Snort Team: http://www.snort.org/contact#team Copyright (C) 2014-2016 Cisco and/or its affiliates. All rights reserved. Copyright (C) 1998-2013 Sourcefire, Inc., et al. Using libpcap version 1.7.3 Using PCRE version: 7.8 2008-09-05 Using ZLIB version: 1.2.3