Xiche / fedora-snort3-dev

Fedora-based Snort++ development image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snort++ build quick start (inside the container) with unit test support:

cd $HOME
git clone https://github.com/cpputest/cpputest.git
cd cpputest
mkdir obj
cd obj
cmake -DC++11=ON ..
make -j$(nproc) install

cd $HOME
git clone https://github.com/snort3/libdaq.git
cd libdaq
./bootstrap
./configure --libdir=/usr/local/lib64
make install
ldconfig

cd $HOME
git clone https://github.com/snort3/snort3.git
cd snort3
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
./configure_cmake.sh --prefix=$HOME/install/snort3 --enable-unit-tests
cd build
make -j$(nproc) install
make -j$(nproc) check

$HOME/install/snort3/bin/snort -V
$HOME/install/snort3/bin/snort --catch-test all

About

Fedora-based Snort++ development image


Languages

Language:Dockerfile 100.0%