Installasi Snort

Dari Catatan Pak Samsul
Revisi sejak 3 Januari 2022 08.23 oleh Samsul (bicara | kontrib) (←Membuat halaman berisi '1. apt install build-essential libpcap-dev libpcre3-dev libnet1-dev zlib1g-dev luajit hwloc libdnet-dev libdumbnet-dev bison flex liblzma-dev openssl libssl-dev pkg-c...')
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)
Loncat ke navigasi Loncat ke pencarian

1. apt install build-essential libpcap-dev libpcre3-dev libnet1-dev zlib1g-dev luajit hwloc libdnet-dev libdumbnet-dev bison flex liblzma-dev openssl libssl-dev pkg-config libhwloc-dev cmake cpputest libsqlite3-dev uuid-dev libcmocka-dev libnetfilter-queue-dev libmnl-dev autotools-dev libluajit-5.1-dev libunwind-dev

2.

mkdir snort-source-files
cd snort-source-files

3.

git clone https://github.com/snort3/libdaq.git
cd libdaq
./bootstrap
./configure
make
make install

4.

cd ../
wget wget https://github.com/gperftools/gperftools/releases/download/gperftools-2.8/gperftools-2.8.tar.gz
tar xzf gperftools-2.8.tar.gz
cd gperftools-2.8/
./configure
make
make install

5. Install Snort 3 from Source Code on Ubuntu 20.04

cd ../
git clone git://github.com/snortadmin/snort3.git
cd snort3/
./configure_cmake.sh --prefix=/usr/local --enable-tcmalloc
cd build
make
make install

Setelah penginstalan selesai, perbarui pustaka bersama;

ldconfig

cek versi snort yang terinstall

snort -V

Mengetahui perintah pada saja yang dapat di operasikan di snort

snort -?