SNORT: Menjalankan sebagai daemon

From OnnoWiki
Revision as of 09:25, 31 March 2017 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Gunakan switch -D Jika snort di instalasi dengan apt install Logging ASCII

snort -c /etc/snort/snort.conf -l /var/log/snort/ -K ascii -D

atau

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

atau

/usr/sbin/snort -m 027 -D -d -l /var/log/snort \
    -u snort -g snort -c /etc/snort/snort.conf -S HOME_NET=[192.168.0.0/24] -i ens18


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