2011-01-20

ubuntu查閱主機記錄

查閱想非法入侵的記錄(被拒)
more /var/log/auth.log |grep "refused"
查閱主機連線的記錄(允許)
more /var/log/auth.log |grep "Accepted"
當然您的主機在/etc/hosts.allow ,與/etc/hosts.deny
要事先設定好連線範圍 

沒有留言: