Difference between revisions of "SNORT: Install SNORT saja Ubuntu 16.04"

From OnnoWiki
Jump to navigation Jump to search
Line 36: Line 36:
 
  wget https://www.snort.org/downloads/community/opensource.tar.gz
 
  wget https://www.snort.org/downloads/community/opensource.tar.gz
 
  tar -xvfz community.tar.gz -C /etc/snort/rules
 
  tar -xvfz community.tar.gz -C /etc/snort/rules
 +
 +
 +
==Load Library & check snort==
 +
 +
ldconfig
 +
snort -c
  
 
==Referensi==
 
==Referensi==
  
 
* https://www.snort.org/#get-started
 
* https://www.snort.org/#get-started

Revision as of 08:46, 15 March 2017

Siapkan Aplikasi Pendukung

sudo locale-gen id_ID.UTF-8
apt update
apt install kernel-package libncurses5-dev fakeroot wget bzip2 \
fakeroot kernel-wedge build-essential makedumpfile libncurses5 \
libpcre3 libpcre3-dev libpcrecpp0v5 libpcap0.8 libpcap0.8-dev \
libdumbnet1 libdumbnet-dev bison flex zlib1g-dev

Download & Compile

sudo su
cd /usr/local/src
wget https://www.snort.org/downloads/snort/daq-2.0.6.tar.gz
wget https://www.snort.org/downloads/snort/snort-2.9.9.0.tar.gz
cd /usr/local/src
tar xvfz daq-2.0.6.tar.gz
cd daq-2.0.6
./configure && make && sudo make install
cd /usr/local/src
tar xvfz snort-2.9.9.0.tar.gz
cd snort-2.9.9.0
./configure --enable-sourcefire && make && sudo make install

Load library

ldconfig

Download rules

cd /usr/local/src
wget https://www.snort.org/downloads/community/community-rules.tar.gz
wget https://www.snort.org/downloads/community/opensource.tar.gz
tar -xvfz community.tar.gz -C /etc/snort/rules


Load Library & check snort

ldconfig
snort -c

Referensi