Snort の起動と終了

インストールした Snort を起動して動作の確認を行います。

Snort の起動と終了

Snort は以下のように起動します。

# /usr/local/snort/bin/snort -u snort -g snort -c /usr/local/snort/etc/snort.conf -D

実行中のプロセスを表示させて Snort が起動しているかを確認します。

# ps ax | grep snort
7803 ?        Ss    0:00 /usr/local/snort/bin/snort -u snort -g snort -c /usr/local/snort/etc/snort.conf -D
7805 pts/2    S+     0:00 grep snort

Snort を停止する場合は kill コマンドを使って snort のプロセスを終了させます。

# kill 7803