さくらVPSでdenyhosts

logwatchでログ監視してますが、結構いろいろなところからのアクセスがあります。
denyhostsはログを監視して、不正と思われるIPアドレスを/etc/deny.hostsに追加してくれるソフトです。

[shell]
$ sudo yum -y install denyhosts
…
Installed:
denyhosts.noarch 0:2.6-19.el6

Complete!
$ sudo service denyhosts start
Starting denyhosts: [ OK ]
$ sudo chkconfig denyhosts on
[/shell]

これでいいはず。

Author: rutoru

Find joy in everyday life. Be tolerant of others.

Leave a Reply

Your email address will not be published. Required fields are marked *