iptables

iptablesのログをとる

(1) iptables(/etc/sysconfig/iptables)で、ログを出力する設定を行う。iptables再起動。 # ++ iptablese Reject Log -A RH-Firewall-1-INPUT -j LOG --log-level debug --log-prefix "[iptables] "(2) rsyslog(/etc/rsyslog.conf)で、カーネルメッセージを…

iptables:REJECTのログ

iptablesでREJECTした通信のログを書き出す(Scientific Linux) 利用しているさくらVPSのプランがリニューアルしました。以前はVPS 512を契約していましたが、今回同じ料金でVPS 1Gが利用できるのでそちらに乗り換える事に。 契約してすぐにカスタムインスト…