Difference between revisions of "SNORT: Menjalankan sebagai daemon"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Gunakan switch -D Gunakan full path agar bisa di restart dengan signal SIGHUP /usr/local/bin/snort -d -h 192.168.1.0/24 \ -l /var/log/snortlogs -c /usr/local/etc/snort...")
 
Line 1: Line 1:
 
Gunakan switch -D
 
Gunakan switch -D
 +
Jika snort di instalasi dengan apt install
 +
 +
/usr/sbin/snort -d -h 192.168.0.0/24 -l /var/log/snort/ -c /etc/snort/snort.conf -s -D
 +
 
Gunakan full path agar bisa di restart dengan signal SIGHUP
 
Gunakan full path agar bisa di restart dengan signal SIGHUP
  
 
  /usr/local/bin/snort -d -h 192.168.1.0/24 \
 
  /usr/local/bin/snort -d -h 192.168.1.0/24 \
 
       -l /var/log/snortlogs -c /usr/local/etc/snort.conf -s -D
 
       -l /var/log/snortlogs -c /usr/local/etc/snort.conf -s -D

Revision as of 08:38, 31 March 2017

Gunakan switch -D Jika snort di instalasi dengan apt install

/usr/sbin/snort -d -h 192.168.0.0/24 -l /var/log/snort/ -c /etc/snort/snort.conf -s -D 

Gunakan full path agar bisa di restart dengan signal SIGHUP

/usr/local/bin/snort -d -h 192.168.1.0/24 \
     -l /var/log/snortlogs -c /usr/local/etc/snort.conf -s -D